AWS SDK for C++  1.9.110
AWS SDK for C++
GetConfigurationRequest.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 "GetConfiguration"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
45  inline const Aws::String& GetApplication() const{ return m_application; }
46 
51  inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; }
52 
57  inline void SetApplication(const Aws::String& value) { m_applicationHasBeenSet = true; m_application = value; }
58 
63  inline void SetApplication(Aws::String&& value) { m_applicationHasBeenSet = true; m_application = std::move(value); }
64 
69  inline void SetApplication(const char* value) { m_applicationHasBeenSet = true; m_application.assign(value); }
70 
75  inline GetConfigurationRequest& WithApplication(const Aws::String& value) { SetApplication(value); return *this;}
76 
81  inline GetConfigurationRequest& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;}
82 
87  inline GetConfigurationRequest& WithApplication(const char* value) { SetApplication(value); return *this;}
88 
89 
94  inline const Aws::String& GetEnvironment() const{ return m_environment; }
95 
100  inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
101 
106  inline void SetEnvironment(const Aws::String& value) { m_environmentHasBeenSet = true; m_environment = value; }
107 
112  inline void SetEnvironment(Aws::String&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
113 
118  inline void SetEnvironment(const char* value) { m_environmentHasBeenSet = true; m_environment.assign(value); }
119 
124  inline GetConfigurationRequest& WithEnvironment(const Aws::String& value) { SetEnvironment(value); return *this;}
125 
130  inline GetConfigurationRequest& WithEnvironment(Aws::String&& value) { SetEnvironment(std::move(value)); return *this;}
131 
136  inline GetConfigurationRequest& WithEnvironment(const char* value) { SetEnvironment(value); return *this;}
137 
138 
143  inline const Aws::String& GetConfiguration() const{ return m_configuration; }
144 
149  inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
150 
155  inline void SetConfiguration(const Aws::String& value) { m_configurationHasBeenSet = true; m_configuration = value; }
156 
161  inline void SetConfiguration(Aws::String&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
162 
167  inline void SetConfiguration(const char* value) { m_configurationHasBeenSet = true; m_configuration.assign(value); }
168 
173  inline GetConfigurationRequest& WithConfiguration(const Aws::String& value) { SetConfiguration(value); return *this;}
174 
179  inline GetConfigurationRequest& WithConfiguration(Aws::String&& value) { SetConfiguration(std::move(value)); return *this;}
180 
185  inline GetConfigurationRequest& WithConfiguration(const char* value) { SetConfiguration(value); return *this;}
186 
187 
193  inline const Aws::String& GetClientId() const{ return m_clientId; }
194 
200  inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
201 
207  inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
208 
214  inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); }
215 
221  inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); }
222 
228  inline GetConfigurationRequest& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
229 
235  inline GetConfigurationRequest& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;}
236 
242  inline GetConfigurationRequest& WithClientId(const char* value) { SetClientId(value); return *this;}
243 
244 
262  inline const Aws::String& GetClientConfigurationVersion() const{ return m_clientConfigurationVersion; }
263 
281  inline bool ClientConfigurationVersionHasBeenSet() const { return m_clientConfigurationVersionHasBeenSet; }
282 
300  inline void SetClientConfigurationVersion(const Aws::String& value) { m_clientConfigurationVersionHasBeenSet = true; m_clientConfigurationVersion = value; }
301 
319  inline void SetClientConfigurationVersion(Aws::String&& value) { m_clientConfigurationVersionHasBeenSet = true; m_clientConfigurationVersion = std::move(value); }
320 
338  inline void SetClientConfigurationVersion(const char* value) { m_clientConfigurationVersionHasBeenSet = true; m_clientConfigurationVersion.assign(value); }
339 
357  inline GetConfigurationRequest& WithClientConfigurationVersion(const Aws::String& value) { SetClientConfigurationVersion(value); return *this;}
358 
376  inline GetConfigurationRequest& WithClientConfigurationVersion(Aws::String&& value) { SetClientConfigurationVersion(std::move(value)); return *this;}
377 
395  inline GetConfigurationRequest& WithClientConfigurationVersion(const char* value) { SetClientConfigurationVersion(value); return *this;}
396 
397  private:
398 
399  Aws::String m_application;
400  bool m_applicationHasBeenSet;
401 
402  Aws::String m_environment;
403  bool m_environmentHasBeenSet;
404 
405  Aws::String m_configuration;
406  bool m_configurationHasBeenSet;
407 
408  Aws::String m_clientId;
409  bool m_clientIdHasBeenSet;
410 
411  Aws::String m_clientConfigurationVersion;
412  bool m_clientConfigurationVersionHasBeenSet;
413  };
414 
415 } // namespace Model
416 } // namespace AppConfig
417 } // namespace Aws
Aws::AppConfig::Model::GetConfigurationRequest::WithEnvironment
GetConfigurationRequest & WithEnvironment(const char *value)
Definition: GetConfigurationRequest.h:136
Aws::AppConfig::Model::GetConfigurationRequest::WithEnvironment
GetConfigurationRequest & WithEnvironment(Aws::String &&value)
Definition: GetConfigurationRequest.h:130
Aws::Http::URI
Definition: URI.h:32
Aws::AppConfig::Model::GetConfigurationRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::AppConfig::Model::GetConfigurationRequest::WithConfiguration
GetConfigurationRequest & WithConfiguration(const char *value)
Definition: GetConfigurationRequest.h:185
Aws::AppConfig::Model::GetConfigurationRequest::GetApplication
const Aws::String & GetApplication() const
Definition: GetConfigurationRequest.h:45
Aws::AppConfig::Model::GetConfigurationRequest::GetClientConfigurationVersion
const Aws::String & GetClientConfigurationVersion() const
Definition: GetConfigurationRequest.h:262
Aws::AppConfig::Model::GetConfigurationRequest::SetEnvironment
void SetEnvironment(Aws::String &&value)
Definition: GetConfigurationRequest.h:112
Aws::AppConfig::Model::GetConfigurationRequest::WithClientId
GetConfigurationRequest & WithClientId(const Aws::String &value)
Definition: GetConfigurationRequest.h:228
Aws::AppConfig::Model::GetConfigurationRequest::SetConfiguration
void SetConfiguration(Aws::String &&value)
Definition: GetConfigurationRequest.h:161
Aws::AppConfig::Model::GetConfigurationRequest::SetClientId
void SetClientId(const char *value)
Definition: GetConfigurationRequest.h:221
Aws::AppConfig::Model::GetConfigurationRequest::GetConfigurationRequest
GetConfigurationRequest()
Aws::AppConfig::Model::GetConfigurationRequest::GetConfiguration
const Aws::String & GetConfiguration() const
Definition: GetConfigurationRequest.h:143
Aws::AppConfig::Model::GetConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppConfig::Model::GetConfigurationRequest::GetClientId
const Aws::String & GetClientId() const
Definition: GetConfigurationRequest.h:193
Aws::AppConfig::Model::GetConfigurationRequest::WithClientId
GetConfigurationRequest & WithClientId(Aws::String &&value)
Definition: GetConfigurationRequest.h:235
Aws::AppConfig::Model::GetConfigurationRequest::WithClientId
GetConfigurationRequest & WithClientId(const char *value)
Definition: GetConfigurationRequest.h:242
Aws::AppConfig::Model::GetConfigurationRequest::ClientConfigurationVersionHasBeenSet
bool ClientConfigurationVersionHasBeenSet() const
Definition: GetConfigurationRequest.h:281
Aws::AppConfig::Model::GetConfigurationRequest::SetApplication
void SetApplication(const Aws::String &value)
Definition: GetConfigurationRequest.h:57
Aws::AppConfig::Model::GetConfigurationRequest::GetEnvironment
const Aws::String & GetEnvironment() const
Definition: GetConfigurationRequest.h:94
AppConfig_EXPORTS.h
Aws::AppConfig::Model::GetConfigurationRequest::SetClientConfigurationVersion
void SetClientConfigurationVersion(Aws::String &&value)
Definition: GetConfigurationRequest.h:319
Aws::AppConfig::Model::GetConfigurationRequest::SetClientId
void SetClientId(Aws::String &&value)
Definition: GetConfigurationRequest.h:214
Aws::AppConfig::Model::GetConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetConfigurationRequest.h:34
Aws::AppConfig::Model::GetConfigurationRequest::ApplicationHasBeenSet
bool ApplicationHasBeenSet() const
Definition: GetConfigurationRequest.h:51
Aws::AppConfig::Model::GetConfigurationRequest::WithApplication
GetConfigurationRequest & WithApplication(const char *value)
Definition: GetConfigurationRequest.h:87
Aws::AppConfig::Model::GetConfigurationRequest::ClientIdHasBeenSet
bool ClientIdHasBeenSet() const
Definition: GetConfigurationRequest.h:200
Aws::AppConfig::Model::GetConfigurationRequest::SetApplication
void SetApplication(const char *value)
Definition: GetConfigurationRequest.h:69
Aws::AppConfig::Model::GetConfigurationRequest::WithApplication
GetConfigurationRequest & WithApplication(Aws::String &&value)
Definition: GetConfigurationRequest.h:81
Aws::AppConfig::Model::GetConfigurationRequest::SetEnvironment
void SetEnvironment(const Aws::String &value)
Definition: GetConfigurationRequest.h:106
AppConfigRequest.h
Aws::AppConfig::Model::GetConfigurationRequest::WithEnvironment
GetConfigurationRequest & WithEnvironment(const Aws::String &value)
Definition: GetConfigurationRequest.h:124
Aws::AppConfig::AppConfigRequest
Definition: AppConfigRequest.h:18
AWSString.h
Aws::AppConfig::Model::GetConfigurationRequest::SetApplication
void SetApplication(Aws::String &&value)
Definition: GetConfigurationRequest.h:63
Aws::AppConfig::Model::GetConfigurationRequest::WithConfiguration
GetConfigurationRequest & WithConfiguration(const Aws::String &value)
Definition: GetConfigurationRequest.h:173
Aws::AppConfig::Model::GetConfigurationRequest
Definition: GetConfigurationRequest.h:26
Aws::AppConfig::Model::GetConfigurationRequest::WithConfiguration
GetConfigurationRequest & WithConfiguration(Aws::String &&value)
Definition: GetConfigurationRequest.h:179
Aws::AppConfig::Model::GetConfigurationRequest::SetClientConfigurationVersion
void SetClientConfigurationVersion(const char *value)
Definition: GetConfigurationRequest.h:338
Aws
Definition: AccessManagementClient.h:15
Aws::AppConfig::Model::GetConfigurationRequest::SetEnvironment
void SetEnvironment(const char *value)
Definition: GetConfigurationRequest.h:118
Aws::AppConfig::Model::GetConfigurationRequest::WithApplication
GetConfigurationRequest & WithApplication(const Aws::String &value)
Definition: GetConfigurationRequest.h:75
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::GetConfigurationRequest::SetClientId
void SetClientId(const Aws::String &value)
Definition: GetConfigurationRequest.h:207
Aws::AppConfig::Model::GetConfigurationRequest::SetConfiguration
void SetConfiguration(const char *value)
Definition: GetConfigurationRequest.h:167
Aws::AppConfig::Model::GetConfigurationRequest::ConfigurationHasBeenSet
bool ConfigurationHasBeenSet() const
Definition: GetConfigurationRequest.h:149
Aws::AppConfig::Model::GetConfigurationRequest::WithClientConfigurationVersion
GetConfigurationRequest & WithClientConfigurationVersion(const Aws::String &value)
Definition: GetConfigurationRequest.h:357
Aws::AppConfig::Model::GetConfigurationRequest::SetClientConfigurationVersion
void SetClientConfigurationVersion(const Aws::String &value)
Definition: GetConfigurationRequest.h:300
Aws::AppConfig::Model::GetConfigurationRequest::WithClientConfigurationVersion
GetConfigurationRequest & WithClientConfigurationVersion(Aws::String &&value)
Definition: GetConfigurationRequest.h:376
Aws::AppConfig::Model::GetConfigurationRequest::SetConfiguration
void SetConfiguration(const Aws::String &value)
Definition: GetConfigurationRequest.h:155
Aws::AppConfig::Model::GetConfigurationRequest::EnvironmentHasBeenSet
bool EnvironmentHasBeenSet() const
Definition: GetConfigurationRequest.h:100
Aws::AppConfig::Model::GetConfigurationRequest::WithClientConfigurationVersion
GetConfigurationRequest & WithClientConfigurationVersion(const char *value)
Definition: GetConfigurationRequest.h:395