AWS SDK for C++  1.9.20
AWS SDK for C++
GetDeploymentRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace APIGateway
20 {
21 namespace Model
22 {
23 
31  {
32  public:
34 
35  // Service request name is the Operation name which will send this request out,
36  // each operation should has unique request name, so that we can get operation's name from this request.
37  // Note: this is not true for response, multiple operations may have the same response name,
38  // so we can not get operation's name from response.
39  inline virtual const char* GetServiceRequestName() const override { return "GetDeployment"; }
40 
41  Aws::String SerializePayload() const override;
42 
43  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
44 
45 
49  inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
50 
54  inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
55 
59  inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
60 
64  inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); }
65 
69  inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
70 
74  inline GetDeploymentRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
75 
79  inline GetDeploymentRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
80 
84  inline GetDeploymentRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
85 
86 
91  inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; }
92 
97  inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
98 
103  inline void SetDeploymentId(const Aws::String& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; }
104 
109  inline void SetDeploymentId(Aws::String&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::move(value); }
110 
115  inline void SetDeploymentId(const char* value) { m_deploymentIdHasBeenSet = true; m_deploymentId.assign(value); }
116 
121  inline GetDeploymentRequest& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;}
122 
127  inline GetDeploymentRequest& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;}
128 
133  inline GetDeploymentRequest& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;}
134 
135 
148  inline const Aws::Vector<Aws::String>& GetEmbed() const{ return m_embed; }
149 
162  inline bool EmbedHasBeenSet() const { return m_embedHasBeenSet; }
163 
176  inline void SetEmbed(const Aws::Vector<Aws::String>& value) { m_embedHasBeenSet = true; m_embed = value; }
177 
190  inline void SetEmbed(Aws::Vector<Aws::String>&& value) { m_embedHasBeenSet = true; m_embed = std::move(value); }
191 
204  inline GetDeploymentRequest& WithEmbed(const Aws::Vector<Aws::String>& value) { SetEmbed(value); return *this;}
205 
218  inline GetDeploymentRequest& WithEmbed(Aws::Vector<Aws::String>&& value) { SetEmbed(std::move(value)); return *this;}
219 
232  inline GetDeploymentRequest& AddEmbed(const Aws::String& value) { m_embedHasBeenSet = true; m_embed.push_back(value); return *this; }
233 
246  inline GetDeploymentRequest& AddEmbed(Aws::String&& value) { m_embedHasBeenSet = true; m_embed.push_back(std::move(value)); return *this; }
247 
260  inline GetDeploymentRequest& AddEmbed(const char* value) { m_embedHasBeenSet = true; m_embed.push_back(value); return *this; }
261 
262  private:
263 
264  Aws::String m_restApiId;
265  bool m_restApiIdHasBeenSet;
266 
267  Aws::String m_deploymentId;
268  bool m_deploymentIdHasBeenSet;
269 
270  Aws::Vector<Aws::String> m_embed;
271  bool m_embedHasBeenSet;
272  };
273 
274 } // namespace Model
275 } // namespace APIGateway
276 } // namespace Aws
Aws::APIGateway::Model::GetDeploymentRequest::SetDeploymentId
void SetDeploymentId(Aws::String &&value)
Definition: GetDeploymentRequest.h:109
Aws::Http::URI
Definition: URI.h:32
Aws::APIGateway::Model::GetDeploymentRequest::RestApiIdHasBeenSet
bool RestApiIdHasBeenSet() const
Definition: GetDeploymentRequest.h:54
Aws::APIGateway::Model::GetDeploymentRequest::SetRestApiId
void SetRestApiId(const char *value)
Definition: GetDeploymentRequest.h:69
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
Aws::APIGateway::Model::GetDeploymentRequest::SetDeploymentId
void SetDeploymentId(const char *value)
Definition: GetDeploymentRequest.h:115
Aws::APIGateway::Model::GetDeploymentRequest::SetRestApiId
void SetRestApiId(Aws::String &&value)
Definition: GetDeploymentRequest.h:64
Aws::APIGateway::Model::GetDeploymentRequest::GetEmbed
const Aws::Vector< Aws::String > & GetEmbed() const
Definition: GetDeploymentRequest.h:148
Aws::APIGateway::Model::GetDeploymentRequest::WithRestApiId
GetDeploymentRequest & WithRestApiId(Aws::String &&value)
Definition: GetDeploymentRequest.h:79
APIGateway_EXPORTS.h
Aws::APIGateway::Model::GetDeploymentRequest::WithRestApiId
GetDeploymentRequest & WithRestApiId(const char *value)
Definition: GetDeploymentRequest.h:84
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::APIGateway::Model::GetDeploymentRequest::AddEmbed
GetDeploymentRequest & AddEmbed(const Aws::String &value)
Definition: GetDeploymentRequest.h:232
AWSVector.h
Aws::APIGateway::Model::GetDeploymentRequest
Definition: GetDeploymentRequest.h:31
APIGatewayRequest.h
Aws::APIGateway::Model::GetDeploymentRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::APIGateway::Model::GetDeploymentRequest::WithDeploymentId
GetDeploymentRequest & WithDeploymentId(const char *value)
Definition: GetDeploymentRequest.h:133
Aws::APIGateway::Model::GetDeploymentRequest::WithDeploymentId
GetDeploymentRequest & WithDeploymentId(Aws::String &&value)
Definition: GetDeploymentRequest.h:127
Aws::APIGateway::Model::GetDeploymentRequest::SetDeploymentId
void SetDeploymentId(const Aws::String &value)
Definition: GetDeploymentRequest.h:103
Aws::APIGateway::Model::GetDeploymentRequest::AddEmbed
GetDeploymentRequest & AddEmbed(Aws::String &&value)
Definition: GetDeploymentRequest.h:246
Aws::APIGateway::Model::GetDeploymentRequest::DeploymentIdHasBeenSet
bool DeploymentIdHasBeenSet() const
Definition: GetDeploymentRequest.h:97
Aws::APIGateway::Model::GetDeploymentRequest::AddEmbed
GetDeploymentRequest & AddEmbed(const char *value)
Definition: GetDeploymentRequest.h:260
Aws::APIGateway::Model::GetDeploymentRequest::WithRestApiId
GetDeploymentRequest & WithRestApiId(const Aws::String &value)
Definition: GetDeploymentRequest.h:74
AWSString.h
Aws::APIGateway::Model::GetDeploymentRequest::WithEmbed
GetDeploymentRequest & WithEmbed(const Aws::Vector< Aws::String > &value)
Definition: GetDeploymentRequest.h:204
Aws::APIGateway::Model::GetDeploymentRequest::GetDeploymentId
const Aws::String & GetDeploymentId() const
Definition: GetDeploymentRequest.h:91
Aws::APIGateway::Model::GetDeploymentRequest::EmbedHasBeenSet
bool EmbedHasBeenSet() const
Definition: GetDeploymentRequest.h:162
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GetDeploymentRequest::GetRestApiId
const Aws::String & GetRestApiId() const
Definition: GetDeploymentRequest.h:49
Aws::APIGateway::Model::GetDeploymentRequest::SetEmbed
void SetEmbed(Aws::Vector< Aws::String > &&value)
Definition: GetDeploymentRequest.h:190
Aws::APIGateway::Model::GetDeploymentRequest::SetRestApiId
void SetRestApiId(const Aws::String &value)
Definition: GetDeploymentRequest.h:59
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::Model::GetDeploymentRequest::WithDeploymentId
GetDeploymentRequest & WithDeploymentId(const Aws::String &value)
Definition: GetDeploymentRequest.h:121
Aws::APIGateway::Model::GetDeploymentRequest::GetDeploymentRequest
GetDeploymentRequest()
Aws::APIGateway::Model::GetDeploymentRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::APIGateway::Model::GetDeploymentRequest::SetEmbed
void SetEmbed(const Aws::Vector< Aws::String > &value)
Definition: GetDeploymentRequest.h:176
Aws::APIGateway::APIGatewayRequest
Definition: APIGatewayRequest.h:18
Aws::APIGateway::Model::GetDeploymentRequest::WithEmbed
GetDeploymentRequest & WithEmbed(Aws::Vector< Aws::String > &&value)
Definition: GetDeploymentRequest.h:218
Aws::APIGateway::Model::GetDeploymentRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetDeploymentRequest.h:39