AWS SDK for C++  1.8.54
AWS SDK for C++
Public Member Functions | List of all members
Aws::APIGateway::Model::PutMethodResponseRequest Class Reference

#include <PutMethodResponseRequest.h>

+ Inheritance diagram for Aws::APIGateway::Model::PutMethodResponseRequest:

Public Member Functions

 PutMethodResponseRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetRestApiId () const
 
bool RestApiIdHasBeenSet () const
 
void SetRestApiId (const Aws::String &value)
 
void SetRestApiId (Aws::String &&value)
 
void SetRestApiId (const char *value)
 
PutMethodResponseRequestWithRestApiId (const Aws::String &value)
 
PutMethodResponseRequestWithRestApiId (Aws::String &&value)
 
PutMethodResponseRequestWithRestApiId (const char *value)
 
const Aws::StringGetResourceId () const
 
bool ResourceIdHasBeenSet () const
 
void SetResourceId (const Aws::String &value)
 
void SetResourceId (Aws::String &&value)
 
void SetResourceId (const char *value)
 
PutMethodResponseRequestWithResourceId (const Aws::String &value)
 
PutMethodResponseRequestWithResourceId (Aws::String &&value)
 
PutMethodResponseRequestWithResourceId (const char *value)
 
const Aws::StringGetHttpMethod () const
 
bool HttpMethodHasBeenSet () const
 
void SetHttpMethod (const Aws::String &value)
 
void SetHttpMethod (Aws::String &&value)
 
void SetHttpMethod (const char *value)
 
PutMethodResponseRequestWithHttpMethod (const Aws::String &value)
 
PutMethodResponseRequestWithHttpMethod (Aws::String &&value)
 
PutMethodResponseRequestWithHttpMethod (const char *value)
 
const Aws::StringGetStatusCode () const
 
bool StatusCodeHasBeenSet () const
 
void SetStatusCode (const Aws::String &value)
 
void SetStatusCode (Aws::String &&value)
 
void SetStatusCode (const char *value)
 
PutMethodResponseRequestWithStatusCode (const Aws::String &value)
 
PutMethodResponseRequestWithStatusCode (Aws::String &&value)
 
PutMethodResponseRequestWithStatusCode (const char *value)
 
const Aws::Map< Aws::String, bool > & GetResponseParameters () const
 
bool ResponseParametersHasBeenSet () const
 
void SetResponseParameters (const Aws::Map< Aws::String, bool > &value)
 
void SetResponseParameters (Aws::Map< Aws::String, bool > &&value)
 
PutMethodResponseRequestWithResponseParameters (const Aws::Map< Aws::String, bool > &value)
 
PutMethodResponseRequestWithResponseParameters (Aws::Map< Aws::String, bool > &&value)
 
PutMethodResponseRequestAddResponseParameters (const Aws::String &key, bool value)
 
PutMethodResponseRequestAddResponseParameters (Aws::String &&key, bool value)
 
PutMethodResponseRequestAddResponseParameters (const char *key, bool value)
 
const Aws::Map< Aws::String, Aws::String > & GetResponseModels () const
 
bool ResponseModelsHasBeenSet () const
 
void SetResponseModels (const Aws::Map< Aws::String, Aws::String > &value)
 
void SetResponseModels (Aws::Map< Aws::String, Aws::String > &&value)
 
PutMethodResponseRequestWithResponseModels (const Aws::Map< Aws::String, Aws::String > &value)
 
PutMethodResponseRequestWithResponseModels (Aws::Map< Aws::String, Aws::String > &&value)
 
PutMethodResponseRequestAddResponseModels (const Aws::String &key, const Aws::String &value)
 
PutMethodResponseRequestAddResponseModels (Aws::String &&key, const Aws::String &value)
 
PutMethodResponseRequestAddResponseModels (const Aws::String &key, Aws::String &&value)
 
PutMethodResponseRequestAddResponseModels (Aws::String &&key, Aws::String &&value)
 
PutMethodResponseRequestAddResponseModels (const char *key, Aws::String &&value)
 
PutMethodResponseRequestAddResponseModels (Aws::String &&key, const char *value)
 
PutMethodResponseRequestAddResponseModels (const char *key, const char *value)
 
- Public Member Functions inherited from Aws::APIGateway::APIGatewayRequest
virtual ~APIGatewayRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::APIGateway::APIGatewayRequest
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 
- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Request to add a MethodResponse to an existing Method resource.

See Also:

AWS API Reference

Definition at line 26 of file PutMethodResponseRequest.h.

Constructor & Destructor Documentation

◆ PutMethodResponseRequest()

Aws::APIGateway::Model::PutMethodResponseRequest::PutMethodResponseRequest ( )

Member Function Documentation

◆ AddResponseModels() [1/7]

PutMethodResponseRequest& Aws::APIGateway::Model::PutMethodResponseRequest::AddResponseModels ( const Aws::String key,
const Aws::String value 
)
inline

Specifies the Model resources used for the response's content type. Response models are represented as a key/value map, with a content type as the key and a Model name as the value.

Definition at line 414 of file PutMethodResponseRequest.h.

◆ AddResponseModels() [2/7]

PutMethodResponseRequest& Aws::APIGateway::Model::PutMethodResponseRequest::AddResponseModels ( Aws::String &&  key,
const Aws::String value 
)
inline

Specifies the Model resources used for the response's content type. Response models are represented as a key/value map, with a content type as the key and a Model name as the value.

Definition at line 421 of file PutMethodResponseRequest.h.

◆ AddResponseModels() [3/7]

PutMethodResponseRequest& Aws::APIGateway::Model::PutMethodResponseRequest::AddResponseModels ( const Aws::String key,
Aws::String &&  value 
)
inline

Specifies the Model resources used for the response's content type. Response models are represented as a key/value map, with a content type as the key and a Model name as the value.

Definition at line 428 of file PutMethodResponseRequest.h.

◆ AddResponseModels() [4/7]

PutMethodResponseRequest& Aws::APIGateway::Model::PutMethodResponseRequest::AddResponseModels ( Aws::String &&  key,
Aws::String &&  value 
)
inline

Specifies the Model resources used for the response's content type. Response models are represented as a key/value map, with a content type as the key and a Model name as the value.

Definition at line 435 of file PutMethodResponseRequest.h.

◆ AddResponseModels() [5/7]

PutMethodResponseRequest& Aws::APIGateway::Model::PutMethodResponseRequest::AddResponseModels ( const char *  key,
Aws::String &&  value 
)
inline

Specifies the Model resources used for the response's content type. Response models are represented as a key/value map, with a content type as the key and a Model name as the value.

Definition at line 442 of file PutMethodResponseRequest.h.

◆ AddResponseModels() [6/7]

PutMethodResponseRequest& Aws::APIGateway::Model::PutMethodResponseRequest::AddResponseModels ( Aws::String &&  key,
const char *  value 
)
inline

Specifies the Model resources used for the response's content type. Response models are represented as a key/value map, with a content type as the key and a Model name as the value.

Definition at line 449 of file PutMethodResponseRequest.h.

◆ AddResponseModels() [7/7]

PutMethodResponseRequest& Aws::APIGateway::Model::PutMethodResponseRequest::AddResponseModels ( const char *  key,
const char *  value 
)
inline

Specifies the Model resources used for the response's content type. Response models are represented as a key/value map, with a content type as the key and a Model name as the value.

Definition at line 456 of file PutMethodResponseRequest.h.

◆ AddResponseParameters() [1/3]

PutMethodResponseRequest& Aws::APIGateway::Model::PutMethodResponseRequest::AddResponseParameters ( const Aws::String key,
bool  value 
)
inline

A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header name and the associated value is a Boolean flag indicating whether the method response parameter is required or not. The method response header names must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The response parameter names defined here are available in the integration response to be mapped from an integration response header expressed in integration.response.header.{name}, a static value enclosed within a pair of single quotes (e.g., 'application/json'), or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}, where JSON-expression is a valid JSON expression without the $ prefix.)

Definition at line 328 of file PutMethodResponseRequest.h.

◆ AddResponseParameters() [2/3]

PutMethodResponseRequest& Aws::APIGateway::Model::PutMethodResponseRequest::AddResponseParameters ( Aws::String &&  key,
bool  value 
)
inline

A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header name and the associated value is a Boolean flag indicating whether the method response parameter is required or not. The method response header names must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The response parameter names defined here are available in the integration response to be mapped from an integration response header expressed in integration.response.header.{name}, a static value enclosed within a pair of single quotes (e.g., 'application/json'), or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}, where JSON-expression is a valid JSON expression without the $ prefix.)

Definition at line 346 of file PutMethodResponseRequest.h.

◆ AddResponseParameters() [3/3]

PutMethodResponseRequest& Aws::APIGateway::Model::PutMethodResponseRequest::AddResponseParameters ( const char *  key,
bool  value 
)
inline

A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header name and the associated value is a Boolean flag indicating whether the method response parameter is required or not. The method response header names must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The response parameter names defined here are available in the integration response to be mapped from an integration response header expressed in integration.response.header.{name}, a static value enclosed within a pair of single quotes (e.g., 'application/json'), or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}, where JSON-expression is a valid JSON expression without the $ prefix.)

Definition at line 364 of file PutMethodResponseRequest.h.

◆ GetHttpMethod()

const Aws::String& Aws::APIGateway::Model::PutMethodResponseRequest::GetHttpMethod ( ) const
inline

[Required] The HTTP verb of the Method resource.

Definition at line 125 of file PutMethodResponseRequest.h.

◆ GetResourceId()

const Aws::String& Aws::APIGateway::Model::PutMethodResponseRequest::GetResourceId ( ) const
inline

[Required] The Resource identifier for the Method resource.

Definition at line 84 of file PutMethodResponseRequest.h.

◆ GetResponseModels()

const Aws::Map<Aws::String, Aws::String>& Aws::APIGateway::Model::PutMethodResponseRequest::GetResponseModels ( ) const
inline

Specifies the Model resources used for the response's content type. Response models are represented as a key/value map, with a content type as the key and a Model name as the value.

Definition at line 372 of file PutMethodResponseRequest.h.

◆ GetResponseParameters()

const Aws::Map<Aws::String, bool>& Aws::APIGateway::Model::PutMethodResponseRequest::GetResponseParameters ( ) const
inline

A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header name and the associated value is a Boolean flag indicating whether the method response parameter is required or not. The method response header names must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The response parameter names defined here are available in the integration response to be mapped from an integration response header expressed in integration.response.header.{name}, a static value enclosed within a pair of single quotes (e.g., 'application/json'), or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}, where JSON-expression is a valid JSON expression without the $ prefix.)

Definition at line 220 of file PutMethodResponseRequest.h.

◆ GetRestApiId()

const Aws::String& Aws::APIGateway::Model::PutMethodResponseRequest::GetRestApiId ( ) const
inline

[Required] The string identifier of the associated RestApi.

Definition at line 43 of file PutMethodResponseRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::APIGateway::Model::PutMethodResponseRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 35 of file PutMethodResponseRequest.h.

◆ GetStatusCode()

const Aws::String& Aws::APIGateway::Model::PutMethodResponseRequest::GetStatusCode ( ) const
inline

[Required] The method response's status code.

Definition at line 166 of file PutMethodResponseRequest.h.

◆ HttpMethodHasBeenSet()

bool Aws::APIGateway::Model::PutMethodResponseRequest::HttpMethodHasBeenSet ( ) const
inline

[Required] The HTTP verb of the Method resource.

Definition at line 130 of file PutMethodResponseRequest.h.

◆ ResourceIdHasBeenSet()

bool Aws::APIGateway::Model::PutMethodResponseRequest::ResourceIdHasBeenSet ( ) const
inline

[Required] The Resource identifier for the Method resource.

Definition at line 89 of file PutMethodResponseRequest.h.

◆ ResponseModelsHasBeenSet()

bool Aws::APIGateway::Model::PutMethodResponseRequest::ResponseModelsHasBeenSet ( ) const
inline

Specifies the Model resources used for the response's content type. Response models are represented as a key/value map, with a content type as the key and a Model name as the value.

Definition at line 379 of file PutMethodResponseRequest.h.

◆ ResponseParametersHasBeenSet()

bool Aws::APIGateway::Model::PutMethodResponseRequest::ResponseParametersHasBeenSet ( ) const
inline

A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header name and the associated value is a Boolean flag indicating whether the method response parameter is required or not. The method response header names must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The response parameter names defined here are available in the integration response to be mapped from an integration response header expressed in integration.response.header.{name}, a static value enclosed within a pair of single quotes (e.g., 'application/json'), or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}, where JSON-expression is a valid JSON expression without the $ prefix.)

Definition at line 238 of file PutMethodResponseRequest.h.

◆ RestApiIdHasBeenSet()

bool Aws::APIGateway::Model::PutMethodResponseRequest::RestApiIdHasBeenSet ( ) const
inline

[Required] The string identifier of the associated RestApi.

Definition at line 48 of file PutMethodResponseRequest.h.

◆ SerializePayload()

Aws::String Aws::APIGateway::Model::PutMethodResponseRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetHttpMethod() [1/3]

void Aws::APIGateway::Model::PutMethodResponseRequest::SetHttpMethod ( const Aws::String value)
inline

[Required] The HTTP verb of the Method resource.

Definition at line 135 of file PutMethodResponseRequest.h.

◆ SetHttpMethod() [2/3]

void Aws::APIGateway::Model::PutMethodResponseRequest::SetHttpMethod ( Aws::String &&  value)
inline

[Required] The HTTP verb of the Method resource.

Definition at line 140 of file PutMethodResponseRequest.h.

◆ SetHttpMethod() [3/3]

void Aws::APIGateway::Model::PutMethodResponseRequest::SetHttpMethod ( const char *  value)
inline

[Required] The HTTP verb of the Method resource.

Definition at line 145 of file PutMethodResponseRequest.h.

◆ SetResourceId() [1/3]

void Aws::APIGateway::Model::PutMethodResponseRequest::SetResourceId ( const Aws::String value)
inline

[Required] The Resource identifier for the Method resource.

Definition at line 94 of file PutMethodResponseRequest.h.

◆ SetResourceId() [2/3]

void Aws::APIGateway::Model::PutMethodResponseRequest::SetResourceId ( Aws::String &&  value)
inline

[Required] The Resource identifier for the Method resource.

Definition at line 99 of file PutMethodResponseRequest.h.

◆ SetResourceId() [3/3]

void Aws::APIGateway::Model::PutMethodResponseRequest::SetResourceId ( const char *  value)
inline

[Required] The Resource identifier for the Method resource.

Definition at line 104 of file PutMethodResponseRequest.h.

◆ SetResponseModels() [1/2]

void Aws::APIGateway::Model::PutMethodResponseRequest::SetResponseModels ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

Specifies the Model resources used for the response's content type. Response models are represented as a key/value map, with a content type as the key and a Model name as the value.

Definition at line 386 of file PutMethodResponseRequest.h.

◆ SetResponseModels() [2/2]

void Aws::APIGateway::Model::PutMethodResponseRequest::SetResponseModels ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

Specifies the Model resources used for the response's content type. Response models are represented as a key/value map, with a content type as the key and a Model name as the value.

Definition at line 393 of file PutMethodResponseRequest.h.

◆ SetResponseParameters() [1/2]

void Aws::APIGateway::Model::PutMethodResponseRequest::SetResponseParameters ( const Aws::Map< Aws::String, bool > &  value)
inline

A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header name and the associated value is a Boolean flag indicating whether the method response parameter is required or not. The method response header names must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The response parameter names defined here are available in the integration response to be mapped from an integration response header expressed in integration.response.header.{name}, a static value enclosed within a pair of single quotes (e.g., 'application/json'), or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}, where JSON-expression is a valid JSON expression without the $ prefix.)

Definition at line 256 of file PutMethodResponseRequest.h.

◆ SetResponseParameters() [2/2]

void Aws::APIGateway::Model::PutMethodResponseRequest::SetResponseParameters ( Aws::Map< Aws::String, bool > &&  value)
inline

A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header name and the associated value is a Boolean flag indicating whether the method response parameter is required or not. The method response header names must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The response parameter names defined here are available in the integration response to be mapped from an integration response header expressed in integration.response.header.{name}, a static value enclosed within a pair of single quotes (e.g., 'application/json'), or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}, where JSON-expression is a valid JSON expression without the $ prefix.)

Definition at line 274 of file PutMethodResponseRequest.h.

◆ SetRestApiId() [1/3]

void Aws::APIGateway::Model::PutMethodResponseRequest::SetRestApiId ( const Aws::String value)
inline

[Required] The string identifier of the associated RestApi.

Definition at line 53 of file PutMethodResponseRequest.h.

◆ SetRestApiId() [2/3]

void Aws::APIGateway::Model::PutMethodResponseRequest::SetRestApiId ( Aws::String &&  value)
inline

[Required] The string identifier of the associated RestApi.

Definition at line 58 of file PutMethodResponseRequest.h.

◆ SetRestApiId() [3/3]

void Aws::APIGateway::Model::PutMethodResponseRequest::SetRestApiId ( const char *  value)
inline

[Required] The string identifier of the associated RestApi.

Definition at line 63 of file PutMethodResponseRequest.h.

◆ SetStatusCode() [1/3]

void Aws::APIGateway::Model::PutMethodResponseRequest::SetStatusCode ( const Aws::String value)
inline

[Required] The method response's status code.

Definition at line 176 of file PutMethodResponseRequest.h.

◆ SetStatusCode() [2/3]

void Aws::APIGateway::Model::PutMethodResponseRequest::SetStatusCode ( Aws::String &&  value)
inline

[Required] The method response's status code.

Definition at line 181 of file PutMethodResponseRequest.h.

◆ SetStatusCode() [3/3]

void Aws::APIGateway::Model::PutMethodResponseRequest::SetStatusCode ( const char *  value)
inline

[Required] The method response's status code.

Definition at line 186 of file PutMethodResponseRequest.h.

◆ StatusCodeHasBeenSet()

bool Aws::APIGateway::Model::PutMethodResponseRequest::StatusCodeHasBeenSet ( ) const
inline

[Required] The method response's status code.

Definition at line 171 of file PutMethodResponseRequest.h.

◆ WithHttpMethod() [1/3]

PutMethodResponseRequest& Aws::APIGateway::Model::PutMethodResponseRequest::WithHttpMethod ( const Aws::String value)
inline

[Required] The HTTP verb of the Method resource.

Definition at line 150 of file PutMethodResponseRequest.h.

◆ WithHttpMethod() [2/3]

PutMethodResponseRequest& Aws::APIGateway::Model::PutMethodResponseRequest::WithHttpMethod ( Aws::String &&  value)
inline

[Required] The HTTP verb of the Method resource.

Definition at line 155 of file PutMethodResponseRequest.h.

◆ WithHttpMethod() [3/3]

PutMethodResponseRequest& Aws::APIGateway::Model::PutMethodResponseRequest::WithHttpMethod ( const char *  value)
inline

[Required] The HTTP verb of the Method resource.

Definition at line 160 of file PutMethodResponseRequest.h.

◆ WithResourceId() [1/3]

PutMethodResponseRequest& Aws::APIGateway::Model::PutMethodResponseRequest::WithResourceId ( const Aws::String value)
inline

[Required] The Resource identifier for the Method resource.

Definition at line 109 of file PutMethodResponseRequest.h.

◆ WithResourceId() [2/3]

PutMethodResponseRequest& Aws::APIGateway::Model::PutMethodResponseRequest::WithResourceId ( Aws::String &&  value)
inline

[Required] The Resource identifier for the Method resource.

Definition at line 114 of file PutMethodResponseRequest.h.

◆ WithResourceId() [3/3]

PutMethodResponseRequest& Aws::APIGateway::Model::PutMethodResponseRequest::WithResourceId ( const char *  value)
inline

[Required] The Resource identifier for the Method resource.

Definition at line 119 of file PutMethodResponseRequest.h.

◆ WithResponseModels() [1/2]

PutMethodResponseRequest& Aws::APIGateway::Model::PutMethodResponseRequest::WithResponseModels ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

Specifies the Model resources used for the response's content type. Response models are represented as a key/value map, with a content type as the key and a Model name as the value.

Definition at line 400 of file PutMethodResponseRequest.h.

◆ WithResponseModels() [2/2]

PutMethodResponseRequest& Aws::APIGateway::Model::PutMethodResponseRequest::WithResponseModels ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

Specifies the Model resources used for the response's content type. Response models are represented as a key/value map, with a content type as the key and a Model name as the value.

Definition at line 407 of file PutMethodResponseRequest.h.

◆ WithResponseParameters() [1/2]

PutMethodResponseRequest& Aws::APIGateway::Model::PutMethodResponseRequest::WithResponseParameters ( const Aws::Map< Aws::String, bool > &  value)
inline

A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header name and the associated value is a Boolean flag indicating whether the method response parameter is required or not. The method response header names must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The response parameter names defined here are available in the integration response to be mapped from an integration response header expressed in integration.response.header.{name}, a static value enclosed within a pair of single quotes (e.g., 'application/json'), or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}, where JSON-expression is a valid JSON expression without the $ prefix.)

Definition at line 292 of file PutMethodResponseRequest.h.

◆ WithResponseParameters() [2/2]

PutMethodResponseRequest& Aws::APIGateway::Model::PutMethodResponseRequest::WithResponseParameters ( Aws::Map< Aws::String, bool > &&  value)
inline

A key-value map specifying required or optional response parameters that API Gateway can send back to the caller. A key defines a method response header name and the associated value is a Boolean flag indicating whether the method response parameter is required or not. The method response header names must match the pattern of method.response.header.{name}, where name is a valid and unique header name. The response parameter names defined here are available in the integration response to be mapped from an integration response header expressed in integration.response.header.{name}, a static value enclosed within a pair of single quotes (e.g., 'application/json'), or a JSON expression from the back-end response payload in the form of integration.response.body.{JSON-expression}, where JSON-expression is a valid JSON expression without the $ prefix.)

Definition at line 310 of file PutMethodResponseRequest.h.

◆ WithRestApiId() [1/3]

PutMethodResponseRequest& Aws::APIGateway::Model::PutMethodResponseRequest::WithRestApiId ( const Aws::String value)
inline

[Required] The string identifier of the associated RestApi.

Definition at line 68 of file PutMethodResponseRequest.h.

◆ WithRestApiId() [2/3]

PutMethodResponseRequest& Aws::APIGateway::Model::PutMethodResponseRequest::WithRestApiId ( Aws::String &&  value)
inline

[Required] The string identifier of the associated RestApi.

Definition at line 73 of file PutMethodResponseRequest.h.

◆ WithRestApiId() [3/3]

PutMethodResponseRequest& Aws::APIGateway::Model::PutMethodResponseRequest::WithRestApiId ( const char *  value)
inline

[Required] The string identifier of the associated RestApi.

Definition at line 78 of file PutMethodResponseRequest.h.

◆ WithStatusCode() [1/3]

PutMethodResponseRequest& Aws::APIGateway::Model::PutMethodResponseRequest::WithStatusCode ( const Aws::String value)
inline

[Required] The method response's status code.

Definition at line 191 of file PutMethodResponseRequest.h.

◆ WithStatusCode() [2/3]

PutMethodResponseRequest& Aws::APIGateway::Model::PutMethodResponseRequest::WithStatusCode ( Aws::String &&  value)
inline

[Required] The method response's status code.

Definition at line 196 of file PutMethodResponseRequest.h.

◆ WithStatusCode() [3/3]

PutMethodResponseRequest& Aws::APIGateway::Model::PutMethodResponseRequest::WithStatusCode ( const char *  value)
inline

[Required] The method response's status code.

Definition at line 201 of file PutMethodResponseRequest.h.


The documentation for this class was generated from the following file: