AWS SDK for C++  1.9.107
AWS SDK for C++
ListDeploymentsRequest.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 AppConfig
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ListDeployments"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
45 
49  inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
50 
54  inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
55 
59  inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
60 
64  inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
65 
69  inline ListDeploymentsRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
70 
74  inline ListDeploymentsRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
75 
79  inline ListDeploymentsRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
80 
81 
85  inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
86 
90  inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
91 
95  inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
96 
100  inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
101 
105  inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
106 
110  inline ListDeploymentsRequest& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
111 
115  inline ListDeploymentsRequest& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
116 
120  inline ListDeploymentsRequest& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
121 
122 
128  inline int GetMaxResults() const{ return m_maxResults; }
129 
135  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
136 
142  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
143 
149  inline ListDeploymentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
150 
151 
155  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
156 
160  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
161 
165  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
166 
170  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
171 
175  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
176 
180  inline ListDeploymentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
181 
185  inline ListDeploymentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
186 
190  inline ListDeploymentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
191 
192  private:
193 
194  Aws::String m_applicationId;
195  bool m_applicationIdHasBeenSet;
196 
197  Aws::String m_environmentId;
198  bool m_environmentIdHasBeenSet;
199 
200  int m_maxResults;
201  bool m_maxResultsHasBeenSet;
202 
203  Aws::String m_nextToken;
204  bool m_nextTokenHasBeenSet;
205  };
206 
207 } // namespace Model
208 } // namespace AppConfig
209 } // namespace Aws
Aws::AppConfig::Model::ListDeploymentsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListDeploymentsRequest.h:128
Aws::AppConfig::Model::ListDeploymentsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListDeploymentsRequest.h:160
Aws::AppConfig::Model::ListDeploymentsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDeploymentsRequest.h:155
Aws::AppConfig::Model::ListDeploymentsRequest::SetApplicationId
void SetApplicationId(const Aws::String &value)
Definition: ListDeploymentsRequest.h:54
Aws::Http::URI
Definition: URI.h:32
Aws::AppConfig::Model::ListDeploymentsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListDeploymentsRequest.h:142
Aws::AppConfig::Model::ListDeploymentsRequest::ListDeploymentsRequest
ListDeploymentsRequest()
Aws::AppConfig::Model::ListDeploymentsRequest::GetEnvironmentId
const Aws::String & GetEnvironmentId() const
Definition: ListDeploymentsRequest.h:85
Aws::AppConfig::Model::ListDeploymentsRequest::GetApplicationId
const Aws::String & GetApplicationId() const
Definition: ListDeploymentsRequest.h:44
Aws::AppConfig::Model::ListDeploymentsRequest::WithEnvironmentId
ListDeploymentsRequest & WithEnvironmentId(const Aws::String &value)
Definition: ListDeploymentsRequest.h:110
AppConfig_EXPORTS.h
Aws::AppConfig::Model::ListDeploymentsRequest::WithNextToken
ListDeploymentsRequest & WithNextToken(const char *value)
Definition: ListDeploymentsRequest.h:190
Aws::AppConfig::Model::ListDeploymentsRequest::SetApplicationId
void SetApplicationId(Aws::String &&value)
Definition: ListDeploymentsRequest.h:59
Aws::AppConfig::Model::ListDeploymentsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDeploymentsRequest.h:170
Aws::AppConfig::Model::ListDeploymentsRequest::SetEnvironmentId
void SetEnvironmentId(const char *value)
Definition: ListDeploymentsRequest.h:105
Aws::AppConfig::Model::ListDeploymentsRequest::SetEnvironmentId
void SetEnvironmentId(const Aws::String &value)
Definition: ListDeploymentsRequest.h:95
Aws::AppConfig::Model::ListDeploymentsRequest::WithNextToken
ListDeploymentsRequest & WithNextToken(Aws::String &&value)
Definition: ListDeploymentsRequest.h:185
Aws::AppConfig::Model::ListDeploymentsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListDeploymentsRequest.h:135
AppConfigRequest.h
Aws::AppConfig::Model::ListDeploymentsRequest::WithApplicationId
ListDeploymentsRequest & WithApplicationId(const char *value)
Definition: ListDeploymentsRequest.h:79
Aws::AppConfig::Model::ListDeploymentsRequest::WithEnvironmentId
ListDeploymentsRequest & WithEnvironmentId(Aws::String &&value)
Definition: ListDeploymentsRequest.h:115
Aws::AppConfig::AppConfigRequest
Definition: AppConfigRequest.h:18
Aws::AppConfig::Model::ListDeploymentsRequest::WithApplicationId
ListDeploymentsRequest & WithApplicationId(const Aws::String &value)
Definition: ListDeploymentsRequest.h:69
Aws::AppConfig::Model::ListDeploymentsRequest::SetApplicationId
void SetApplicationId(const char *value)
Definition: ListDeploymentsRequest.h:64
AWSString.h
Aws::AppConfig::Model::ListDeploymentsRequest::WithMaxResults
ListDeploymentsRequest & WithMaxResults(int value)
Definition: ListDeploymentsRequest.h:149
Aws::AppConfig::Model::ListDeploymentsRequest::ApplicationIdHasBeenSet
bool ApplicationIdHasBeenSet() const
Definition: ListDeploymentsRequest.h:49
Aws::AppConfig::Model::ListDeploymentsRequest::EnvironmentIdHasBeenSet
bool EnvironmentIdHasBeenSet() const
Definition: ListDeploymentsRequest.h:90
Aws::AppConfig::Model::ListDeploymentsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDeploymentsRequest.h:165
Aws::AppConfig::Model::ListDeploymentsRequest::WithApplicationId
ListDeploymentsRequest & WithApplicationId(Aws::String &&value)
Definition: ListDeploymentsRequest.h:74
Aws::AppConfig::Model::ListDeploymentsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::AppConfig::Model::ListDeploymentsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListDeploymentsRequest.h:175
Aws::AppConfig::Model::ListDeploymentsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::AppConfig::Model::ListDeploymentsRequest::WithNextToken
ListDeploymentsRequest & WithNextToken(const Aws::String &value)
Definition: ListDeploymentsRequest.h:180
Aws::AppConfig::Model::ListDeploymentsRequest::SetEnvironmentId
void SetEnvironmentId(Aws::String &&value)
Definition: ListDeploymentsRequest.h:100
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_APPCONFIG_API
#define AWS_APPCONFIG_API
Definition: AppConfig_EXPORTS.h:28
Aws::AppConfig::Model::ListDeploymentsRequest
Definition: ListDeploymentsRequest.h:26
Aws::AppConfig::Model::ListDeploymentsRequest::WithEnvironmentId
ListDeploymentsRequest & WithEnvironmentId(const char *value)
Definition: ListDeploymentsRequest.h:120
Aws::AppConfig::Model::ListDeploymentsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListDeploymentsRequest.h:34