AWS SDK for C++  1.9.110
AWS SDK for C++
ValidateConfigurationRequest.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 "ValidateConfiguration"; }
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 ValidateConfigurationRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
70 
74  inline ValidateConfigurationRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
75 
79  inline ValidateConfigurationRequest& 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 ValidateConfigurationRequest& WithConfigurationProfileId(const Aws::String& value) { SetConfigurationProfileId(value); return *this;}
111 
115  inline ValidateConfigurationRequest& WithConfigurationProfileId(Aws::String&& value) { SetConfigurationProfileId(std::move(value)); return *this;}
116 
120  inline ValidateConfigurationRequest& WithConfigurationProfileId(const char* value) { SetConfigurationProfileId(value); return *this;}
121 
122 
126  inline const Aws::String& GetConfigurationVersion() const{ return m_configurationVersion; }
127 
131  inline bool ConfigurationVersionHasBeenSet() const { return m_configurationVersionHasBeenSet; }
132 
136  inline void SetConfigurationVersion(const Aws::String& value) { m_configurationVersionHasBeenSet = true; m_configurationVersion = value; }
137 
141  inline void SetConfigurationVersion(Aws::String&& value) { m_configurationVersionHasBeenSet = true; m_configurationVersion = std::move(value); }
142 
146  inline void SetConfigurationVersion(const char* value) { m_configurationVersionHasBeenSet = true; m_configurationVersion.assign(value); }
147 
151  inline ValidateConfigurationRequest& WithConfigurationVersion(const Aws::String& value) { SetConfigurationVersion(value); return *this;}
152 
156  inline ValidateConfigurationRequest& WithConfigurationVersion(Aws::String&& value) { SetConfigurationVersion(std::move(value)); return *this;}
157 
161  inline ValidateConfigurationRequest& WithConfigurationVersion(const char* value) { SetConfigurationVersion(value); return *this;}
162 
163  private:
164 
165  Aws::String m_applicationId;
166  bool m_applicationIdHasBeenSet;
167 
168  Aws::String m_configurationProfileId;
169  bool m_configurationProfileIdHasBeenSet;
170 
171  Aws::String m_configurationVersion;
172  bool m_configurationVersionHasBeenSet;
173  };
174 
175 } // namespace Model
176 } // namespace AppConfig
177 } // namespace Aws
Aws::AppConfig::Model::ValidateConfigurationRequest::SetApplicationId
void SetApplicationId(Aws::String &&value)
Definition: ValidateConfigurationRequest.h:59
Aws::AppConfig::Model::ValidateConfigurationRequest::WithApplicationId
ValidateConfigurationRequest & WithApplicationId(const Aws::String &value)
Definition: ValidateConfigurationRequest.h:69
Aws::Http::URI
Definition: URI.h:32
Aws::AppConfig::Model::ValidateConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ValidateConfigurationRequest.h:34
Aws::AppConfig::Model::ValidateConfigurationRequest::GetConfigurationProfileId
const Aws::String & GetConfigurationProfileId() const
Definition: ValidateConfigurationRequest.h:85
Aws::AppConfig::Model::ValidateConfigurationRequest::SetConfigurationProfileId
void SetConfigurationProfileId(const Aws::String &value)
Definition: ValidateConfigurationRequest.h:95
Aws::AppConfig::Model::ValidateConfigurationRequest::WithConfigurationProfileId
ValidateConfigurationRequest & WithConfigurationProfileId(const Aws::String &value)
Definition: ValidateConfigurationRequest.h:110
Aws::AppConfig::Model::ValidateConfigurationRequest::WithConfigurationVersion
ValidateConfigurationRequest & WithConfigurationVersion(const char *value)
Definition: ValidateConfigurationRequest.h:161
Aws::AppConfig::Model::ValidateConfigurationRequest::SetConfigurationVersion
void SetConfigurationVersion(const Aws::String &value)
Definition: ValidateConfigurationRequest.h:136
Aws::AppConfig::Model::ValidateConfigurationRequest::WithApplicationId
ValidateConfigurationRequest & WithApplicationId(const char *value)
Definition: ValidateConfigurationRequest.h:79
Aws::AppConfig::Model::ValidateConfigurationRequest::GetApplicationId
const Aws::String & GetApplicationId() const
Definition: ValidateConfigurationRequest.h:44
AppConfig_EXPORTS.h
Aws::AppConfig::Model::ValidateConfigurationRequest::ConfigurationVersionHasBeenSet
bool ConfigurationVersionHasBeenSet() const
Definition: ValidateConfigurationRequest.h:131
Aws::AppConfig::Model::ValidateConfigurationRequest::WithConfigurationProfileId
ValidateConfigurationRequest & WithConfigurationProfileId(Aws::String &&value)
Definition: ValidateConfigurationRequest.h:115
AppConfigRequest.h
Aws::AppConfig::Model::ValidateConfigurationRequest::SetApplicationId
void SetApplicationId(const Aws::String &value)
Definition: ValidateConfigurationRequest.h:54
Aws::AppConfig::AppConfigRequest
Definition: AppConfigRequest.h:18
AWSString.h
Aws::AppConfig::Model::ValidateConfigurationRequest::SetConfigurationVersion
void SetConfigurationVersion(Aws::String &&value)
Definition: ValidateConfigurationRequest.h:141
Aws::AppConfig::Model::ValidateConfigurationRequest
Definition: ValidateConfigurationRequest.h:26
Aws::AppConfig::Model::ValidateConfigurationRequest::ConfigurationProfileIdHasBeenSet
bool ConfigurationProfileIdHasBeenSet() const
Definition: ValidateConfigurationRequest.h:90
Aws::AppConfig::Model::ValidateConfigurationRequest::WithApplicationId
ValidateConfigurationRequest & WithApplicationId(Aws::String &&value)
Definition: ValidateConfigurationRequest.h:74
Aws::AppConfig::Model::ValidateConfigurationRequest::ApplicationIdHasBeenSet
bool ApplicationIdHasBeenSet() const
Definition: ValidateConfigurationRequest.h:49
Aws::AppConfig::Model::ValidateConfigurationRequest::WithConfigurationVersion
ValidateConfigurationRequest & WithConfigurationVersion(const Aws::String &value)
Definition: ValidateConfigurationRequest.h:151
Aws
Definition: AccessManagementClient.h:15
Aws::AppConfig::Model::ValidateConfigurationRequest::WithConfigurationProfileId
ValidateConfigurationRequest & WithConfigurationProfileId(const char *value)
Definition: ValidateConfigurationRequest.h:120
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::ValidateConfigurationRequest::WithConfigurationVersion
ValidateConfigurationRequest & WithConfigurationVersion(Aws::String &&value)
Definition: ValidateConfigurationRequest.h:156
Aws::AppConfig::Model::ValidateConfigurationRequest::SetConfigurationVersion
void SetConfigurationVersion(const char *value)
Definition: ValidateConfigurationRequest.h:146
Aws::AppConfig::Model::ValidateConfigurationRequest::SetApplicationId
void SetApplicationId(const char *value)
Definition: ValidateConfigurationRequest.h:64
Aws::AppConfig::Model::ValidateConfigurationRequest::ValidateConfigurationRequest
ValidateConfigurationRequest()
Aws::AppConfig::Model::ValidateConfigurationRequest::SetConfigurationProfileId
void SetConfigurationProfileId(const char *value)
Definition: ValidateConfigurationRequest.h:105
Aws::AppConfig::Model::ValidateConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppConfig::Model::ValidateConfigurationRequest::GetConfigurationVersion
const Aws::String & GetConfigurationVersion() const
Definition: ValidateConfigurationRequest.h:126
Aws::AppConfig::Model::ValidateConfigurationRequest::SetConfigurationProfileId
void SetConfigurationProfileId(Aws::String &&value)
Definition: ValidateConfigurationRequest.h:100
Aws::AppConfig::Model::ValidateConfigurationRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override