AWS SDK for C++  1.9.110
AWS SDK for C++
HostedConfigurationVersionSummary.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace AppConfig
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
44 
48  inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
49 
53  inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
54 
58  inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
59 
63  inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
64 
68  inline HostedConfigurationVersionSummary& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
69 
73  inline HostedConfigurationVersionSummary& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
74 
78  inline HostedConfigurationVersionSummary& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
79 
80 
84  inline const Aws::String& GetConfigurationProfileId() const{ return m_configurationProfileId; }
85 
89  inline bool ConfigurationProfileIdHasBeenSet() const { return m_configurationProfileIdHasBeenSet; }
90 
94  inline void SetConfigurationProfileId(const Aws::String& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = value; }
95 
99  inline void SetConfigurationProfileId(Aws::String&& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = std::move(value); }
100 
104  inline void SetConfigurationProfileId(const char* value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId.assign(value); }
105 
109  inline HostedConfigurationVersionSummary& WithConfigurationProfileId(const Aws::String& value) { SetConfigurationProfileId(value); return *this;}
110 
114  inline HostedConfigurationVersionSummary& WithConfigurationProfileId(Aws::String&& value) { SetConfigurationProfileId(std::move(value)); return *this;}
115 
119  inline HostedConfigurationVersionSummary& WithConfigurationProfileId(const char* value) { SetConfigurationProfileId(value); return *this;}
120 
121 
125  inline int GetVersionNumber() const{ return m_versionNumber; }
126 
130  inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
131 
135  inline void SetVersionNumber(int value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
136 
140  inline HostedConfigurationVersionSummary& WithVersionNumber(int value) { SetVersionNumber(value); return *this;}
141 
142 
146  inline const Aws::String& GetDescription() const{ return m_description; }
147 
151  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
152 
156  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
157 
161  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
162 
166  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
167 
171  inline HostedConfigurationVersionSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
172 
176  inline HostedConfigurationVersionSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
177 
181  inline HostedConfigurationVersionSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
182 
183 
189  inline const Aws::String& GetContentType() const{ return m_contentType; }
190 
196  inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
197 
203  inline void SetContentType(const Aws::String& value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
204 
210  inline void SetContentType(Aws::String&& value) { m_contentTypeHasBeenSet = true; m_contentType = std::move(value); }
211 
217  inline void SetContentType(const char* value) { m_contentTypeHasBeenSet = true; m_contentType.assign(value); }
218 
224  inline HostedConfigurationVersionSummary& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
225 
231  inline HostedConfigurationVersionSummary& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
232 
238  inline HostedConfigurationVersionSummary& WithContentType(const char* value) { SetContentType(value); return *this;}
239 
240  private:
241 
242  Aws::String m_applicationId;
243  bool m_applicationIdHasBeenSet;
244 
245  Aws::String m_configurationProfileId;
246  bool m_configurationProfileIdHasBeenSet;
247 
248  int m_versionNumber;
249  bool m_versionNumberHasBeenSet;
250 
251  Aws::String m_description;
252  bool m_descriptionHasBeenSet;
253 
254  Aws::String m_contentType;
255  bool m_contentTypeHasBeenSet;
256  };
257 
258 } // namespace Model
259 } // namespace AppConfig
260 } // namespace Aws
Aws::AppConfig::Model::HostedConfigurationVersionSummary::WithConfigurationProfileId
HostedConfigurationVersionSummary & WithConfigurationProfileId(const Aws::String &value)
Definition: HostedConfigurationVersionSummary.h:109
Aws::AppConfig::Model::HostedConfigurationVersionSummary::SetConfigurationProfileId
void SetConfigurationProfileId(const Aws::String &value)
Definition: HostedConfigurationVersionSummary.h:94
Aws::AppConfig::Model::HostedConfigurationVersionSummary::SetApplicationId
void SetApplicationId(const Aws::String &value)
Definition: HostedConfigurationVersionSummary.h:53
Aws::AppConfig::Model::HostedConfigurationVersionSummary::operator=
HostedConfigurationVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppConfig::Model::HostedConfigurationVersionSummary::SetContentType
void SetContentType(const Aws::String &value)
Definition: HostedConfigurationVersionSummary.h:203
Aws::AppConfig::Model::HostedConfigurationVersionSummary::ConfigurationProfileIdHasBeenSet
bool ConfigurationProfileIdHasBeenSet() const
Definition: HostedConfigurationVersionSummary.h:89
Aws::AppConfig::Model::HostedConfigurationVersionSummary::SetVersionNumber
void SetVersionNumber(int value)
Definition: HostedConfigurationVersionSummary.h:135
Aws::AppConfig::Model::HostedConfigurationVersionSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppConfig::Model::HostedConfigurationVersionSummary::ApplicationIdHasBeenSet
bool ApplicationIdHasBeenSet() const
Definition: HostedConfigurationVersionSummary.h:48
Aws::AppConfig::Model::HostedConfigurationVersionSummary::SetContentType
void SetContentType(Aws::String &&value)
Definition: HostedConfigurationVersionSummary.h:210
Aws::AppConfig::Model::HostedConfigurationVersionSummary::SetApplicationId
void SetApplicationId(Aws::String &&value)
Definition: HostedConfigurationVersionSummary.h:58
Aws::AppConfig::Model::HostedConfigurationVersionSummary::WithVersionNumber
HostedConfigurationVersionSummary & WithVersionNumber(int value)
Definition: HostedConfigurationVersionSummary.h:140
Aws::AppConfig::Model::HostedConfigurationVersionSummary::VersionNumberHasBeenSet
bool VersionNumberHasBeenSet() const
Definition: HostedConfigurationVersionSummary.h:130
Aws::AppConfig::Model::HostedConfigurationVersionSummary::WithConfigurationProfileId
HostedConfigurationVersionSummary & WithConfigurationProfileId(const char *value)
Definition: HostedConfigurationVersionSummary.h:119
AppConfig_EXPORTS.h
Aws::AppConfig::Model::HostedConfigurationVersionSummary::WithApplicationId
HostedConfigurationVersionSummary & WithApplicationId(const char *value)
Definition: HostedConfigurationVersionSummary.h:78
Aws::AppConfig::Model::HostedConfigurationVersionSummary::WithContentType
HostedConfigurationVersionSummary & WithContentType(const char *value)
Definition: HostedConfigurationVersionSummary.h:238
Aws::AppConfig::Model::HostedConfigurationVersionSummary::SetDescription
void SetDescription(Aws::String &&value)
Definition: HostedConfigurationVersionSummary.h:161
Aws::AppConfig::Model::HostedConfigurationVersionSummary::WithDescription
HostedConfigurationVersionSummary & WithDescription(const char *value)
Definition: HostedConfigurationVersionSummary.h:181
Aws::AppConfig::Model::HostedConfigurationVersionSummary::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: HostedConfigurationVersionSummary.h:151
Aws::AppConfig::Model::HostedConfigurationVersionSummary::WithDescription
HostedConfigurationVersionSummary & WithDescription(const Aws::String &value)
Definition: HostedConfigurationVersionSummary.h:171
Aws::AppConfig::Model::HostedConfigurationVersionSummary::GetDescription
const Aws::String & GetDescription() const
Definition: HostedConfigurationVersionSummary.h:146
Aws::AppConfig::Model::HostedConfigurationVersionSummary::GetConfigurationProfileId
const Aws::String & GetConfigurationProfileId() const
Definition: HostedConfigurationVersionSummary.h:84
Aws::AppConfig::Model::HostedConfigurationVersionSummary::WithContentType
HostedConfigurationVersionSummary & WithContentType(const Aws::String &value)
Definition: HostedConfigurationVersionSummary.h:224
Aws::AppConfig::Model::HostedConfigurationVersionSummary::SetApplicationId
void SetApplicationId(const char *value)
Definition: HostedConfigurationVersionSummary.h:63
Aws::AppConfig::Model::HostedConfigurationVersionSummary::SetDescription
void SetDescription(const char *value)
Definition: HostedConfigurationVersionSummary.h:166
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppConfig::Model::HostedConfigurationVersionSummary::HostedConfigurationVersionSummary
HostedConfigurationVersionSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::AppConfig::Model::HostedConfigurationVersionSummary::GetVersionNumber
int GetVersionNumber() const
Definition: HostedConfigurationVersionSummary.h:125
Aws::AppConfig::Model::HostedConfigurationVersionSummary::SetDescription
void SetDescription(const Aws::String &value)
Definition: HostedConfigurationVersionSummary.h:156
Aws::AppConfig::Model::HostedConfigurationVersionSummary::WithConfigurationProfileId
HostedConfigurationVersionSummary & WithConfigurationProfileId(Aws::String &&value)
Definition: HostedConfigurationVersionSummary.h:114
Aws::AppConfig::Model::HostedConfigurationVersionSummary::HostedConfigurationVersionSummary
HostedConfigurationVersionSummary()
Aws::AppConfig::Model::HostedConfigurationVersionSummary
Definition: HostedConfigurationVersionSummary.h:32
Aws::AppConfig::Model::HostedConfigurationVersionSummary::WithDescription
HostedConfigurationVersionSummary & WithDescription(Aws::String &&value)
Definition: HostedConfigurationVersionSummary.h:176
Aws::AppConfig::Model::HostedConfigurationVersionSummary::ContentTypeHasBeenSet
bool ContentTypeHasBeenSet() const
Definition: HostedConfigurationVersionSummary.h:196
Aws::AppConfig::Model::HostedConfigurationVersionSummary::GetContentType
const Aws::String & GetContentType() const
Definition: HostedConfigurationVersionSummary.h:189
Aws::AppConfig::Model::HostedConfigurationVersionSummary::WithApplicationId
HostedConfigurationVersionSummary & WithApplicationId(const Aws::String &value)
Definition: HostedConfigurationVersionSummary.h:68
Aws::AppConfig::Model::HostedConfigurationVersionSummary::SetConfigurationProfileId
void SetConfigurationProfileId(Aws::String &&value)
Definition: HostedConfigurationVersionSummary.h:99
Aws
Definition: AccessManagementClient.h:15
Aws::AppConfig::Model::HostedConfigurationVersionSummary::WithContentType
HostedConfigurationVersionSummary & WithContentType(Aws::String &&value)
Definition: HostedConfigurationVersionSummary.h:231
Aws::AppConfig::Model::HostedConfigurationVersionSummary::SetContentType
void SetContentType(const char *value)
Definition: HostedConfigurationVersionSummary.h:217
Aws::AppConfig::Model::HostedConfigurationVersionSummary::GetApplicationId
const Aws::String & GetApplicationId() const
Definition: HostedConfigurationVersionSummary.h:43
Aws::AppConfig::Model::HostedConfigurationVersionSummary::WithApplicationId
HostedConfigurationVersionSummary & WithApplicationId(Aws::String &&value)
Definition: HostedConfigurationVersionSummary.h:73
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::HostedConfigurationVersionSummary::SetConfigurationProfileId
void SetConfigurationProfileId(const char *value)
Definition: HostedConfigurationVersionSummary.h:104