AWS SDK for C++  1.9.123
AWS SDK for C++
GetLayerVersionResult.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 GetLayerVersionResult& WithContent(const LayerVersionContentOutput& value) { SetContent(value); return *this;}
58 
62  inline GetLayerVersionResult& 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 GetLayerVersionResult& WithLayerArn(const Aws::String& value) { SetLayerArn(value); return *this;}
89 
93  inline GetLayerVersionResult& WithLayerArn(Aws::String&& value) { SetLayerArn(std::move(value)); return *this;}
94 
98  inline GetLayerVersionResult& 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 GetLayerVersionResult& WithLayerVersionArn(const Aws::String& value) { SetLayerVersionArn(value); return *this;}
125 
129  inline GetLayerVersionResult& WithLayerVersionArn(Aws::String&& value) { SetLayerVersionArn(std::move(value)); return *this;}
130 
134  inline GetLayerVersionResult& 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 GetLayerVersionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
161 
165  inline GetLayerVersionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
166 
170  inline GetLayerVersionResult& 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 GetLayerVersionResult& WithCreatedDate(const Aws::String& value) { SetCreatedDate(value); return *this;}
207 
213  inline GetLayerVersionResult& WithCreatedDate(Aws::String&& value) { SetCreatedDate(std::move(value)); return *this;}
214 
220  inline GetLayerVersionResult& 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 GetLayerVersionResult& 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 GetLayerVersionResult& WithCompatibleRuntimes(const Aws::Vector<Runtime>& value) { SetCompatibleRuntimes(value); return *this;}
258 
262  inline GetLayerVersionResult& WithCompatibleRuntimes(Aws::Vector<Runtime>&& value) { SetCompatibleRuntimes(std::move(value)); return *this;}
263 
267  inline GetLayerVersionResult& AddCompatibleRuntimes(const Runtime& value) { m_compatibleRuntimes.push_back(value); return *this; }
268 
272  inline GetLayerVersionResult& 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 GetLayerVersionResult& WithLicenseInfo(const Aws::String& value) { SetLicenseInfo(value); return *this;}
299 
303  inline GetLayerVersionResult& WithLicenseInfo(Aws::String&& value) { SetLicenseInfo(std::move(value)); return *this;}
304 
308  inline GetLayerVersionResult& 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 GetLayerVersionResult& WithCompatibleArchitectures(const Aws::Vector<Architecture>& value) { SetCompatibleArchitectures(value); return *this;}
338 
344  inline GetLayerVersionResult& WithCompatibleArchitectures(Aws::Vector<Architecture>&& value) { SetCompatibleArchitectures(std::move(value)); return *this;}
345 
351  inline GetLayerVersionResult& AddCompatibleArchitectures(const Architecture& value) { m_compatibleArchitectures.push_back(value); return *this; }
352 
358  inline GetLayerVersionResult& 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::GetLayerVersionResult::GetDescription
const Aws::String & GetDescription() const
Definition: GetLayerVersionResult.h:140
Aws::Lambda::Model::GetLayerVersionResult::WithCreatedDate
GetLayerVersionResult & WithCreatedDate(Aws::String &&value)
Definition: GetLayerVersionResult.h:213
Aws::Lambda::Model::GetLayerVersionResult::WithCompatibleRuntimes
GetLayerVersionResult & WithCompatibleRuntimes(const Aws::Vector< Runtime > &value)
Definition: GetLayerVersionResult.h:257
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lambda::Model::GetLayerVersionResult::WithLayerVersionArn
GetLayerVersionResult & WithLayerVersionArn(const char *value)
Definition: GetLayerVersionResult.h:134
Aws::Lambda::Model::GetLayerVersionResult::SetLayerArn
void SetLayerArn(const char *value)
Definition: GetLayerVersionResult.h:83
Aws::Lambda::Model::GetLayerVersionResult::SetDescription
void SetDescription(const char *value)
Definition: GetLayerVersionResult.h:155
Aws::Lambda::Model::GetLayerVersionResult::GetCompatibleArchitectures
const Aws::Vector< Architecture > & GetCompatibleArchitectures() const
Definition: GetLayerVersionResult.h:316
Aws::Lambda::Model::GetLayerVersionResult::WithCompatibleArchitectures
GetLayerVersionResult & WithCompatibleArchitectures(const Aws::Vector< Architecture > &value)
Definition: GetLayerVersionResult.h:337
Aws::Lambda::Model::GetLayerVersionResult::WithContent
GetLayerVersionResult & WithContent(const LayerVersionContentOutput &value)
Definition: GetLayerVersionResult.h:57
Aws::Lambda::Model::GetLayerVersionResult::SetCreatedDate
void SetCreatedDate(const char *value)
Definition: GetLayerVersionResult.h:199
Aws::Lambda::Model::GetLayerVersionResult::GetLayerArn
const Aws::String & GetLayerArn() const
Definition: GetLayerVersionResult.h:68
Aws::Lambda::Model::GetLayerVersionResult::WithLayerVersionArn
GetLayerVersionResult & WithLayerVersionArn(Aws::String &&value)
Definition: GetLayerVersionResult.h:129
Aws::Lambda::Model::GetLayerVersionResult::SetLayerVersionArn
void SetLayerVersionArn(const Aws::String &value)
Definition: GetLayerVersionResult.h:109
Aws::Lambda::Model::GetLayerVersionResult::SetLayerArn
void SetLayerArn(const Aws::String &value)
Definition: GetLayerVersionResult.h:73
Aws::Lambda::Model::GetLayerVersionResult::WithLayerVersionArn
GetLayerVersionResult & WithLayerVersionArn(const Aws::String &value)
Definition: GetLayerVersionResult.h:124
Aws::Lambda::Model::GetLayerVersionResult::GetCreatedDate
const Aws::String & GetCreatedDate() const
Definition: GetLayerVersionResult.h:178
Aws::Lambda::Model::GetLayerVersionResult::WithVersion
GetLayerVersionResult & WithVersion(long long value)
Definition: GetLayerVersionResult.h:236
Aws::Lambda::Model::GetLayerVersionResult::operator=
GetLayerVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lambda::Model::LayerVersionContentOutput
Definition: LayerVersionContentOutput.h:34
Aws::Lambda::Model::GetLayerVersionResult::SetCompatibleRuntimes
void SetCompatibleRuntimes(const Aws::Vector< Runtime > &value)
Definition: GetLayerVersionResult.h:247
Aws::Lambda::Model::GetLayerVersionResult::GetContent
const LayerVersionContentOutput & GetContent() const
Definition: GetLayerVersionResult.h:42
Runtime.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lambda::Model::GetLayerVersionResult::AddCompatibleRuntimes
GetLayerVersionResult & AddCompatibleRuntimes(Runtime &&value)
Definition: GetLayerVersionResult.h:272
Aws::Lambda::Model::GetLayerVersionResult::WithLayerArn
GetLayerVersionResult & WithLayerArn(const char *value)
Definition: GetLayerVersionResult.h:98
Aws::Lambda::Model::GetLayerVersionResult::WithLicenseInfo
GetLayerVersionResult & WithLicenseInfo(const Aws::String &value)
Definition: GetLayerVersionResult.h:298
AWSVector.h
Aws::Lambda::Model::GetLayerVersionResult::WithCreatedDate
GetLayerVersionResult & WithCreatedDate(const char *value)
Definition: GetLayerVersionResult.h:220
Aws::Lambda::Model::Runtime
Runtime
Definition: Runtime.h:17
Aws::Lambda::Model::GetLayerVersionResult::WithDescription
GetLayerVersionResult & WithDescription(Aws::String &&value)
Definition: GetLayerVersionResult.h:165
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::GetLayerVersionResult::AddCompatibleRuntimes
GetLayerVersionResult & AddCompatibleRuntimes(const Runtime &value)
Definition: GetLayerVersionResult.h:267
Aws::Lambda::Model::GetLayerVersionResult::SetCompatibleArchitectures
void SetCompatibleArchitectures(const Aws::Vector< Architecture > &value)
Definition: GetLayerVersionResult.h:323
Aws::Lambda::Model::GetLayerVersionResult::WithDescription
GetLayerVersionResult & WithDescription(const char *value)
Definition: GetLayerVersionResult.h:170
Aws::Lambda::Model::GetLayerVersionResult::WithCompatibleRuntimes
GetLayerVersionResult & WithCompatibleRuntimes(Aws::Vector< Runtime > &&value)
Definition: GetLayerVersionResult.h:262
Aws::Lambda::Model::GetLayerVersionResult::SetCompatibleArchitectures
void SetCompatibleArchitectures(Aws::Vector< Architecture > &&value)
Definition: GetLayerVersionResult.h:330
Aws::Lambda::Model::GetLayerVersionResult::SetLayerArn
void SetLayerArn(Aws::String &&value)
Definition: GetLayerVersionResult.h:78
Aws::Lambda::Model::GetLayerVersionResult::WithDescription
GetLayerVersionResult & WithDescription(const Aws::String &value)
Definition: GetLayerVersionResult.h:160
Aws::Lambda::Model::GetLayerVersionResult::SetContent
void SetContent(LayerVersionContentOutput &&value)
Definition: GetLayerVersionResult.h:52
Aws::Lambda::Model::GetLayerVersionResult::SetCompatibleRuntimes
void SetCompatibleRuntimes(Aws::Vector< Runtime > &&value)
Definition: GetLayerVersionResult.h:252
Architecture.h
AWSString.h
Aws::Lambda::Model::GetLayerVersionResult::WithContent
GetLayerVersionResult & WithContent(LayerVersionContentOutput &&value)
Definition: GetLayerVersionResult.h:62
Aws::Lambda::Model::GetLayerVersionResult
Definition: GetLayerVersionResult.h:32
Aws::Lambda::Model::GetLayerVersionResult::GetLayerVersionArn
const Aws::String & GetLayerVersionArn() const
Definition: GetLayerVersionResult.h:104
Aws::Lambda::Model::GetLayerVersionResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: GetLayerVersionResult.h:145
Aws::Lambda::Model::GetLayerVersionResult::SetContent
void SetContent(const LayerVersionContentOutput &value)
Definition: GetLayerVersionResult.h:47
Aws::Lambda::Model::GetLayerVersionResult::WithLicenseInfo
GetLayerVersionResult & WithLicenseInfo(const char *value)
Definition: GetLayerVersionResult.h:308
Aws::Lambda::Model::GetLayerVersionResult::SetLicenseInfo
void SetLicenseInfo(Aws::String &&value)
Definition: GetLayerVersionResult.h:288
Aws::Lambda::Model::GetLayerVersionResult::WithLayerArn
GetLayerVersionResult & WithLayerArn(const Aws::String &value)
Definition: GetLayerVersionResult.h:88
Aws::Lambda::Model::GetLayerVersionResult::GetLicenseInfo
const Aws::String & GetLicenseInfo() const
Definition: GetLayerVersionResult.h:278
Aws::Lambda::Model::GetLayerVersionResult::GetVersion
long long GetVersion() const
Definition: GetLayerVersionResult.h:226
Aws::Lambda::Model::GetLayerVersionResult::GetLayerVersionResult
GetLayerVersionResult()
Aws::Lambda::Model::GetLayerVersionResult::AddCompatibleArchitectures
GetLayerVersionResult & AddCompatibleArchitectures(Architecture &&value)
Definition: GetLayerVersionResult.h:358
Aws::Lambda::Model::GetLayerVersionResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: GetLayerVersionResult.h:150
Aws::Lambda::Model::GetLayerVersionResult::SetLayerVersionArn
void SetLayerVersionArn(Aws::String &&value)
Definition: GetLayerVersionResult.h:114
Aws::Lambda::Model::GetLayerVersionResult::WithLicenseInfo
GetLayerVersionResult & WithLicenseInfo(Aws::String &&value)
Definition: GetLayerVersionResult.h:303
Aws::Lambda::Model::GetLayerVersionResult::SetCreatedDate
void SetCreatedDate(Aws::String &&value)
Definition: GetLayerVersionResult.h:192
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::GetLayerVersionResult::SetCreatedDate
void SetCreatedDate(const Aws::String &value)
Definition: GetLayerVersionResult.h:185
Aws::Lambda::Model::GetLayerVersionResult::SetLicenseInfo
void SetLicenseInfo(const Aws::String &value)
Definition: GetLayerVersionResult.h:283
Aws::Lambda::Model::Architecture
Architecture
Definition: Architecture.h:17
Aws::Lambda::Model::GetLayerVersionResult::GetCompatibleRuntimes
const Aws::Vector< Runtime > & GetCompatibleRuntimes() const
Definition: GetLayerVersionResult.h:242
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::GetLayerVersionResult::WithCreatedDate
GetLayerVersionResult & WithCreatedDate(const Aws::String &value)
Definition: GetLayerVersionResult.h:206
Aws::Lambda::Model::GetLayerVersionResult::SetLicenseInfo
void SetLicenseInfo(const char *value)
Definition: GetLayerVersionResult.h:293
Aws::Lambda::Model::GetLayerVersionResult::WithCompatibleArchitectures
GetLayerVersionResult & WithCompatibleArchitectures(Aws::Vector< Architecture > &&value)
Definition: GetLayerVersionResult.h:344
Aws::Lambda::Model::GetLayerVersionResult::SetLayerVersionArn
void SetLayerVersionArn(const char *value)
Definition: GetLayerVersionResult.h:119
Aws::Lambda::Model::GetLayerVersionResult::GetLayerVersionResult
GetLayerVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lambda::Model::GetLayerVersionResult::SetVersion
void SetVersion(long long value)
Definition: GetLayerVersionResult.h:231
Lambda_EXPORTS.h
Aws::Lambda::Model::GetLayerVersionResult::AddCompatibleArchitectures
GetLayerVersionResult & AddCompatibleArchitectures(const Architecture &value)
Definition: GetLayerVersionResult.h:351
LayerVersionContentOutput.h
Aws::Lambda::Model::GetLayerVersionResult::WithLayerArn
GetLayerVersionResult & WithLayerArn(Aws::String &&value)
Definition: GetLayerVersionResult.h:93