AWS SDK for C++  1.9.16
AWS SDK for C++
DeleteGatewayResponseRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace APIGateway
16 {
17 namespace Model
18 {
19 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "DeleteGatewayResponse"; }
37 
38  Aws::String SerializePayload() const override;
39 
40 
44  inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
45 
49  inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
50 
54  inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
55 
59  inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); }
60 
64  inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
65 
69  inline DeleteGatewayResponseRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
70 
74  inline DeleteGatewayResponseRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
75 
79  inline DeleteGatewayResponseRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
80 
81 
90  inline const GatewayResponseType& GetResponseType() const{ return m_responseType; }
91 
100  inline bool ResponseTypeHasBeenSet() const { return m_responseTypeHasBeenSet; }
101 
110  inline void SetResponseType(const GatewayResponseType& value) { m_responseTypeHasBeenSet = true; m_responseType = value; }
111 
120  inline void SetResponseType(GatewayResponseType&& value) { m_responseTypeHasBeenSet = true; m_responseType = std::move(value); }
121 
130  inline DeleteGatewayResponseRequest& WithResponseType(const GatewayResponseType& value) { SetResponseType(value); return *this;}
131 
140  inline DeleteGatewayResponseRequest& WithResponseType(GatewayResponseType&& value) { SetResponseType(std::move(value)); return *this;}
141 
142  private:
143 
144  Aws::String m_restApiId;
145  bool m_restApiIdHasBeenSet;
146 
147  GatewayResponseType m_responseType;
148  bool m_responseTypeHasBeenSet;
149  };
150 
151 } // namespace Model
152 } // namespace APIGateway
153 } // namespace Aws
GatewayResponseType.h
Aws::APIGateway::Model::DeleteGatewayResponseRequest::WithResponseType
DeleteGatewayResponseRequest & WithResponseType(GatewayResponseType &&value)
Definition: DeleteGatewayResponseRequest.h:140
Aws::APIGateway::Model::DeleteGatewayResponseRequest::SetResponseType
void SetResponseType(const GatewayResponseType &value)
Definition: DeleteGatewayResponseRequest.h:110
Aws::APIGateway::Model::DeleteGatewayResponseRequest::SetRestApiId
void SetRestApiId(const Aws::String &value)
Definition: DeleteGatewayResponseRequest.h:54
Aws::APIGateway::Model::DeleteGatewayResponseRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::DeleteGatewayResponseRequest::SetRestApiId
void SetRestApiId(Aws::String &&value)
Definition: DeleteGatewayResponseRequest.h:59
Aws::APIGateway::Model::DeleteGatewayResponseRequest
Definition: DeleteGatewayResponseRequest.h:28
APIGateway_EXPORTS.h
Aws::APIGateway::Model::DeleteGatewayResponseRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteGatewayResponseRequest.h:36
Aws::APIGateway::Model::DeleteGatewayResponseRequest::SetResponseType
void SetResponseType(GatewayResponseType &&value)
Definition: DeleteGatewayResponseRequest.h:120
Aws::APIGateway::Model::DeleteGatewayResponseRequest::RestApiIdHasBeenSet
bool RestApiIdHasBeenSet() const
Definition: DeleteGatewayResponseRequest.h:49
Aws::APIGateway::Model::DeleteGatewayResponseRequest::ResponseTypeHasBeenSet
bool ResponseTypeHasBeenSet() const
Definition: DeleteGatewayResponseRequest.h:100
APIGatewayRequest.h
Aws::APIGateway::Model::DeleteGatewayResponseRequest::GetRestApiId
const Aws::String & GetRestApiId() const
Definition: DeleteGatewayResponseRequest.h:44
Aws::APIGateway::Model::DeleteGatewayResponseRequest::WithRestApiId
DeleteGatewayResponseRequest & WithRestApiId(const Aws::String &value)
Definition: DeleteGatewayResponseRequest.h:69
Aws::APIGateway::Model::DeleteGatewayResponseRequest::WithRestApiId
DeleteGatewayResponseRequest & WithRestApiId(const char *value)
Definition: DeleteGatewayResponseRequest.h:79
AWSString.h
Aws::APIGateway::Model::GatewayResponseType
GatewayResponseType
Definition: GatewayResponseType.h:17
Aws::APIGateway::Model::DeleteGatewayResponseRequest::WithResponseType
DeleteGatewayResponseRequest & WithResponseType(const GatewayResponseType &value)
Definition: DeleteGatewayResponseRequest.h:130
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::DeleteGatewayResponseRequest::SetRestApiId
void SetRestApiId(const char *value)
Definition: DeleteGatewayResponseRequest.h:64
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::DeleteGatewayResponseRequest::GetResponseType
const GatewayResponseType & GetResponseType() const
Definition: DeleteGatewayResponseRequest.h:90
Aws::APIGateway::APIGatewayRequest
Definition: APIGatewayRequest.h:18
Aws::APIGateway::Model::DeleteGatewayResponseRequest::DeleteGatewayResponseRequest
DeleteGatewayResponseRequest()
Aws::APIGateway::Model::DeleteGatewayResponseRequest::WithRestApiId
DeleteGatewayResponseRequest & WithRestApiId(Aws::String &&value)
Definition: DeleteGatewayResponseRequest.h:74