AWS SDK for C++  1.9.110
AWS SDK for C++
CreateHostedConfigurationVersionResult.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 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace AppConfig
19 {
20 namespace Model
21 {
23  {
24  public:
26  //We have to define these because Microsoft doesn't auto generate them
29  //we delete these because Microsoft doesn't handle move generation correctly
30  //and we therefore don't trust them to get it right here either.
33 
34 
37 
38 
39 
43  inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
44 
48  inline void SetApplicationId(const Aws::String& value) { m_applicationId = value; }
49 
53  inline void SetApplicationId(Aws::String&& value) { m_applicationId = std::move(value); }
54 
58  inline void SetApplicationId(const char* value) { m_applicationId.assign(value); }
59 
63  inline CreateHostedConfigurationVersionResult& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
64 
68  inline CreateHostedConfigurationVersionResult& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
69 
73  inline CreateHostedConfigurationVersionResult& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
74 
75 
79  inline const Aws::String& GetConfigurationProfileId() const{ return m_configurationProfileId; }
80 
84  inline void SetConfigurationProfileId(const Aws::String& value) { m_configurationProfileId = value; }
85 
89  inline void SetConfigurationProfileId(Aws::String&& value) { m_configurationProfileId = std::move(value); }
90 
94  inline void SetConfigurationProfileId(const char* value) { m_configurationProfileId.assign(value); }
95 
99  inline CreateHostedConfigurationVersionResult& WithConfigurationProfileId(const Aws::String& value) { SetConfigurationProfileId(value); return *this;}
100 
104  inline CreateHostedConfigurationVersionResult& WithConfigurationProfileId(Aws::String&& value) { SetConfigurationProfileId(std::move(value)); return *this;}
105 
109  inline CreateHostedConfigurationVersionResult& WithConfigurationProfileId(const char* value) { SetConfigurationProfileId(value); return *this;}
110 
111 
115  inline int GetVersionNumber() const{ return m_versionNumber; }
116 
120  inline void SetVersionNumber(int value) { m_versionNumber = value; }
121 
125  inline CreateHostedConfigurationVersionResult& WithVersionNumber(int value) { SetVersionNumber(value); return *this;}
126 
127 
131  inline const Aws::String& GetDescription() const{ return m_description; }
132 
136  inline void SetDescription(const Aws::String& value) { m_description = value; }
137 
141  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
142 
146  inline void SetDescription(const char* value) { m_description.assign(value); }
147 
151  inline CreateHostedConfigurationVersionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
152 
156  inline CreateHostedConfigurationVersionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
157 
161  inline CreateHostedConfigurationVersionResult& WithDescription(const char* value) { SetDescription(value); return *this;}
162 
163 
167  inline Aws::IOStream& GetContent() { return m_content.GetUnderlyingStream(); }
168 
172  inline void ReplaceBody(Aws::IOStream* body) { m_content = Aws::Utils::Stream::ResponseStream(body); }
173 
174 
180  inline const Aws::String& GetContentType() const{ return m_contentType; }
181 
187  inline void SetContentType(const Aws::String& value) { m_contentType = value; }
188 
194  inline void SetContentType(Aws::String&& value) { m_contentType = std::move(value); }
195 
201  inline void SetContentType(const char* value) { m_contentType.assign(value); }
202 
208  inline CreateHostedConfigurationVersionResult& WithContentType(const Aws::String& value) { SetContentType(value); return *this;}
209 
215  inline CreateHostedConfigurationVersionResult& WithContentType(Aws::String&& value) { SetContentType(std::move(value)); return *this;}
216 
222  inline CreateHostedConfigurationVersionResult& WithContentType(const char* value) { SetContentType(value); return *this;}
223 
224  private:
225 
226  Aws::String m_applicationId;
227 
228  Aws::String m_configurationProfileId;
229 
230  int m_versionNumber;
231 
232  Aws::String m_description;
233 
235 
236  Aws::String m_contentType;
237  };
238 
239 } // namespace Model
240 } // namespace AppConfig
241 } // namespace Aws
Aws::IOStream
std::basic_iostream< char, std::char_traits< char > > IOStream
Definition: AWSStreamFwd.h:22
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::SetConfigurationProfileId
void SetConfigurationProfileId(Aws::String &&value)
Definition: CreateHostedConfigurationVersionResult.h:89
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Utils::Stream::ResponseStream
Definition: ResponseStream.h:22
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::SetConfigurationProfileId
void SetConfigurationProfileId(const Aws::String &value)
Definition: CreateHostedConfigurationVersionResult.h:84
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::WithDescription
CreateHostedConfigurationVersionResult & WithDescription(const Aws::String &value)
Definition: CreateHostedConfigurationVersionResult.h:151
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateHostedConfigurationVersionResult.h:136
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::SetContentType
void SetContentType(const Aws::String &value)
Definition: CreateHostedConfigurationVersionResult.h:187
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::GetVersionNumber
int GetVersionNumber() const
Definition: CreateHostedConfigurationVersionResult.h:115
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::operator=
CreateHostedConfigurationVersionResult & operator=(CreateHostedConfigurationVersionResult &&)
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::SetConfigurationProfileId
void SetConfigurationProfileId(const char *value)
Definition: CreateHostedConfigurationVersionResult.h:94
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::WithContentType
CreateHostedConfigurationVersionResult & WithContentType(Aws::String &&value)
Definition: CreateHostedConfigurationVersionResult.h:215
AppConfig_EXPORTS.h
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::operator=
CreateHostedConfigurationVersionResult & operator=(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult
Definition: CreateHostedConfigurationVersionResult.h:23
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::WithApplicationId
CreateHostedConfigurationVersionResult & WithApplicationId(const Aws::String &value)
Definition: CreateHostedConfigurationVersionResult.h:63
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::WithContentType
CreateHostedConfigurationVersionResult & WithContentType(const char *value)
Definition: CreateHostedConfigurationVersionResult.h:222
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::GetApplicationId
const Aws::String & GetApplicationId() const
Definition: CreateHostedConfigurationVersionResult.h:43
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::WithConfigurationProfileId
CreateHostedConfigurationVersionResult & WithConfigurationProfileId(const char *value)
Definition: CreateHostedConfigurationVersionResult.h:109
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateHostedConfigurationVersionResult.h:141
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::CreateHostedConfigurationVersionResult
CreateHostedConfigurationVersionResult(const CreateHostedConfigurationVersionResult &)=delete
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::CreateHostedConfigurationVersionResult
CreateHostedConfigurationVersionResult()
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::SetDescription
void SetDescription(const char *value)
Definition: CreateHostedConfigurationVersionResult.h:146
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::WithVersionNumber
CreateHostedConfigurationVersionResult & WithVersionNumber(int value)
Definition: CreateHostedConfigurationVersionResult.h:125
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::WithConfigurationProfileId
CreateHostedConfigurationVersionResult & WithConfigurationProfileId(Aws::String &&value)
Definition: CreateHostedConfigurationVersionResult.h:104
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::operator=
CreateHostedConfigurationVersionResult & operator=(const CreateHostedConfigurationVersionResult &)=delete
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::SetContentType
void SetContentType(const char *value)
Definition: CreateHostedConfigurationVersionResult.h:201
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::CreateHostedConfigurationVersionResult
CreateHostedConfigurationVersionResult(CreateHostedConfigurationVersionResult &&)
AWSString.h
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::WithApplicationId
CreateHostedConfigurationVersionResult & WithApplicationId(Aws::String &&value)
Definition: CreateHostedConfigurationVersionResult.h:68
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::SetApplicationId
void SetApplicationId(Aws::String &&value)
Definition: CreateHostedConfigurationVersionResult.h:53
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::SetApplicationId
void SetApplicationId(const char *value)
Definition: CreateHostedConfigurationVersionResult.h:58
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::ReplaceBody
void ReplaceBody(Aws::IOStream *body)
Definition: CreateHostedConfigurationVersionResult.h:172
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::WithDescription
CreateHostedConfigurationVersionResult & WithDescription(Aws::String &&value)
Definition: CreateHostedConfigurationVersionResult.h:156
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::GetContent
Aws::IOStream & GetContent()
Definition: CreateHostedConfigurationVersionResult.h:167
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::SetContentType
void SetContentType(Aws::String &&value)
Definition: CreateHostedConfigurationVersionResult.h:194
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::SetVersionNumber
void SetVersionNumber(int value)
Definition: CreateHostedConfigurationVersionResult.h:120
Aws
Definition: AccessManagementClient.h:15
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::GetDescription
const Aws::String & GetDescription() const
Definition: CreateHostedConfigurationVersionResult.h:131
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::WithApplicationId
CreateHostedConfigurationVersionResult & WithApplicationId(const char *value)
Definition: CreateHostedConfigurationVersionResult.h:73
Array.h
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::SetApplicationId
void SetApplicationId(const Aws::String &value)
Definition: CreateHostedConfigurationVersionResult.h:48
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::WithDescription
CreateHostedConfigurationVersionResult & WithDescription(const char *value)
Definition: CreateHostedConfigurationVersionResult.h:161
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::CreateHostedConfigurationVersionResult::GetContentType
const Aws::String & GetContentType() const
Definition: CreateHostedConfigurationVersionResult.h:180
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::CreateHostedConfigurationVersionResult
CreateHostedConfigurationVersionResult(Aws::AmazonWebServiceResult< Aws::Utils::Stream::ResponseStream > &&result)
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::WithContentType
CreateHostedConfigurationVersionResult & WithContentType(const Aws::String &value)
Definition: CreateHostedConfigurationVersionResult.h:208
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::WithConfigurationProfileId
CreateHostedConfigurationVersionResult & WithConfigurationProfileId(const Aws::String &value)
Definition: CreateHostedConfigurationVersionResult.h:99
ResponseStream.h
Aws::AppConfig::Model::CreateHostedConfigurationVersionResult::GetConfigurationProfileId
const Aws::String & GetConfigurationProfileId() const
Definition: CreateHostedConfigurationVersionResult.h:79