AWS SDK for C++  1.9.14
AWS SDK for C++
GetStagesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace APIGateway
19 {
20 namespace Model
21 {
22 
30  {
31  public:
33 
34  // Service request name is the Operation name which will send this request out,
35  // each operation should has unique request name, so that we can get operation's name from this request.
36  // Note: this is not true for response, multiple operations may have the same response name,
37  // so we can not get operation's name from response.
38  inline virtual const char* GetServiceRequestName() const override { return "GetStages"; }
39 
40  Aws::String SerializePayload() const override;
41 
42  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
43 
44 
48  inline const Aws::String& GetRestApiId() const{ return m_restApiId; }
49 
53  inline bool RestApiIdHasBeenSet() const { return m_restApiIdHasBeenSet; }
54 
58  inline void SetRestApiId(const Aws::String& value) { m_restApiIdHasBeenSet = true; m_restApiId = value; }
59 
63  inline void SetRestApiId(Aws::String&& value) { m_restApiIdHasBeenSet = true; m_restApiId = std::move(value); }
64 
68  inline void SetRestApiId(const char* value) { m_restApiIdHasBeenSet = true; m_restApiId.assign(value); }
69 
73  inline GetStagesRequest& WithRestApiId(const Aws::String& value) { SetRestApiId(value); return *this;}
74 
78  inline GetStagesRequest& WithRestApiId(Aws::String&& value) { SetRestApiId(std::move(value)); return *this;}
79 
83  inline GetStagesRequest& WithRestApiId(const char* value) { SetRestApiId(value); return *this;}
84 
85 
89  inline const Aws::String& GetDeploymentId() const{ return m_deploymentId; }
90 
94  inline bool DeploymentIdHasBeenSet() const { return m_deploymentIdHasBeenSet; }
95 
99  inline void SetDeploymentId(const Aws::String& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = value; }
100 
104  inline void SetDeploymentId(Aws::String&& value) { m_deploymentIdHasBeenSet = true; m_deploymentId = std::move(value); }
105 
109  inline void SetDeploymentId(const char* value) { m_deploymentIdHasBeenSet = true; m_deploymentId.assign(value); }
110 
114  inline GetStagesRequest& WithDeploymentId(const Aws::String& value) { SetDeploymentId(value); return *this;}
115 
119  inline GetStagesRequest& WithDeploymentId(Aws::String&& value) { SetDeploymentId(std::move(value)); return *this;}
120 
124  inline GetStagesRequest& WithDeploymentId(const char* value) { SetDeploymentId(value); return *this;}
125 
126  private:
127 
128  Aws::String m_restApiId;
129  bool m_restApiIdHasBeenSet;
130 
131  Aws::String m_deploymentId;
132  bool m_deploymentIdHasBeenSet;
133  };
134 
135 } // namespace Model
136 } // namespace APIGateway
137 } // namespace Aws
Aws::APIGateway::Model::GetStagesRequest::GetStagesRequest
GetStagesRequest()
Aws::APIGateway::Model::GetStagesRequest::WithRestApiId
GetStagesRequest & WithRestApiId(const char *value)
Definition: GetStagesRequest.h:83
Aws::Http::URI
Definition: URI.h:32
Aws::APIGateway::Model::GetStagesRequest::WithDeploymentId
GetStagesRequest & WithDeploymentId(Aws::String &&value)
Definition: GetStagesRequest.h:119
AWS_APIGATEWAY_API
#define AWS_APIGATEWAY_API
Definition: APIGateway_EXPORTS.h:28
APIGateway_EXPORTS.h
Aws::APIGateway::Model::GetStagesRequest::WithDeploymentId
GetStagesRequest & WithDeploymentId(const char *value)
Definition: GetStagesRequest.h:124
APIGatewayRequest.h
Aws::APIGateway::Model::GetStagesRequest::SetRestApiId
void SetRestApiId(const char *value)
Definition: GetStagesRequest.h:68
Aws::APIGateway::Model::GetStagesRequest::SetDeploymentId
void SetDeploymentId(const Aws::String &value)
Definition: GetStagesRequest.h:99
Aws::APIGateway::Model::GetStagesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetStagesRequest.h:38
Aws::APIGateway::Model::GetStagesRequest::SetRestApiId
void SetRestApiId(Aws::String &&value)
Definition: GetStagesRequest.h:63
Aws::APIGateway::Model::GetStagesRequest::SetDeploymentId
void SetDeploymentId(const char *value)
Definition: GetStagesRequest.h:109
Aws::APIGateway::Model::GetStagesRequest::SetRestApiId
void SetRestApiId(const Aws::String &value)
Definition: GetStagesRequest.h:58
Aws::APIGateway::Model::GetStagesRequest::GetRestApiId
const Aws::String & GetRestApiId() const
Definition: GetStagesRequest.h:48
AWSString.h
Aws::APIGateway::Model::GetStagesRequest::GetDeploymentId
const Aws::String & GetDeploymentId() const
Definition: GetStagesRequest.h:89
Aws::APIGateway::Model::GetStagesRequest::WithRestApiId
GetStagesRequest & WithRestApiId(Aws::String &&value)
Definition: GetStagesRequest.h:78
Aws::APIGateway::Model::GetStagesRequest
Definition: GetStagesRequest.h:30
Aws::APIGateway::Model::GetStagesRequest::WithDeploymentId
GetStagesRequest & WithDeploymentId(const Aws::String &value)
Definition: GetStagesRequest.h:114
Aws
Definition: AccessManagementClient.h:15
Aws::APIGateway::Model::GetStagesRequest::DeploymentIdHasBeenSet
bool DeploymentIdHasBeenSet() const
Definition: GetStagesRequest.h:94
Aws::APIGateway::Model::GetStagesRequest::SetDeploymentId
void SetDeploymentId(Aws::String &&value)
Definition: GetStagesRequest.h:104
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::APIGateway::APIGatewayRequest
Definition: APIGatewayRequest.h:18
Aws::APIGateway::Model::GetStagesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::APIGateway::Model::GetStagesRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::APIGateway::Model::GetStagesRequest::WithRestApiId
GetStagesRequest & WithRestApiId(const Aws::String &value)
Definition: GetStagesRequest.h:73
Aws::APIGateway::Model::GetStagesRequest::RestApiIdHasBeenSet
bool RestApiIdHasBeenSet() const
Definition: GetStagesRequest.h:53