AWS SDK for C++  1.9.130
AWS SDK for C++
PublishLayerVersionResult.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 template<typename RESULT_TYPE>
18 class AmazonWebServiceResult;
19 
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25 } // namespace Json
26 } // namespace Utils
27 namespace Lambda
28 {
29 namespace Model
30 {
32  {
33  public:
37 
38 
42  inline const LayerVersionContentOutput& GetContent() const{ return m_content; }
43 
47  inline void SetContent(const LayerVersionContentOutput& value) { m_content = value; }
48 
52  inline void SetContent(LayerVersionContentOutput&& value) { m_content = std::move(value); }
53 
57  inline PublishLayerVersionResult& WithContent(const LayerVersionContentOutput& value) { SetContent(value); return *this;}
58 
62  inline PublishLayerVersionResult& WithContent(LayerVersionContentOutput&& value) { SetContent(std::move(value)); return *this;}
63 
64 
68  inline const Aws::String& GetLayerArn() const{ return m_layerArn; }
69 
73  inline void SetLayerArn(const Aws::String& value) { m_layerArn = value; }
74 
78  inline void SetLayerArn(Aws::String&& value) { m_layerArn = std::move(value); }
79 
83  inline void SetLayerArn(const char* value) { m_layerArn.assign(value); }
84 
88  inline PublishLayerVersionResult& WithLayerArn(const Aws::String& value) { SetLayerArn(value); return *this;}
89 
93  inline PublishLayerVersionResult& WithLayerArn(Aws::String&& value) { SetLayerArn(std::move(value)); return *this;}
94 
98  inline PublishLayerVersionResult& WithLayerArn(const char* value) { SetLayerArn(value); return *this;}
99 
100 
104  inline const Aws::String& GetLayerVersionArn() const{ return m_layerVersionArn; }
105 
109  inline void SetLayerVersionArn(const Aws::String& value) { m_layerVersionArn = value; }
110 
114  inline void SetLayerVersionArn(Aws::String&& value) { m_layerVersionArn = std::move(value); }
115 
119  inline void SetLayerVersionArn(const char* value) { m_layerVersionArn.assign(value); }
120 
124  inline PublishLayerVersionResult& WithLayerVersionArn(const Aws::String& value) { SetLayerVersionArn(value); return *this;}
125 
129  inline PublishLayerVersionResult& WithLayerVersionArn(Aws::String&& value) { SetLayerVersionArn(std::move(value)); return *this;}
130 
134  inline PublishLayerVersionResult& WithLayerVersionArn(const char* value) { SetLayerVersionArn(value); return *this;}
135 
136 
140  inline const Aws::String& GetDescription() const{ return m_description; }
141 
145  inline void SetDescription(const Aws::String& value) { m_description = value; }
146 
150  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
151 
155  inline void SetDescription(const char* value) { m_description.assign(value); }
156 
160  inline PublishLayerVersionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
161 
165  inline PublishLayerVersionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
166 
170  inline PublishLayerVersionResult& WithDescription(const char* value) { SetDescription(value); return *this;}
171 
172 
178  inline const Aws::String& GetCreatedDate() const{ return m_createdDate; }
179 
185  inline void SetCreatedDate(const Aws::String& value) { m_createdDate = value; }
186 
192  inline void SetCreatedDate(Aws::String&& value) { m_createdDate = std::move(value); }
193 
199  inline void SetCreatedDate(const char* value) { m_createdDate.assign(value); }
200 
206  inline PublishLayerVersionResult& WithCreatedDate(const Aws::String& value) { SetCreatedDate(value); return *this;}
207 
213  inline PublishLayerVersionResult& WithCreatedDate(Aws::String&& value) { SetCreatedDate(std::move(value)); return *this;}
214 
220  inline PublishLayerVersionResult& WithCreatedDate(const char* value) { SetCreatedDate(value); return *this;}
221 
222 
226  inline long long GetVersion() const{ return m_version; }
227 
231  inline void SetVersion(long long value) { m_version = value; }
232 
236  inline PublishLayerVersionResult& WithVersion(long long value) { SetVersion(value); return *this;}
237 
238 
242  inline const Aws::Vector<Runtime>& GetCompatibleRuntimes() const{ return m_compatibleRuntimes; }
243 
247  inline void SetCompatibleRuntimes(const Aws::Vector<Runtime>& value) { m_compatibleRuntimes = value; }
248 
252  inline void SetCompatibleRuntimes(Aws::Vector<Runtime>&& value) { m_compatibleRuntimes = std::move(value); }
253 
257  inline PublishLayerVersionResult& WithCompatibleRuntimes(const Aws::Vector<Runtime>& value) { SetCompatibleRuntimes(value); return *this;}
258 
262  inline PublishLayerVersionResult& WithCompatibleRuntimes(Aws::Vector<Runtime>&& value) { SetCompatibleRuntimes(std::move(value)); return *this;}
263 
267  inline PublishLayerVersionResult& AddCompatibleRuntimes(const Runtime& value) { m_compatibleRuntimes.push_back(value); return *this; }
268 
272  inline PublishLayerVersionResult& AddCompatibleRuntimes(Runtime&& value) { m_compatibleRuntimes.push_back(std::move(value)); return *this; }
273 
274 
278  inline const Aws::String& GetLicenseInfo() const{ return m_licenseInfo; }
279 
283  inline void SetLicenseInfo(const Aws::String& value) { m_licenseInfo = value; }
284 
288  inline void SetLicenseInfo(Aws::String&& value) { m_licenseInfo = std::move(value); }
289 
293  inline void SetLicenseInfo(const char* value) { m_licenseInfo.assign(value); }
294 
298  inline PublishLayerVersionResult& WithLicenseInfo(const Aws::String& value) { SetLicenseInfo(value); return *this;}
299 
303  inline PublishLayerVersionResult& WithLicenseInfo(Aws::String&& value) { SetLicenseInfo(std::move(value)); return *this;}
304 
308  inline PublishLayerVersionResult& WithLicenseInfo(const char* value) { SetLicenseInfo(value); return *this;}
309 
310 
316  inline const Aws::Vector<Architecture>& GetCompatibleArchitectures() const{ return m_compatibleArchitectures; }
317 
323  inline void SetCompatibleArchitectures(const Aws::Vector<Architecture>& value) { m_compatibleArchitectures = value; }
324 
330  inline void SetCompatibleArchitectures(Aws::Vector<Architecture>&& value) { m_compatibleArchitectures = std::move(value); }
331 
337  inline PublishLayerVersionResult& WithCompatibleArchitectures(const Aws::Vector<Architecture>& value) { SetCompatibleArchitectures(value); return *this;}
338 
344  inline PublishLayerVersionResult& WithCompatibleArchitectures(Aws::Vector<Architecture>&& value) { SetCompatibleArchitectures(std::move(value)); return *this;}
345 
351  inline PublishLayerVersionResult& AddCompatibleArchitectures(const Architecture& value) { m_compatibleArchitectures.push_back(value); return *this; }
352 
358  inline PublishLayerVersionResult& AddCompatibleArchitectures(Architecture&& value) { m_compatibleArchitectures.push_back(std::move(value)); return *this; }
359 
360  private:
361 
362  LayerVersionContentOutput m_content;
363 
364  Aws::String m_layerArn;
365 
366  Aws::String m_layerVersionArn;
367 
368  Aws::String m_description;
369 
370  Aws::String m_createdDate;
371 
372  long long m_version;
373 
374  Aws::Vector<Runtime> m_compatibleRuntimes;
375 
376  Aws::String m_licenseInfo;
377 
378  Aws::Vector<Architecture> m_compatibleArchitectures;
379  };
380 
381 } // namespace Model
382 } // namespace Lambda
383 } // namespace Aws
Aws::Lambda::Model::PublishLayerVersionResult::WithLicenseInfo
PublishLayerVersionResult & WithLicenseInfo(Aws::String &&value)
Definition: PublishLayerVersionResult.h:303
Aws::Lambda::Model::PublishLayerVersionResult::SetContent
void SetContent(const LayerVersionContentOutput &value)
Definition: PublishLayerVersionResult.h:47
Aws::Lambda::Model::PublishLayerVersionResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: PublishLayerVersionResult.h:145
Aws::Lambda::Model::PublishLayerVersionResult::WithVersion
PublishLayerVersionResult & WithVersion(long long value)
Definition: PublishLayerVersionResult.h:236
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lambda::Model::PublishLayerVersionResult::WithContent
PublishLayerVersionResult & WithContent(const LayerVersionContentOutput &value)
Definition: PublishLayerVersionResult.h:57
Aws::Lambda::Model::PublishLayerVersionResult::SetCreatedDate
void SetCreatedDate(const Aws::String &value)
Definition: PublishLayerVersionResult.h:185
Aws::Lambda::Model::PublishLayerVersionResult::SetDescription
void SetDescription(const char *value)
Definition: PublishLayerVersionResult.h:155
Aws::Lambda::Model::PublishLayerVersionResult::WithContent
PublishLayerVersionResult & WithContent(LayerVersionContentOutput &&value)
Definition: PublishLayerVersionResult.h:62
Aws::Lambda::Model::PublishLayerVersionResult::SetCompatibleArchitectures
void SetCompatibleArchitectures(const Aws::Vector< Architecture > &value)
Definition: PublishLayerVersionResult.h:323
Aws::Lambda::Model::PublishLayerVersionResult::SetLayerVersionArn
void SetLayerVersionArn(const char *value)
Definition: PublishLayerVersionResult.h:119
Aws::Lambda::Model::PublishLayerVersionResult::GetLicenseInfo
const Aws::String & GetLicenseInfo() const
Definition: PublishLayerVersionResult.h:278
Aws::Lambda::Model::PublishLayerVersionResult::SetLayerVersionArn
void SetLayerVersionArn(Aws::String &&value)
Definition: PublishLayerVersionResult.h:114
Aws::Lambda::Model::PublishLayerVersionResult::GetVersion
long long GetVersion() const
Definition: PublishLayerVersionResult.h:226
Aws::Lambda::Model::PublishLayerVersionResult::WithDescription
PublishLayerVersionResult & WithDescription(Aws::String &&value)
Definition: PublishLayerVersionResult.h:165
Aws::Lambda::Model::PublishLayerVersionResult::SetVersion
void SetVersion(long long value)
Definition: PublishLayerVersionResult.h:231
Aws::Lambda::Model::PublishLayerVersionResult::GetLayerVersionArn
const Aws::String & GetLayerVersionArn() const
Definition: PublishLayerVersionResult.h:104
Aws::Lambda::Model::LayerVersionContentOutput
Definition: LayerVersionContentOutput.h:34
Runtime.h
Aws::Lambda::Model::PublishLayerVersionResult::SetLicenseInfo
void SetLicenseInfo(Aws::String &&value)
Definition: PublishLayerVersionResult.h:288
Aws::Lambda::Model::PublishLayerVersionResult::GetCreatedDate
const Aws::String & GetCreatedDate() const
Definition: PublishLayerVersionResult.h:178
Aws::Lambda::Model::PublishLayerVersionResult::PublishLayerVersionResult
PublishLayerVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lambda::Model::PublishLayerVersionResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: PublishLayerVersionResult.h:150
Aws::Lambda::Model::PublishLayerVersionResult::WithCreatedDate
PublishLayerVersionResult & WithCreatedDate(const Aws::String &value)
Definition: PublishLayerVersionResult.h:206
AWSVector.h
Aws::Lambda::Model::PublishLayerVersionResult::WithLayerVersionArn
PublishLayerVersionResult & WithLayerVersionArn(Aws::String &&value)
Definition: PublishLayerVersionResult.h:129
Aws::Lambda::Model::PublishLayerVersionResult::SetCompatibleArchitectures
void SetCompatibleArchitectures(Aws::Vector< Architecture > &&value)
Definition: PublishLayerVersionResult.h:330
Aws::Lambda::Model::PublishLayerVersionResult::GetCompatibleArchitectures
const Aws::Vector< Architecture > & GetCompatibleArchitectures() const
Definition: PublishLayerVersionResult.h:316
Aws::Lambda::Model::PublishLayerVersionResult::SetLayerVersionArn
void SetLayerVersionArn(const Aws::String &value)
Definition: PublishLayerVersionResult.h:109
Aws::Lambda::Model::PublishLayerVersionResult::WithLayerVersionArn
PublishLayerVersionResult & WithLayerVersionArn(const char *value)
Definition: PublishLayerVersionResult.h:134
Aws::Lambda::Model::Runtime
Runtime
Definition: Runtime.h:17
Aws::Lambda::Model::PublishLayerVersionResult::WithDescription
PublishLayerVersionResult & WithDescription(const Aws::String &value)
Definition: PublishLayerVersionResult.h:160
Aws::Lambda::Model::PublishLayerVersionResult::SetLicenseInfo
void SetLicenseInfo(const char *value)
Definition: PublishLayerVersionResult.h:293
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::PublishLayerVersionResult::SetContent
void SetContent(LayerVersionContentOutput &&value)
Definition: PublishLayerVersionResult.h:52
Aws::Lambda::Model::PublishLayerVersionResult::operator=
PublishLayerVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lambda::Model::PublishLayerVersionResult::WithDescription
PublishLayerVersionResult & WithDescription(const char *value)
Definition: PublishLayerVersionResult.h:170
Aws::Lambda::Model::PublishLayerVersionResult::WithLayerArn
PublishLayerVersionResult & WithLayerArn(Aws::String &&value)
Definition: PublishLayerVersionResult.h:93
Aws::Lambda::Model::PublishLayerVersionResult::WithLayerVersionArn
PublishLayerVersionResult & WithLayerVersionArn(const Aws::String &value)
Definition: PublishLayerVersionResult.h:124
Aws::Lambda::Model::PublishLayerVersionResult::WithCompatibleRuntimes
PublishLayerVersionResult & WithCompatibleRuntimes(const Aws::Vector< Runtime > &value)
Definition: PublishLayerVersionResult.h:257
Aws::Lambda::Model::PublishLayerVersionResult::AddCompatibleArchitectures
PublishLayerVersionResult & AddCompatibleArchitectures(Architecture &&value)
Definition: PublishLayerVersionResult.h:358
Architecture.h
AWSString.h
Aws::Lambda::Model::PublishLayerVersionResult::WithLayerArn
PublishLayerVersionResult & WithLayerArn(const Aws::String &value)
Definition: PublishLayerVersionResult.h:88
Aws::Lambda::Model::PublishLayerVersionResult::SetCompatibleRuntimes
void SetCompatibleRuntimes(Aws::Vector< Runtime > &&value)
Definition: PublishLayerVersionResult.h:252
Aws::Lambda::Model::PublishLayerVersionResult::GetContent
const LayerVersionContentOutput & GetContent() const
Definition: PublishLayerVersionResult.h:42
Aws::Lambda::Model::PublishLayerVersionResult
Definition: PublishLayerVersionResult.h:32
Aws::Lambda::Model::PublishLayerVersionResult::WithCreatedDate
PublishLayerVersionResult & WithCreatedDate(Aws::String &&value)
Definition: PublishLayerVersionResult.h:213
Aws::Lambda::Model::PublishLayerVersionResult::SetLayerArn
void SetLayerArn(Aws::String &&value)
Definition: PublishLayerVersionResult.h:78
Aws::Lambda::Model::PublishLayerVersionResult::WithCompatibleRuntimes
PublishLayerVersionResult & WithCompatibleRuntimes(Aws::Vector< Runtime > &&value)
Definition: PublishLayerVersionResult.h:262
Aws::Lambda::Model::PublishLayerVersionResult::SetCreatedDate
void SetCreatedDate(Aws::String &&value)
Definition: PublishLayerVersionResult.h:192
Aws::Lambda::Model::PublishLayerVersionResult::GetLayerArn
const Aws::String & GetLayerArn() const
Definition: PublishLayerVersionResult.h:68
Aws::Lambda::Model::PublishLayerVersionResult::GetCompatibleRuntimes
const Aws::Vector< Runtime > & GetCompatibleRuntimes() const
Definition: PublishLayerVersionResult.h:242
Aws::Lambda::Model::PublishLayerVersionResult::SetCompatibleRuntimes
void SetCompatibleRuntimes(const Aws::Vector< Runtime > &value)
Definition: PublishLayerVersionResult.h:247
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::PublishLayerVersionResult::WithCreatedDate
PublishLayerVersionResult & WithCreatedDate(const char *value)
Definition: PublishLayerVersionResult.h:220
Aws::Lambda::Model::Architecture
Architecture
Definition: Architecture.h:17
Aws::Lambda::Model::PublishLayerVersionResult::SetLayerArn
void SetLayerArn(const Aws::String &value)
Definition: PublishLayerVersionResult.h:73
Aws::Lambda::Model::PublishLayerVersionResult::SetLayerArn
void SetLayerArn(const char *value)
Definition: PublishLayerVersionResult.h:83
Aws::Lambda::Model::PublishLayerVersionResult::AddCompatibleRuntimes
PublishLayerVersionResult & AddCompatibleRuntimes(const Runtime &value)
Definition: PublishLayerVersionResult.h:267
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::PublishLayerVersionResult::WithLayerArn
PublishLayerVersionResult & WithLayerArn(const char *value)
Definition: PublishLayerVersionResult.h:98
Aws::Lambda::Model::PublishLayerVersionResult::WithLicenseInfo
PublishLayerVersionResult & WithLicenseInfo(const Aws::String &value)
Definition: PublishLayerVersionResult.h:298
Aws::Lambda::Model::PublishLayerVersionResult::WithCompatibleArchitectures
PublishLayerVersionResult & WithCompatibleArchitectures(const Aws::Vector< Architecture > &value)
Definition: PublishLayerVersionResult.h:337
Aws::Lambda::Model::PublishLayerVersionResult::WithCompatibleArchitectures
PublishLayerVersionResult & WithCompatibleArchitectures(Aws::Vector< Architecture > &&value)
Definition: PublishLayerVersionResult.h:344
Aws::Lambda::Model::PublishLayerVersionResult::SetLicenseInfo
void SetLicenseInfo(const Aws::String &value)
Definition: PublishLayerVersionResult.h:283
Aws::Lambda::Model::PublishLayerVersionResult::AddCompatibleRuntimes
PublishLayerVersionResult & AddCompatibleRuntimes(Runtime &&value)
Definition: PublishLayerVersionResult.h:272
Aws::Lambda::Model::PublishLayerVersionResult::GetDescription
const Aws::String & GetDescription() const
Definition: PublishLayerVersionResult.h:140
Aws::Lambda::Model::PublishLayerVersionResult::WithLicenseInfo
PublishLayerVersionResult & WithLicenseInfo(const char *value)
Definition: PublishLayerVersionResult.h:308
Aws::Lambda::Model::PublishLayerVersionResult::PublishLayerVersionResult
PublishLayerVersionResult()
Lambda_EXPORTS.h
LayerVersionContentOutput.h
Aws::Lambda::Model::PublishLayerVersionResult::SetCreatedDate
void SetCreatedDate(const char *value)
Definition: PublishLayerVersionResult.h:199
Aws::Lambda::Model::PublishLayerVersionResult::AddCompatibleArchitectures
PublishLayerVersionResult & AddCompatibleArchitectures(const Architecture &value)
Definition: PublishLayerVersionResult.h:351