AWS SDK for C++  1.9.110
AWS SDK for C++
CreateHostedConfigurationVersionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <aws/core/utils/Array.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace AppConfig
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "CreateHostedConfigurationVersion"; }
32 
34 
35 
39  inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
40 
44  inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
45 
49  inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
50 
54  inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
55 
59  inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
60 
64  inline CreateHostedConfigurationVersionRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
65 
69  inline CreateHostedConfigurationVersionRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
70 
74  inline CreateHostedConfigurationVersionRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
75 
76 
80  inline const Aws::String& GetConfigurationProfileId() const{ return m_configurationProfileId; }
81 
85  inline bool ConfigurationProfileIdHasBeenSet() const { return m_configurationProfileIdHasBeenSet; }
86 
90  inline void SetConfigurationProfileId(const Aws::String& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = value; }
91 
95  inline void SetConfigurationProfileId(Aws::String&& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = std::move(value); }
96 
100  inline void SetConfigurationProfileId(const char* value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId.assign(value); }
101 
105  inline CreateHostedConfigurationVersionRequest& WithConfigurationProfileId(const Aws::String& value) { SetConfigurationProfileId(value); return *this;}
106 
110  inline CreateHostedConfigurationVersionRequest& WithConfigurationProfileId(Aws::String&& value) { SetConfigurationProfileId(std::move(value)); return *this;}
111 
115  inline CreateHostedConfigurationVersionRequest& WithConfigurationProfileId(const char* value) { SetConfigurationProfileId(value); return *this;}
116 
117 
121  inline const Aws::String& GetDescription() const{ return m_description; }
122 
126  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
127 
131  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
132 
136  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
137 
141  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
142 
146  inline CreateHostedConfigurationVersionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
147 
151  inline CreateHostedConfigurationVersionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
152 
156  inline CreateHostedConfigurationVersionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
157 
158 
165  inline int GetLatestVersionNumber() const{ return m_latestVersionNumber; }
166 
173  inline bool LatestVersionNumberHasBeenSet() const { return m_latestVersionNumberHasBeenSet; }
174 
181  inline void SetLatestVersionNumber(int value) { m_latestVersionNumberHasBeenSet = true; m_latestVersionNumber = value; }
182 
189  inline CreateHostedConfigurationVersionRequest& WithLatestVersionNumber(int value) { SetLatestVersionNumber(value); return *this;}
190 
191  private:
192 
193  Aws::String m_applicationId;
194  bool m_applicationIdHasBeenSet;
195 
196  Aws::String m_configurationProfileId;
197  bool m_configurationProfileIdHasBeenSet;
198 
199  Aws::String m_description;
200  bool m_descriptionHasBeenSet;
201 
202 
203  int m_latestVersionNumber;
204  bool m_latestVersionNumberHasBeenSet;
205  };
206 
207 } // namespace Model
208 } // namespace AppConfig
209 } // namespace Aws
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::SetLatestVersionNumber
void SetLatestVersionNumber(int value)
Definition: CreateHostedConfigurationVersionRequest.h:181
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::GetConfigurationProfileId
const Aws::String & GetConfigurationProfileId() const
Definition: CreateHostedConfigurationVersionRequest.h:80
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::LatestVersionNumberHasBeenSet
bool LatestVersionNumberHasBeenSet() const
Definition: CreateHostedConfigurationVersionRequest.h:173
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::WithApplicationId
CreateHostedConfigurationVersionRequest & WithApplicationId(const char *value)
Definition: CreateHostedConfigurationVersionRequest.h:74
AppConfig_EXPORTS.h
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::ApplicationIdHasBeenSet
bool ApplicationIdHasBeenSet() const
Definition: CreateHostedConfigurationVersionRequest.h:44
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateHostedConfigurationVersionRequest.h:131
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::SetConfigurationProfileId
void SetConfigurationProfileId(Aws::String &&value)
Definition: CreateHostedConfigurationVersionRequest.h:95
AppConfigRequest.h
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::WithApplicationId
CreateHostedConfigurationVersionRequest & WithApplicationId(Aws::String &&value)
Definition: CreateHostedConfigurationVersionRequest.h:69
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::WithConfigurationProfileId
CreateHostedConfigurationVersionRequest & WithConfigurationProfileId(const char *value)
Definition: CreateHostedConfigurationVersionRequest.h:115
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::SetApplicationId
void SetApplicationId(const Aws::String &value)
Definition: CreateHostedConfigurationVersionRequest.h:49
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::WithDescription
CreateHostedConfigurationVersionRequest & WithDescription(const Aws::String &value)
Definition: CreateHostedConfigurationVersionRequest.h:146
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::SetConfigurationProfileId
void SetConfigurationProfileId(const Aws::String &value)
Definition: CreateHostedConfigurationVersionRequest.h:90
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::SetApplicationId
void SetApplicationId(const char *value)
Definition: CreateHostedConfigurationVersionRequest.h:59
AWSString.h
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::WithDescription
CreateHostedConfigurationVersionRequest & WithDescription(Aws::String &&value)
Definition: CreateHostedConfigurationVersionRequest.h:151
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::CreateHostedConfigurationVersionRequest
CreateHostedConfigurationVersionRequest()
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::WithConfigurationProfileId
CreateHostedConfigurationVersionRequest & WithConfigurationProfileId(Aws::String &&value)
Definition: CreateHostedConfigurationVersionRequest.h:110
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::GetLatestVersionNumber
int GetLatestVersionNumber() const
Definition: CreateHostedConfigurationVersionRequest.h:165
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::GetApplicationId
const Aws::String & GetApplicationId() const
Definition: CreateHostedConfigurationVersionRequest.h:39
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateHostedConfigurationVersionRequest.h:126
Aws::AmazonStreamingWebServiceRequest
Definition: AmazonStreamingWebServiceRequest.h:26
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest
Definition: CreateHostedConfigurationVersionRequest.h:23
Aws
Definition: AccessManagementClient.h:15
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::WithApplicationId
CreateHostedConfigurationVersionRequest & WithApplicationId(const Aws::String &value)
Definition: CreateHostedConfigurationVersionRequest.h:64
Array.h
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateHostedConfigurationVersionRequest.h:121
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateHostedConfigurationVersionRequest.h:31
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateHostedConfigurationVersionRequest.h:141
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::CreateHostedConfigurationVersionRequest::WithLatestVersionNumber
CreateHostedConfigurationVersionRequest & WithLatestVersionNumber(int value)
Definition: CreateHostedConfigurationVersionRequest.h:189
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::SetConfigurationProfileId
void SetConfigurationProfileId(const char *value)
Definition: CreateHostedConfigurationVersionRequest.h:100
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::WithConfigurationProfileId
CreateHostedConfigurationVersionRequest & WithConfigurationProfileId(const Aws::String &value)
Definition: CreateHostedConfigurationVersionRequest.h:105
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateHostedConfigurationVersionRequest.h:136
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::WithDescription
CreateHostedConfigurationVersionRequest & WithDescription(const char *value)
Definition: CreateHostedConfigurationVersionRequest.h:156
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::SetApplicationId
void SetApplicationId(Aws::String &&value)
Definition: CreateHostedConfigurationVersionRequest.h:54
Aws::AppConfig::Model::CreateHostedConfigurationVersionRequest::ConfigurationProfileIdHasBeenSet
bool ConfigurationProfileIdHasBeenSet() const
Definition: CreateHostedConfigurationVersionRequest.h:85