pub fn method_responses(
        &self,
    ) -> std::option::Option<
        &std::collections::HashMap<std::string::String, crate::model::MethodResponse>,
    > {
        self.method_responses.as_ref()
    }
/// <p>Gets a method response associated with a given HTTP status code. </p>
/// <div class="remarks">
/// <p>The collection of method responses are encapsulated in a key-value map, where the key is a response's HTTP status code and the value is a <code>MethodResponse</code> resource that specifies the response returned to the caller from the back end through the integration response.</p>
/// <h4>Example: Get a 200 OK response of a GET method</h4>
/// <h5>Request</h5>
/// <p></p>
/// <pre><code>GET /restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200 HTTP/1.1
/// Content-Type: application/json
/// Host: apigateway.us-east-1.amazonaws.com
/// Content-Length: 117
/// X-Amz-Date: 20160613T215008Z
/// Authorization: AWS4-HMAC-SHA256 Credential={access_key_ID}/20160613/us-east-1/apigateway/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature={sig4_hash}</code></pre>
/// <h5>Response</h5>
/// <p>The successful response returns a <code>200 OK</code> status code and a payload similar to the following:</p>
/// <pre><code>{
/// "_links": {
/// "curies": {
/// "href": "https://docs.aws.amazon.com/apigateway/latest/developerguide/restapi-method-response-{rel}.html",
/// "name": "methodresponse",
/// "templated": true
/// },
/// "self": {
/// "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200",
/// "title": "200"
/// },
/// "methodresponse:delete": {
/// "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200"
/// },
/// "methodresponse:update": {
/// "href": "/restapis/uojnr9hd57/resources/0cjtch/methods/GET/responses/200"
/// }
/// },
/// "responseModels": {
/// "application/json": "Empty"
/// },
/// "responseParameters": {
/// "method.response.header.operator": false,
/// "method.response.header.operand_2": false,
/// "method.response.header.operand_1": false
/// },
/// "statusCode": "200"
/// }</code></pre>
/// <p></p>
/// </div>
/// <div class="seeAlso"> <a href="https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-method-response.html">AWS CLI</a>
/// </div>
Gets a method response associated with a given HTTP status code.
Gets a method response associated with a given HTTP status code .
pub fn method_responses(
        &self,
    ) -> std::option::Option<
        &std::collections::HashMap<std::string::String, crate::model::MethodResponse>,
    > {
        self.method_responses.as_ref()
    }
pub fn method_responses ( & self , ) -> std :: option :: Option < & std :: collections :: HashMap < std :: string :: String , crate :: model :: MethodResponse > , > { self . method_responses . as_ref ( ) }
<p>Gets a method response associated with a given HTTP status code.
<p > Gets a method response associated with a given HTTP status code .
&self
&self