AWS SDK for C++  1.9.20
AWS SDK for C++
LayerVersionsListItem.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace Lambda
24 {
25 namespace Model
26 {
27 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetLayerVersionArn() const{ return m_layerVersionArn; }
48 
52  inline bool LayerVersionArnHasBeenSet() const { return m_layerVersionArnHasBeenSet; }
53 
57  inline void SetLayerVersionArn(const Aws::String& value) { m_layerVersionArnHasBeenSet = true; m_layerVersionArn = value; }
58 
62  inline void SetLayerVersionArn(Aws::String&& value) { m_layerVersionArnHasBeenSet = true; m_layerVersionArn = std::move(value); }
63 
67  inline void SetLayerVersionArn(const char* value) { m_layerVersionArnHasBeenSet = true; m_layerVersionArn.assign(value); }
68 
72  inline LayerVersionsListItem& WithLayerVersionArn(const Aws::String& value) { SetLayerVersionArn(value); return *this;}
73 
77  inline LayerVersionsListItem& WithLayerVersionArn(Aws::String&& value) { SetLayerVersionArn(std::move(value)); return *this;}
78 
82  inline LayerVersionsListItem& WithLayerVersionArn(const char* value) { SetLayerVersionArn(value); return *this;}
83 
84 
88  inline long long GetVersion() const{ return m_version; }
89 
93  inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
94 
98  inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; }
99 
103  inline LayerVersionsListItem& WithVersion(long long value) { SetVersion(value); return *this;}
104 
105 
109  inline const Aws::String& GetDescription() const{ return m_description; }
110 
114  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
115 
119  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
120 
124  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
125 
129  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
130 
134  inline LayerVersionsListItem& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
135 
139  inline LayerVersionsListItem& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
140 
144  inline LayerVersionsListItem& WithDescription(const char* value) { SetDescription(value); return *this;}
145 
146 
151  inline const Aws::String& GetCreatedDate() const{ return m_createdDate; }
152 
157  inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
158 
163  inline void SetCreatedDate(const Aws::String& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
164 
169  inline void SetCreatedDate(Aws::String&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
170 
175  inline void SetCreatedDate(const char* value) { m_createdDateHasBeenSet = true; m_createdDate.assign(value); }
176 
181  inline LayerVersionsListItem& WithCreatedDate(const Aws::String& value) { SetCreatedDate(value); return *this;}
182 
187  inline LayerVersionsListItem& WithCreatedDate(Aws::String&& value) { SetCreatedDate(std::move(value)); return *this;}
188 
193  inline LayerVersionsListItem& WithCreatedDate(const char* value) { SetCreatedDate(value); return *this;}
194 
195 
199  inline const Aws::Vector<Runtime>& GetCompatibleRuntimes() const{ return m_compatibleRuntimes; }
200 
204  inline bool CompatibleRuntimesHasBeenSet() const { return m_compatibleRuntimesHasBeenSet; }
205 
209  inline void SetCompatibleRuntimes(const Aws::Vector<Runtime>& value) { m_compatibleRuntimesHasBeenSet = true; m_compatibleRuntimes = value; }
210 
214  inline void SetCompatibleRuntimes(Aws::Vector<Runtime>&& value) { m_compatibleRuntimesHasBeenSet = true; m_compatibleRuntimes = std::move(value); }
215 
219  inline LayerVersionsListItem& WithCompatibleRuntimes(const Aws::Vector<Runtime>& value) { SetCompatibleRuntimes(value); return *this;}
220 
224  inline LayerVersionsListItem& WithCompatibleRuntimes(Aws::Vector<Runtime>&& value) { SetCompatibleRuntimes(std::move(value)); return *this;}
225 
229  inline LayerVersionsListItem& AddCompatibleRuntimes(const Runtime& value) { m_compatibleRuntimesHasBeenSet = true; m_compatibleRuntimes.push_back(value); return *this; }
230 
234  inline LayerVersionsListItem& AddCompatibleRuntimes(Runtime&& value) { m_compatibleRuntimesHasBeenSet = true; m_compatibleRuntimes.push_back(std::move(value)); return *this; }
235 
236 
240  inline const Aws::String& GetLicenseInfo() const{ return m_licenseInfo; }
241 
245  inline bool LicenseInfoHasBeenSet() const { return m_licenseInfoHasBeenSet; }
246 
250  inline void SetLicenseInfo(const Aws::String& value) { m_licenseInfoHasBeenSet = true; m_licenseInfo = value; }
251 
255  inline void SetLicenseInfo(Aws::String&& value) { m_licenseInfoHasBeenSet = true; m_licenseInfo = std::move(value); }
256 
260  inline void SetLicenseInfo(const char* value) { m_licenseInfoHasBeenSet = true; m_licenseInfo.assign(value); }
261 
265  inline LayerVersionsListItem& WithLicenseInfo(const Aws::String& value) { SetLicenseInfo(value); return *this;}
266 
270  inline LayerVersionsListItem& WithLicenseInfo(Aws::String&& value) { SetLicenseInfo(std::move(value)); return *this;}
271 
275  inline LayerVersionsListItem& WithLicenseInfo(const char* value) { SetLicenseInfo(value); return *this;}
276 
277  private:
278 
279  Aws::String m_layerVersionArn;
280  bool m_layerVersionArnHasBeenSet;
281 
282  long long m_version;
283  bool m_versionHasBeenSet;
284 
285  Aws::String m_description;
286  bool m_descriptionHasBeenSet;
287 
288  Aws::String m_createdDate;
289  bool m_createdDateHasBeenSet;
290 
291  Aws::Vector<Runtime> m_compatibleRuntimes;
292  bool m_compatibleRuntimesHasBeenSet;
293 
294  Aws::String m_licenseInfo;
295  bool m_licenseInfoHasBeenSet;
296  };
297 
298 } // namespace Model
299 } // namespace Lambda
300 } // namespace Aws
Aws::Lambda::Model::LayerVersionsListItem::SetCreatedDate
void SetCreatedDate(Aws::String &&value)
Definition: LayerVersionsListItem.h:169
Aws::Lambda::Model::LayerVersionsListItem::WithLicenseInfo
LayerVersionsListItem & WithLicenseInfo(const Aws::String &value)
Definition: LayerVersionsListItem.h:265
Aws::Lambda::Model::LayerVersionsListItem::GetCompatibleRuntimes
const Aws::Vector< Runtime > & GetCompatibleRuntimes() const
Definition: LayerVersionsListItem.h:199
Aws::Lambda::Model::LayerVersionsListItem::WithCompatibleRuntimes
LayerVersionsListItem & WithCompatibleRuntimes(const Aws::Vector< Runtime > &value)
Definition: LayerVersionsListItem.h:219
Aws::Lambda::Model::LayerVersionsListItem::GetDescription
const Aws::String & GetDescription() const
Definition: LayerVersionsListItem.h:109
Aws::Lambda::Model::LayerVersionsListItem
Definition: LayerVersionsListItem.h:36
Aws::Lambda::Model::LayerVersionsListItem::LicenseInfoHasBeenSet
bool LicenseInfoHasBeenSet() const
Definition: LayerVersionsListItem.h:245
Aws::Lambda::Model::LayerVersionsListItem::WithCreatedDate
LayerVersionsListItem & WithCreatedDate(const Aws::String &value)
Definition: LayerVersionsListItem.h:181
Aws::Lambda::Model::LayerVersionsListItem::SetLayerVersionArn
void SetLayerVersionArn(const char *value)
Definition: LayerVersionsListItem.h:67
Aws::Lambda::Model::LayerVersionsListItem::SetCreatedDate
void SetCreatedDate(const Aws::String &value)
Definition: LayerVersionsListItem.h:163
Aws::Lambda::Model::LayerVersionsListItem::WithLicenseInfo
LayerVersionsListItem & WithLicenseInfo(const char *value)
Definition: LayerVersionsListItem.h:275
Aws::Lambda::Model::LayerVersionsListItem::SetCreatedDate
void SetCreatedDate(const char *value)
Definition: LayerVersionsListItem.h:175
Aws::Lambda::Model::LayerVersionsListItem::CreatedDateHasBeenSet
bool CreatedDateHasBeenSet() const
Definition: LayerVersionsListItem.h:157
Aws::Lambda::Model::LayerVersionsListItem::AddCompatibleRuntimes
LayerVersionsListItem & AddCompatibleRuntimes(Runtime &&value)
Definition: LayerVersionsListItem.h:234
Aws::Lambda::Model::LayerVersionsListItem::SetCompatibleRuntimes
void SetCompatibleRuntimes(const Aws::Vector< Runtime > &value)
Definition: LayerVersionsListItem.h:209
Aws::Lambda::Model::LayerVersionsListItem::WithDescription
LayerVersionsListItem & WithDescription(const char *value)
Definition: LayerVersionsListItem.h:144
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:77
AWSVector.h
Aws::Lambda::Model::LayerVersionsListItem::SetDescription
void SetDescription(Aws::String &&value)
Definition: LayerVersionsListItem.h:124
Aws::Lambda::Model::Runtime
Runtime
Definition: Runtime.h:17
Aws::Lambda::Model::LayerVersionsListItem::GetLicenseInfo
const Aws::String & GetLicenseInfo() const
Definition: LayerVersionsListItem.h:240
Aws::Lambda::Model::LayerVersionsListItem::WithDescription
LayerVersionsListItem & WithDescription(Aws::String &&value)
Definition: LayerVersionsListItem.h:139
Aws::Lambda::Model::LayerVersionsListItem::SetDescription
void SetDescription(const char *value)
Definition: LayerVersionsListItem.h:129
Aws::Lambda::Model::LayerVersionsListItem::SetLayerVersionArn
void SetLayerVersionArn(const Aws::String &value)
Definition: LayerVersionsListItem.h:57
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:151
Aws::Lambda::Model::LayerVersionsListItem::SetCompatibleRuntimes
void SetCompatibleRuntimes(Aws::Vector< Runtime > &&value)
Definition: LayerVersionsListItem.h:214
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:62
Aws::Lambda::Model::LayerVersionsListItem::WithLayerVersionArn
LayerVersionsListItem & WithLayerVersionArn(const Aws::String &value)
Definition: LayerVersionsListItem.h:72
Aws::Lambda::Model::LayerVersionsListItem::SetLicenseInfo
void SetLicenseInfo(const char *value)
Definition: LayerVersionsListItem.h:260
Aws::Lambda::Model::LayerVersionsListItem::WithCreatedDate
LayerVersionsListItem & WithCreatedDate(const char *value)
Definition: LayerVersionsListItem.h:193
Aws::Lambda::Model::LayerVersionsListItem::WithLayerVersionArn
LayerVersionsListItem & WithLayerVersionArn(const char *value)
Definition: LayerVersionsListItem.h:82
Aws::Lambda::Model::LayerVersionsListItem::VersionHasBeenSet
bool VersionHasBeenSet() const
Definition: LayerVersionsListItem.h:93
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Lambda::Model::LayerVersionsListItem::operator=
LayerVersionsListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Lambda::Model::LayerVersionsListItem::SetLicenseInfo
void SetLicenseInfo(const Aws::String &value)
Definition: LayerVersionsListItem.h:250
Aws::Lambda::Model::LayerVersionsListItem::SetDescription
void SetDescription(const Aws::String &value)
Definition: LayerVersionsListItem.h:119
Aws::Lambda::Model::LayerVersionsListItem::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: LayerVersionsListItem.h:114
Runtime.h
Aws::Lambda::Model::LayerVersionsListItem::WithDescription
LayerVersionsListItem & WithDescription(const Aws::String &value)
Definition: LayerVersionsListItem.h:134
Aws::Lambda::Model::LayerVersionsListItem::LayerVersionArnHasBeenSet
bool LayerVersionArnHasBeenSet() const
Definition: LayerVersionsListItem.h:52
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::LayerVersionsListItem::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lambda::Model::LayerVersionsListItem::WithVersion
LayerVersionsListItem & WithVersion(long long value)
Definition: LayerVersionsListItem.h:103
Aws::Lambda::Model::LayerVersionsListItem::AddCompatibleRuntimes
LayerVersionsListItem & AddCompatibleRuntimes(const Runtime &value)
Definition: LayerVersionsListItem.h:229
Aws::Lambda::Model::LayerVersionsListItem::CompatibleRuntimesHasBeenSet
bool CompatibleRuntimesHasBeenSet() const
Definition: LayerVersionsListItem.h:204
Aws::Lambda::Model::LayerVersionsListItem::WithCompatibleRuntimes
LayerVersionsListItem & WithCompatibleRuntimes(Aws::Vector< Runtime > &&value)
Definition: LayerVersionsListItem.h:224
Aws::Lambda::Model::LayerVersionsListItem::WithLicenseInfo
LayerVersionsListItem & WithLicenseInfo(Aws::String &&value)
Definition: LayerVersionsListItem.h:270
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:88
Aws::Lambda::Model::LayerVersionsListItem::SetLicenseInfo
void SetLicenseInfo(Aws::String &&value)
Definition: LayerVersionsListItem.h:255
Lambda_EXPORTS.h
Aws::Lambda::Model::LayerVersionsListItem::SetVersion
void SetVersion(long long value)
Definition: LayerVersionsListItem.h:98
Aws::Lambda::Model::LayerVersionsListItem::WithCreatedDate
LayerVersionsListItem & WithCreatedDate(Aws::String &&value)
Definition: LayerVersionsListItem.h:187
Aws::Lambda::Model::LayerVersionsListItem::GetLayerVersionArn
const Aws::String & GetLayerVersionArn() const
Definition: LayerVersionsListItem.h:47