AWS SDK for C++  1.9.110
AWS SDK for C++
ListHostedConfigurationVersionsRequest.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 "ListHostedConfigurationVersions"; }
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 ListHostedConfigurationVersionsRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
70 
74  inline ListHostedConfigurationVersionsRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
75 
79  inline ListHostedConfigurationVersionsRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
80 
81 
85  inline const Aws::String& GetConfigurationProfileId() const{ return m_configurationProfileId; }
86 
90  inline bool ConfigurationProfileIdHasBeenSet() const { return m_configurationProfileIdHasBeenSet; }
91 
95  inline void SetConfigurationProfileId(const Aws::String& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = value; }
96 
100  inline void SetConfigurationProfileId(Aws::String&& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = std::move(value); }
101 
105  inline void SetConfigurationProfileId(const char* value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId.assign(value); }
106 
110  inline ListHostedConfigurationVersionsRequest& WithConfigurationProfileId(const Aws::String& value) { SetConfigurationProfileId(value); return *this;}
111 
115  inline ListHostedConfigurationVersionsRequest& WithConfigurationProfileId(Aws::String&& value) { SetConfigurationProfileId(std::move(value)); return *this;}
116 
120  inline ListHostedConfigurationVersionsRequest& WithConfigurationProfileId(const char* value) { SetConfigurationProfileId(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 ListHostedConfigurationVersionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
150 
151 
156  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
157 
162  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
163 
168  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
169 
174  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
175 
180  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
181 
186  inline ListHostedConfigurationVersionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
187 
192  inline ListHostedConfigurationVersionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
193 
198  inline ListHostedConfigurationVersionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
199 
200  private:
201 
202  Aws::String m_applicationId;
203  bool m_applicationIdHasBeenSet;
204 
205  Aws::String m_configurationProfileId;
206  bool m_configurationProfileIdHasBeenSet;
207 
208  int m_maxResults;
209  bool m_maxResultsHasBeenSet;
210 
211  Aws::String m_nextToken;
212  bool m_nextTokenHasBeenSet;
213  };
214 
215 } // namespace Model
216 } // namespace AppConfig
217 } // namespace Aws
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListHostedConfigurationVersionsRequest.h:34
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::WithConfigurationProfileId
ListHostedConfigurationVersionsRequest & WithConfigurationProfileId(const char *value)
Definition: ListHostedConfigurationVersionsRequest.h:120
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListHostedConfigurationVersionsRequest.h:174
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::WithNextToken
ListHostedConfigurationVersionsRequest & WithNextToken(const char *value)
Definition: ListHostedConfigurationVersionsRequest.h:198
Aws::Http::URI
Definition: URI.h:32
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListHostedConfigurationVersionsRequest.h:135
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListHostedConfigurationVersionsRequest.h:128
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::WithApplicationId
ListHostedConfigurationVersionsRequest & WithApplicationId(const char *value)
Definition: ListHostedConfigurationVersionsRequest.h:79
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListHostedConfigurationVersionsRequest.h:156
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::SetConfigurationProfileId
void SetConfigurationProfileId(const Aws::String &value)
Definition: ListHostedConfigurationVersionsRequest.h:95
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListHostedConfigurationVersionsRequest.h:180
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListHostedConfigurationVersionsRequest.h:162
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::WithConfigurationProfileId
ListHostedConfigurationVersionsRequest & WithConfigurationProfileId(Aws::String &&value)
Definition: ListHostedConfigurationVersionsRequest.h:115
AppConfig_EXPORTS.h
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::WithConfigurationProfileId
ListHostedConfigurationVersionsRequest & WithConfigurationProfileId(const Aws::String &value)
Definition: ListHostedConfigurationVersionsRequest.h:110
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::WithMaxResults
ListHostedConfigurationVersionsRequest & WithMaxResults(int value)
Definition: ListHostedConfigurationVersionsRequest.h:149
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::ApplicationIdHasBeenSet
bool ApplicationIdHasBeenSet() const
Definition: ListHostedConfigurationVersionsRequest.h:49
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest
Definition: ListHostedConfigurationVersionsRequest.h:26
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::SetApplicationId
void SetApplicationId(const char *value)
Definition: ListHostedConfigurationVersionsRequest.h:64
AppConfigRequest.h
Aws::AppConfig::AppConfigRequest
Definition: AppConfigRequest.h:18
AWSString.h
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::SetConfigurationProfileId
void SetConfigurationProfileId(const char *value)
Definition: ListHostedConfigurationVersionsRequest.h:105
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::SetConfigurationProfileId
void SetConfigurationProfileId(Aws::String &&value)
Definition: ListHostedConfigurationVersionsRequest.h:100
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::ConfigurationProfileIdHasBeenSet
bool ConfigurationProfileIdHasBeenSet() const
Definition: ListHostedConfigurationVersionsRequest.h:90
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListHostedConfigurationVersionsRequest.h:168
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::WithApplicationId
ListHostedConfigurationVersionsRequest & WithApplicationId(Aws::String &&value)
Definition: ListHostedConfigurationVersionsRequest.h:74
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::GetConfigurationProfileId
const Aws::String & GetConfigurationProfileId() const
Definition: ListHostedConfigurationVersionsRequest.h:85
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::SetApplicationId
void SetApplicationId(Aws::String &&value)
Definition: ListHostedConfigurationVersionsRequest.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::WithNextToken
ListHostedConfigurationVersionsRequest & WithNextToken(Aws::String &&value)
Definition: ListHostedConfigurationVersionsRequest.h:192
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::WithApplicationId
ListHostedConfigurationVersionsRequest & WithApplicationId(const Aws::String &value)
Definition: ListHostedConfigurationVersionsRequest.h:69
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::ListHostedConfigurationVersionsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListHostedConfigurationVersionsRequest.h:142
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::ListHostedConfigurationVersionsRequest
ListHostedConfigurationVersionsRequest()
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::GetApplicationId
const Aws::String & GetApplicationId() const
Definition: ListHostedConfigurationVersionsRequest.h:44
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::WithNextToken
ListHostedConfigurationVersionsRequest & WithNextToken(const Aws::String &value)
Definition: ListHostedConfigurationVersionsRequest.h:186
Aws::AppConfig::Model::ListHostedConfigurationVersionsRequest::SetApplicationId
void SetApplicationId(const Aws::String &value)
Definition: ListHostedConfigurationVersionsRequest.h:54