AWS SDK for C++  1.9.129
AWS SDK for C++
LayerVersionsListItem.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace Lambda
25 {
26 namespace Model
27 {
28 
37  {
38  public:
43 
44 
48  inline const Aws::String& GetLayerVersionArn() const{ return m_layerVersionArn; }
49 
53  inline bool LayerVersionArnHasBeenSet() const { return m_layerVersionArnHasBeenSet; }
54 
58  inline void SetLayerVersionArn(const Aws::String& value) { m_layerVersionArnHasBeenSet = true; m_layerVersionArn = value; }
59 
63  inline void SetLayerVersionArn(Aws::String&& value) { m_layerVersionArnHasBeenSet = true; m_layerVersionArn = std::move(value); }
64 
68  inline void SetLayerVersionArn(const char* value) { m_layerVersionArnHasBeenSet = true; m_layerVersionArn.assign(value); }
69 
73  inline LayerVersionsListItem& WithLayerVersionArn(const Aws::String& value) { SetLayerVersionArn(value); return *this;}
74 
78  inline LayerVersionsListItem& WithLayerVersionArn(Aws::String&& value) { SetLayerVersionArn(std::move(value)); return *this;}
79 
83  inline LayerVersionsListItem& WithLayerVersionArn(const char* value) { SetLayerVersionArn(value); return *this;}
84 
85 
89  inline long long GetVersion() const{ return m_version; }
90 
94  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
95 
99  inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; }
100 
104  inline LayerVersionsListItem& WithVersion(long long value) { SetVersion(value); return *this;}
105 
106 
110  inline const Aws::String& GetDescription() const{ return m_description; }
111 
115  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
116 
120  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
121 
125  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
126 
130  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
131 
135  inline LayerVersionsListItem& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
136 
140  inline LayerVersionsListItem& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
141 
145  inline LayerVersionsListItem& WithDescription(const char* value) { SetDescription(value); return *this;}
146 
147 
152  inline const Aws::String& GetCreatedDate() const{ return m_createdDate; }
153 
158  inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
159 
164  inline void SetCreatedDate(const Aws::String& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
165 
170  inline void SetCreatedDate(Aws::String&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
171 
176  inline void SetCreatedDate(const char* value) { m_createdDateHasBeenSet = true; m_createdDate.assign(value); }
177 
182  inline LayerVersionsListItem& WithCreatedDate(const Aws::String& value) { SetCreatedDate(value); return *this;}
183 
188  inline LayerVersionsListItem& WithCreatedDate(Aws::String&& value) { SetCreatedDate(std::move(value)); return *this;}
189 
194  inline LayerVersionsListItem& WithCreatedDate(const char* value) { SetCreatedDate(value); return *this;}
195 
196 
200  inline const Aws::Vector<Runtime>& GetCompatibleRuntimes() const{ return m_compatibleRuntimes; }
201 
205  inline bool CompatibleRuntimesHasBeenSet() const { return m_compatibleRuntimesHasBeenSet; }
206 
210  inline void SetCompatibleRuntimes(const Aws::Vector<Runtime>& value) { m_compatibleRuntimesHasBeenSet = true; m_compatibleRuntimes = value; }
211 
215  inline void SetCompatibleRuntimes(Aws::Vector<Runtime>&& value) { m_compatibleRuntimesHasBeenSet = true; m_compatibleRuntimes = std::move(value); }
216 
220  inline LayerVersionsListItem& WithCompatibleRuntimes(const Aws::Vector<Runtime>& value) { SetCompatibleRuntimes(value); return *this;}
221 
225  inline LayerVersionsListItem& WithCompatibleRuntimes(Aws::Vector<Runtime>&& value) { SetCompatibleRuntimes(std::move(value)); return *this;}
226 
230  inline LayerVersionsListItem& AddCompatibleRuntimes(const Runtime& value) { m_compatibleRuntimesHasBeenSet = true; m_compatibleRuntimes.push_back(value); return *this; }
231 
235  inline LayerVersionsListItem& AddCompatibleRuntimes(Runtime&& value) { m_compatibleRuntimesHasBeenSet = true; m_compatibleRuntimes.push_back(std::move(value)); return *this; }
236 
237 
241  inline const Aws::String& GetLicenseInfo() const{ return m_licenseInfo; }
242 
246  inline bool LicenseInfoHasBeenSet() const { return m_licenseInfoHasBeenSet; }
247 
251  inline void SetLicenseInfo(const Aws::String& value) { m_licenseInfoHasBeenSet = true; m_licenseInfo = value; }
252 
256  inline void SetLicenseInfo(Aws::String&& value) { m_licenseInfoHasBeenSet = true; m_licenseInfo = std::move(value); }
257 
261  inline void SetLicenseInfo(const char* value) { m_licenseInfoHasBeenSet = true; m_licenseInfo.assign(value); }
262 
266  inline LayerVersionsListItem& WithLicenseInfo(const Aws::String& value) { SetLicenseInfo(value); return *this;}
267 
271  inline LayerVersionsListItem& WithLicenseInfo(Aws::String&& value) { SetLicenseInfo(std::move(value)); return *this;}
272 
276  inline LayerVersionsListItem& WithLicenseInfo(const char* value) { SetLicenseInfo(value); return *this;}
277 
278 
284  inline const Aws::Vector<Architecture>& GetCompatibleArchitectures() const{ return m_compatibleArchitectures; }
285 
291  inline bool CompatibleArchitecturesHasBeenSet() const { return m_compatibleArchitecturesHasBeenSet; }
292 
298  inline void SetCompatibleArchitectures(const Aws::Vector<Architecture>& value) { m_compatibleArchitecturesHasBeenSet = true; m_compatibleArchitectures = value; }
299 
305  inline void SetCompatibleArchitectures(Aws::Vector<Architecture>&& value) { m_compatibleArchitecturesHasBeenSet = true; m_compatibleArchitectures = std::move(value); }
306 
312  inline LayerVersionsListItem& WithCompatibleArchitectures(const Aws::Vector<Architecture>& value) { SetCompatibleArchitectures(value); return *this;}
313 
319  inline LayerVersionsListItem& WithCompatibleArchitectures(Aws::Vector<Architecture>&& value) { SetCompatibleArchitectures(std::move(value)); return *this;}
320 
326  inline LayerVersionsListItem& AddCompatibleArchitectures(const Architecture& value) { m_compatibleArchitecturesHasBeenSet = true; m_compatibleArchitectures.push_back(value); return *this; }
327 
333  inline LayerVersionsListItem& AddCompatibleArchitectures(Architecture&& value) { m_compatibleArchitecturesHasBeenSet = true; m_compatibleArchitectures.push_back(std::move(value)); return *this; }
334 
335  private:
336 
337  Aws::String m_layerVersionArn;
338  bool m_layerVersionArnHasBeenSet;
339 
340  long long m_version;
341  bool m_versionHasBeenSet;
342 
343  Aws::String m_description;
344  bool m_descriptionHasBeenSet;
345 
346  Aws::String m_createdDate;
347  bool m_createdDateHasBeenSet;
348 
349  Aws::Vector<Runtime> m_compatibleRuntimes;
350  bool m_compatibleRuntimesHasBeenSet;
351 
352  Aws::String m_licenseInfo;
353  bool m_licenseInfoHasBeenSet;
354 
355  Aws::Vector<Architecture> m_compatibleArchitectures;
356  bool m_compatibleArchitecturesHasBeenSet;
357  };
358 
359 } // namespace Model
360 } // namespace Lambda
361 } // namespace Aws
Aws::Lambda::Model::LayerVersionsListItem::SetCreatedDate
void SetCreatedDate(Aws::String &&value)
Definition: LayerVersionsListItem.h:170
Aws::Lambda::Model::LayerVersionsListItem::WithLicenseInfo
LayerVersionsListItem & WithLicenseInfo(const Aws::String &value)
Definition: LayerVersionsListItem.h:266
Aws::Lambda::Model::LayerVersionsListItem::GetCompatibleRuntimes
const Aws::Vector< Runtime > & GetCompatibleRuntimes() const
Definition: LayerVersionsListItem.h:200
Aws::Lambda::Model::LayerVersionsListItem::WithCompatibleRuntimes
LayerVersionsListItem & WithCompatibleRuntimes(const Aws::Vector< Runtime > &value)
Definition: LayerVersionsListItem.h:220
Aws::Lambda::Model::LayerVersionsListItem::GetDescription
const Aws::String & GetDescription() const
Definition: LayerVersionsListItem.h:110
Aws::Lambda::Model::LayerVersionsListItem::WithCompatibleArchitectures
LayerVersionsListItem & WithCompatibleArchitectures(const Aws::Vector< Architecture > &value)
Definition: LayerVersionsListItem.h:312
Aws::Lambda::Model::LayerVersionsListItem
Definition: LayerVersionsListItem.h:37
Aws::Lambda::Model::LayerVersionsListItem::LicenseInfoHasBeenSet
bool LicenseInfoHasBeenSet() const
Definition: LayerVersionsListItem.h:246
Aws::Lambda::Model::LayerVersionsListItem::GetCompatibleArchitectures
const Aws::Vector< Architecture > & GetCompatibleArchitectures() const
Definition: LayerVersionsListItem.h:284
Aws::Lambda::Model::LayerVersionsListItem::WithCreatedDate
LayerVersionsListItem & WithCreatedDate(const Aws::String &value)
Definition: LayerVersionsListItem.h:182
Aws::Lambda::Model::LayerVersionsListItem::SetLayerVersionArn
void SetLayerVersionArn(const char *value)
Definition: LayerVersionsListItem.h:68
Aws::Lambda::Model::LayerVersionsListItem::SetCreatedDate
void SetCreatedDate(const Aws::String &value)
Definition: LayerVersionsListItem.h:164
Aws::Lambda::Model::LayerVersionsListItem::WithLicenseInfo
LayerVersionsListItem & WithLicenseInfo(const char *value)
Definition: LayerVersionsListItem.h:276
Aws::Lambda::Model::LayerVersionsListItem::SetCompatibleArchitectures
void SetCompatibleArchitectures(Aws::Vector< Architecture > &&value)
Definition: LayerVersionsListItem.h:305
Aws::Lambda::Model::LayerVersionsListItem::SetCreatedDate
void SetCreatedDate(const char *value)
Definition: LayerVersionsListItem.h:176
Aws::Lambda::Model::LayerVersionsListItem::CreatedDateHasBeenSet
bool CreatedDateHasBeenSet() const
Definition: LayerVersionsListItem.h:158
Aws::Lambda::Model::LayerVersionsListItem::AddCompatibleRuntimes
LayerVersionsListItem & AddCompatibleRuntimes(Runtime &&value)
Definition: LayerVersionsListItem.h:235
Aws::Lambda::Model::LayerVersionsListItem::SetCompatibleRuntimes
void SetCompatibleRuntimes(const Aws::Vector< Runtime > &value)
Definition: LayerVersionsListItem.h:210
Aws::Lambda::Model::LayerVersionsListItem::WithDescription
LayerVersionsListItem & WithDescription(const char *value)
Definition: LayerVersionsListItem.h:145
Runtime.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lambda::Model::LayerVersionsListItem::WithLayerVersionArn
LayerVersionsListItem & WithLayerVersionArn(Aws::String &&value)
Definition: LayerVersionsListItem.h:78
AWSVector.h
Aws::Lambda::Model::LayerVersionsListItem::SetDescription
void SetDescription(Aws::String &&value)
Definition: LayerVersionsListItem.h:125
Aws::Lambda::Model::Runtime
Runtime
Definition: Runtime.h:17
Aws::Lambda::Model::LayerVersionsListItem::GetLicenseInfo
const Aws::String & GetLicenseInfo() const
Definition: LayerVersionsListItem.h:241
Aws::Lambda::Model::LayerVersionsListItem::WithDescription
LayerVersionsListItem & WithDescription(Aws::String &&value)
Definition: LayerVersionsListItem.h:140
Aws::Lambda::Model::LayerVersionsListItem::SetDescription
void SetDescription(const char *value)
Definition: LayerVersionsListItem.h:130
Aws::Lambda::Model::LayerVersionsListItem::SetLayerVersionArn
void SetLayerVersionArn(const Aws::String &value)
Definition: LayerVersionsListItem.h:58
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::LayerVersionsListItem::GetCreatedDate
const Aws::String & GetCreatedDate() const
Definition: LayerVersionsListItem.h:152
Aws::Lambda::Model::LayerVersionsListItem::SetCompatibleRuntimes
void SetCompatibleRuntimes(Aws::Vector< Runtime > &&value)
Definition: LayerVersionsListItem.h:215
Aws::Lambda::Model::LayerVersionsListItem::CompatibleArchitecturesHasBeenSet
bool CompatibleArchitecturesHasBeenSet() const
Definition: LayerVersionsListItem.h:291
Aws::Lambda::Model::LayerVersionsListItem::LayerVersionsListItem
LayerVersionsListItem()
Aws::Lambda::Model::LayerVersionsListItem::LayerVersionsListItem
LayerVersionsListItem(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::LayerVersionsListItem::SetLayerVersionArn
void SetLayerVersionArn(Aws::String &&value)
Definition: LayerVersionsListItem.h:63
Aws::Lambda::Model::LayerVersionsListItem::WithLayerVersionArn
LayerVersionsListItem & WithLayerVersionArn(const Aws::String &value)
Definition: LayerVersionsListItem.h:73
Aws::Lambda::Model::LayerVersionsListItem::SetLicenseInfo
void SetLicenseInfo(const char *value)
Definition: LayerVersionsListItem.h:261
Aws::Lambda::Model::LayerVersionsListItem::WithCreatedDate
LayerVersionsListItem & WithCreatedDate(const char *value)
Definition: LayerVersionsListItem.h:194
Aws::Lambda::Model::LayerVersionsListItem::WithLayerVersionArn
LayerVersionsListItem & WithLayerVersionArn(const char *value)
Definition: LayerVersionsListItem.h:83
Aws::Lambda::Model::LayerVersionsListItem::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: LayerVersionsListItem.h:94
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Lambda::Model::LayerVersionsListItem::WithCompatibleArchitectures
LayerVersionsListItem & WithCompatibleArchitectures(Aws::Vector< Architecture > &&value)
Definition: LayerVersionsListItem.h:319
Architecture.h
AWSString.h
Aws::Lambda::Model::LayerVersionsListItem::AddCompatibleArchitectures
LayerVersionsListItem & AddCompatibleArchitectures(const Architecture &value)
Definition: LayerVersionsListItem.h:326
Aws::Lambda::Model::LayerVersionsListItem::operator=
LayerVersionsListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Lambda::Model::LayerVersionsListItem::SetLicenseInfo
void SetLicenseInfo(const Aws::String &value)
Definition: LayerVersionsListItem.h:251
Aws::Lambda::Model::LayerVersionsListItem::SetDescription
void SetDescription(const Aws::String &value)
Definition: LayerVersionsListItem.h:120
Aws::Lambda::Model::LayerVersionsListItem::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: LayerVersionsListItem.h:115
Aws::Lambda::Model::LayerVersionsListItem::WithDescription
LayerVersionsListItem & WithDescription(const Aws::String &value)
Definition: LayerVersionsListItem.h:135
Aws::Lambda::Model::LayerVersionsListItem::LayerVersionArnHasBeenSet
bool LayerVersionArnHasBeenSet() const
Definition: LayerVersionsListItem.h:53
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::LayerVersionsListItem::AddCompatibleArchitectures
LayerVersionsListItem & AddCompatibleArchitectures(Architecture &&value)
Definition: LayerVersionsListItem.h:333
Aws::Lambda::Model::LayerVersionsListItem::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lambda::Model::Architecture
Architecture
Definition: Architecture.h:17
Aws::Lambda::Model::LayerVersionsListItem::WithVersion
LayerVersionsListItem & WithVersion(long long value)
Definition: LayerVersionsListItem.h:104
Aws::Lambda::Model::LayerVersionsListItem::AddCompatibleRuntimes
LayerVersionsListItem & AddCompatibleRuntimes(const Runtime &value)
Definition: LayerVersionsListItem.h:230
Aws::Lambda::Model::LayerVersionsListItem::CompatibleRuntimesHasBeenSet
bool CompatibleRuntimesHasBeenSet() const
Definition: LayerVersionsListItem.h:205
Aws::Lambda::Model::LayerVersionsListItem::WithCompatibleRuntimes
LayerVersionsListItem & WithCompatibleRuntimes(Aws::Vector< Runtime > &&value)
Definition: LayerVersionsListItem.h:225
Aws::Lambda::Model::LayerVersionsListItem::WithLicenseInfo
LayerVersionsListItem & WithLicenseInfo(Aws::String &&value)
Definition: LayerVersionsListItem.h:271
Aws::Lambda::Model::LayerVersionsListItem::SetCompatibleArchitectures
void SetCompatibleArchitectures(const Aws::Vector< Architecture > &value)
Definition: LayerVersionsListItem.h:298
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::LayerVersionsListItem::GetVersion
long long GetVersion() const
Definition: LayerVersionsListItem.h:89
Aws::Lambda::Model::LayerVersionsListItem::SetLicenseInfo
void SetLicenseInfo(Aws::String &&value)
Definition: LayerVersionsListItem.h:256
Lambda_EXPORTS.h
Aws::Lambda::Model::LayerVersionsListItem::SetVersion
void SetVersion(long long value)
Definition: LayerVersionsListItem.h:99
Aws::Lambda::Model::LayerVersionsListItem::WithCreatedDate
LayerVersionsListItem & WithCreatedDate(Aws::String &&value)
Definition: LayerVersionsListItem.h:188
Aws::Lambda::Model::LayerVersionsListItem::GetLayerVersionArn
const Aws::String & GetLayerVersionArn() const
Definition: LayerVersionsListItem.h:48