AWS SDK for C++  1.9.19
AWS SDK for C++
PublishLayerVersionResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace Lambda
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const LayerVersionContentOutput& GetContent() const{ return m_content; }
42 
46  inline void SetContent(const LayerVersionContentOutput& value) { m_content = value; }
47 
51  inline void SetContent(LayerVersionContentOutput&& value) { m_content = std::move(value); }
52 
56  inline PublishLayerVersionResult& WithContent(const LayerVersionContentOutput& value) { SetContent(value); return *this;}
57 
61  inline PublishLayerVersionResult& WithContent(LayerVersionContentOutput&& value) { SetContent(std::move(value)); return *this;}
62 
63 
67  inline const Aws::String& GetLayerArn() const{ return m_layerArn; }
68 
72  inline void SetLayerArn(const Aws::String& value) { m_layerArn = value; }
73 
77  inline void SetLayerArn(Aws::String&& value) { m_layerArn = std::move(value); }
78 
82  inline void SetLayerArn(const char* value) { m_layerArn.assign(value); }
83 
87  inline PublishLayerVersionResult& WithLayerArn(const Aws::String& value) { SetLayerArn(value); return *this;}
88 
92  inline PublishLayerVersionResult& WithLayerArn(Aws::String&& value) { SetLayerArn(std::move(value)); return *this;}
93 
97  inline PublishLayerVersionResult& WithLayerArn(const char* value) { SetLayerArn(value); return *this;}
98 
99 
103  inline const Aws::String& GetLayerVersionArn() const{ return m_layerVersionArn; }
104 
108  inline void SetLayerVersionArn(const Aws::String& value) { m_layerVersionArn = value; }
109 
113  inline void SetLayerVersionArn(Aws::String&& value) { m_layerVersionArn = std::move(value); }
114 
118  inline void SetLayerVersionArn(const char* value) { m_layerVersionArn.assign(value); }
119 
123  inline PublishLayerVersionResult& WithLayerVersionArn(const Aws::String& value) { SetLayerVersionArn(value); return *this;}
124 
128  inline PublishLayerVersionResult& WithLayerVersionArn(Aws::String&& value) { SetLayerVersionArn(std::move(value)); return *this;}
129 
133  inline PublishLayerVersionResult& WithLayerVersionArn(const char* value) { SetLayerVersionArn(value); return *this;}
134 
135 
139  inline const Aws::String& GetDescription() const{ return m_description; }
140 
144  inline void SetDescription(const Aws::String& value) { m_description = value; }
145 
149  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
150 
154  inline void SetDescription(const char* value) { m_description.assign(value); }
155 
159  inline PublishLayerVersionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
160 
164  inline PublishLayerVersionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
165 
169  inline PublishLayerVersionResult& WithDescription(const char* value) { SetDescription(value); return *this;}
170 
171 
177  inline const Aws::String& GetCreatedDate() const{ return m_createdDate; }
178 
184  inline void SetCreatedDate(const Aws::String& value) { m_createdDate = value; }
185 
191  inline void SetCreatedDate(Aws::String&& value) { m_createdDate = std::move(value); }
192 
198  inline void SetCreatedDate(const char* value) { m_createdDate.assign(value); }
199 
205  inline PublishLayerVersionResult& WithCreatedDate(const Aws::String& value) { SetCreatedDate(value); return *this;}
206 
212  inline PublishLayerVersionResult& WithCreatedDate(Aws::String&& value) { SetCreatedDate(std::move(value)); return *this;}
213 
219  inline PublishLayerVersionResult& WithCreatedDate(const char* value) { SetCreatedDate(value); return *this;}
220 
221 
225  inline long long GetVersion() const{ return m_version; }
226 
230  inline void SetVersion(long long value) { m_version = value; }
231 
235  inline PublishLayerVersionResult& WithVersion(long long value) { SetVersion(value); return *this;}
236 
237 
241  inline const Aws::Vector<Runtime>& GetCompatibleRuntimes() const{ return m_compatibleRuntimes; }
242 
246  inline void SetCompatibleRuntimes(const Aws::Vector<Runtime>& value) { m_compatibleRuntimes = value; }
247 
251  inline void SetCompatibleRuntimes(Aws::Vector<Runtime>&& value) { m_compatibleRuntimes = std::move(value); }
252 
256  inline PublishLayerVersionResult& WithCompatibleRuntimes(const Aws::Vector<Runtime>& value) { SetCompatibleRuntimes(value); return *this;}
257 
261  inline PublishLayerVersionResult& WithCompatibleRuntimes(Aws::Vector<Runtime>&& value) { SetCompatibleRuntimes(std::move(value)); return *this;}
262 
266  inline PublishLayerVersionResult& AddCompatibleRuntimes(const Runtime& value) { m_compatibleRuntimes.push_back(value); return *this; }
267 
271  inline PublishLayerVersionResult& AddCompatibleRuntimes(Runtime&& value) { m_compatibleRuntimes.push_back(std::move(value)); return *this; }
272 
273 
277  inline const Aws::String& GetLicenseInfo() const{ return m_licenseInfo; }
278 
282  inline void SetLicenseInfo(const Aws::String& value) { m_licenseInfo = value; }
283 
287  inline void SetLicenseInfo(Aws::String&& value) { m_licenseInfo = std::move(value); }
288 
292  inline void SetLicenseInfo(const char* value) { m_licenseInfo.assign(value); }
293 
297  inline PublishLayerVersionResult& WithLicenseInfo(const Aws::String& value) { SetLicenseInfo(value); return *this;}
298 
302  inline PublishLayerVersionResult& WithLicenseInfo(Aws::String&& value) { SetLicenseInfo(std::move(value)); return *this;}
303 
307  inline PublishLayerVersionResult& WithLicenseInfo(const char* value) { SetLicenseInfo(value); return *this;}
308 
309  private:
310 
311  LayerVersionContentOutput m_content;
312 
313  Aws::String m_layerArn;
314 
315  Aws::String m_layerVersionArn;
316 
317  Aws::String m_description;
318 
319  Aws::String m_createdDate;
320 
321  long long m_version;
322 
323  Aws::Vector<Runtime> m_compatibleRuntimes;
324 
325  Aws::String m_licenseInfo;
326  };
327 
328 } // namespace Model
329 } // namespace Lambda
330 } // namespace Aws
Aws::Lambda::Model::PublishLayerVersionResult::WithLicenseInfo
PublishLayerVersionResult & WithLicenseInfo(Aws::String &&value)
Definition: PublishLayerVersionResult.h:302
Aws::Lambda::Model::PublishLayerVersionResult::SetContent
void SetContent(const LayerVersionContentOutput &value)
Definition: PublishLayerVersionResult.h:46
Aws::Lambda::Model::PublishLayerVersionResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: PublishLayerVersionResult.h:144
Aws::Lambda::Model::PublishLayerVersionResult::WithVersion
PublishLayerVersionResult & WithVersion(long long value)
Definition: PublishLayerVersionResult.h:235
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lambda::Model::PublishLayerVersionResult::WithContent
PublishLayerVersionResult & WithContent(const LayerVersionContentOutput &value)
Definition: PublishLayerVersionResult.h:56
Aws::Lambda::Model::PublishLayerVersionResult::SetCreatedDate
void SetCreatedDate(const Aws::String &value)
Definition: PublishLayerVersionResult.h:184
Aws::Lambda::Model::PublishLayerVersionResult::SetDescription
void SetDescription(const char *value)
Definition: PublishLayerVersionResult.h:154
Aws::Lambda::Model::PublishLayerVersionResult::WithContent
PublishLayerVersionResult & WithContent(LayerVersionContentOutput &&value)
Definition: PublishLayerVersionResult.h:61
Aws::Lambda::Model::PublishLayerVersionResult::SetLayerVersionArn
void SetLayerVersionArn(const char *value)
Definition: PublishLayerVersionResult.h:118
Aws::Lambda::Model::PublishLayerVersionResult::GetLicenseInfo
const Aws::String & GetLicenseInfo() const
Definition: PublishLayerVersionResult.h:277
Aws::Lambda::Model::PublishLayerVersionResult::SetLayerVersionArn
void SetLayerVersionArn(Aws::String &&value)
Definition: PublishLayerVersionResult.h:113
Aws::Lambda::Model::PublishLayerVersionResult::GetVersion
long long GetVersion() const
Definition: PublishLayerVersionResult.h:225
Aws::Lambda::Model::PublishLayerVersionResult::WithDescription
PublishLayerVersionResult & WithDescription(Aws::String &&value)
Definition: PublishLayerVersionResult.h:164
Aws::Lambda::Model::PublishLayerVersionResult::SetVersion
void SetVersion(long long value)
Definition: PublishLayerVersionResult.h:230
Aws::Lambda::Model::PublishLayerVersionResult::GetLayerVersionArn
const Aws::String & GetLayerVersionArn() const
Definition: PublishLayerVersionResult.h:103
Aws::Lambda::Model::LayerVersionContentOutput
Definition: LayerVersionContentOutput.h:34
Aws::Lambda::Model::PublishLayerVersionResult::SetLicenseInfo
void SetLicenseInfo(Aws::String &&value)
Definition: PublishLayerVersionResult.h:287
Aws::Lambda::Model::PublishLayerVersionResult::GetCreatedDate
const Aws::String & GetCreatedDate() const
Definition: PublishLayerVersionResult.h:177
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:149
Aws::Lambda::Model::PublishLayerVersionResult::WithCreatedDate
PublishLayerVersionResult & WithCreatedDate(const Aws::String &value)
Definition: PublishLayerVersionResult.h:205
AWSVector.h
Aws::Lambda::Model::PublishLayerVersionResult::WithLayerVersionArn
PublishLayerVersionResult & WithLayerVersionArn(Aws::String &&value)
Definition: PublishLayerVersionResult.h:128
Aws::Lambda::Model::PublishLayerVersionResult::SetLayerVersionArn
void SetLayerVersionArn(const Aws::String &value)
Definition: PublishLayerVersionResult.h:108
Aws::Lambda::Model::PublishLayerVersionResult::WithLayerVersionArn
PublishLayerVersionResult & WithLayerVersionArn(const char *value)
Definition: PublishLayerVersionResult.h:133
Aws::Lambda::Model::Runtime
Runtime
Definition: Runtime.h:17
Aws::Lambda::Model::PublishLayerVersionResult::WithDescription
PublishLayerVersionResult & WithDescription(const Aws::String &value)
Definition: PublishLayerVersionResult.h:159
Aws::Lambda::Model::PublishLayerVersionResult::SetLicenseInfo
void SetLicenseInfo(const char *value)
Definition: PublishLayerVersionResult.h:292
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::PublishLayerVersionResult::SetContent
void SetContent(LayerVersionContentOutput &&value)
Definition: PublishLayerVersionResult.h:51
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:169
Aws::Lambda::Model::PublishLayerVersionResult::WithLayerArn
PublishLayerVersionResult & WithLayerArn(Aws::String &&value)
Definition: PublishLayerVersionResult.h:92
Aws::Lambda::Model::PublishLayerVersionResult::WithLayerVersionArn
PublishLayerVersionResult & WithLayerVersionArn(const Aws::String &value)
Definition: PublishLayerVersionResult.h:123
Aws::Lambda::Model::PublishLayerVersionResult::WithCompatibleRuntimes
PublishLayerVersionResult & WithCompatibleRuntimes(const Aws::Vector< Runtime > &value)
Definition: PublishLayerVersionResult.h:256
AWSString.h
Aws::Lambda::Model::PublishLayerVersionResult::WithLayerArn
PublishLayerVersionResult & WithLayerArn(const Aws::String &value)
Definition: PublishLayerVersionResult.h:87
Aws::Lambda::Model::PublishLayerVersionResult::SetCompatibleRuntimes
void SetCompatibleRuntimes(Aws::Vector< Runtime > &&value)
Definition: PublishLayerVersionResult.h:251
Aws::Lambda::Model::PublishLayerVersionResult::GetContent
const LayerVersionContentOutput & GetContent() const
Definition: PublishLayerVersionResult.h:41
Aws::Lambda::Model::PublishLayerVersionResult
Definition: PublishLayerVersionResult.h:31
Aws::Lambda::Model::PublishLayerVersionResult::WithCreatedDate
PublishLayerVersionResult & WithCreatedDate(Aws::String &&value)
Definition: PublishLayerVersionResult.h:212
Aws::Lambda::Model::PublishLayerVersionResult::SetLayerArn
void SetLayerArn(Aws::String &&value)
Definition: PublishLayerVersionResult.h:77
Runtime.h
Aws::Lambda::Model::PublishLayerVersionResult::WithCompatibleRuntimes
PublishLayerVersionResult & WithCompatibleRuntimes(Aws::Vector< Runtime > &&value)
Definition: PublishLayerVersionResult.h:261
Aws::Lambda::Model::PublishLayerVersionResult::SetCreatedDate
void SetCreatedDate(Aws::String &&value)
Definition: PublishLayerVersionResult.h:191
Aws::Lambda::Model::PublishLayerVersionResult::GetLayerArn
const Aws::String & GetLayerArn() const
Definition: PublishLayerVersionResult.h:67
Aws::Lambda::Model::PublishLayerVersionResult::GetCompatibleRuntimes
const Aws::Vector< Runtime > & GetCompatibleRuntimes() const
Definition: PublishLayerVersionResult.h:241
Aws::Lambda::Model::PublishLayerVersionResult::SetCompatibleRuntimes
void SetCompatibleRuntimes(const Aws::Vector< Runtime > &value)
Definition: PublishLayerVersionResult.h:246
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:219
Aws::Lambda::Model::PublishLayerVersionResult::SetLayerArn
void SetLayerArn(const Aws::String &value)
Definition: PublishLayerVersionResult.h:72
Aws::Lambda::Model::PublishLayerVersionResult::SetLayerArn
void SetLayerArn(const char *value)
Definition: PublishLayerVersionResult.h:82
Aws::Lambda::Model::PublishLayerVersionResult::AddCompatibleRuntimes
PublishLayerVersionResult & AddCompatibleRuntimes(const Runtime &value)
Definition: PublishLayerVersionResult.h:266
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:97
Aws::Lambda::Model::PublishLayerVersionResult::WithLicenseInfo
PublishLayerVersionResult & WithLicenseInfo(const Aws::String &value)
Definition: PublishLayerVersionResult.h:297
Aws::Lambda::Model::PublishLayerVersionResult::SetLicenseInfo
void SetLicenseInfo(const Aws::String &value)
Definition: PublishLayerVersionResult.h:282
Aws::Lambda::Model::PublishLayerVersionResult::AddCompatibleRuntimes
PublishLayerVersionResult & AddCompatibleRuntimes(Runtime &&value)
Definition: PublishLayerVersionResult.h:271
Aws::Lambda::Model::PublishLayerVersionResult::GetDescription
const Aws::String & GetDescription() const
Definition: PublishLayerVersionResult.h:139
Aws::Lambda::Model::PublishLayerVersionResult::WithLicenseInfo
PublishLayerVersionResult & WithLicenseInfo(const char *value)
Definition: PublishLayerVersionResult.h:307
Aws::Lambda::Model::PublishLayerVersionResult::PublishLayerVersionResult
PublishLayerVersionResult()
Lambda_EXPORTS.h
LayerVersionContentOutput.h
Aws::Lambda::Model::PublishLayerVersionResult::SetCreatedDate
void SetCreatedDate(const char *value)
Definition: PublishLayerVersionResult.h:198