AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetLayerVersionByArnResult.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/lambda/model/LayerVersionContentOutput.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/lambda/model/Runtime.h>
12#include <aws/lambda/model/Architecture.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Lambda
28{
29namespace Model
30{
32 {
33 public:
37
38
40
43 inline const LayerVersionContentOutput& GetContent() const{ return m_content; }
44 inline void SetContent(const LayerVersionContentOutput& value) { m_content = value; }
45 inline void SetContent(LayerVersionContentOutput&& value) { m_content = std::move(value); }
46 inline GetLayerVersionByArnResult& WithContent(const LayerVersionContentOutput& value) { SetContent(value); return *this;}
47 inline GetLayerVersionByArnResult& WithContent(LayerVersionContentOutput&& value) { SetContent(std::move(value)); return *this;}
49
51
54 inline const Aws::String& GetLayerArn() const{ return m_layerArn; }
55 inline void SetLayerArn(const Aws::String& value) { m_layerArn = value; }
56 inline void SetLayerArn(Aws::String&& value) { m_layerArn = std::move(value); }
57 inline void SetLayerArn(const char* value) { m_layerArn.assign(value); }
58 inline GetLayerVersionByArnResult& WithLayerArn(const Aws::String& value) { SetLayerArn(value); return *this;}
59 inline GetLayerVersionByArnResult& WithLayerArn(Aws::String&& value) { SetLayerArn(std::move(value)); return *this;}
60 inline GetLayerVersionByArnResult& WithLayerArn(const char* value) { SetLayerArn(value); return *this;}
62
64
67 inline const Aws::String& GetLayerVersionArn() const{ return m_layerVersionArn; }
68 inline void SetLayerVersionArn(const Aws::String& value) { m_layerVersionArn = value; }
69 inline void SetLayerVersionArn(Aws::String&& value) { m_layerVersionArn = std::move(value); }
70 inline void SetLayerVersionArn(const char* value) { m_layerVersionArn.assign(value); }
72 inline GetLayerVersionByArnResult& WithLayerVersionArn(Aws::String&& value) { SetLayerVersionArn(std::move(value)); return *this;}
73 inline GetLayerVersionByArnResult& WithLayerVersionArn(const char* value) { SetLayerVersionArn(value); return *this;}
75
77
80 inline const Aws::String& GetDescription() const{ return m_description; }
81 inline void SetDescription(const Aws::String& value) { m_description = value; }
82 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
83 inline void SetDescription(const char* value) { m_description.assign(value); }
84 inline GetLayerVersionByArnResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
85 inline GetLayerVersionByArnResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
86 inline GetLayerVersionByArnResult& WithDescription(const char* value) { SetDescription(value); return *this;}
88
90
95 inline const Aws::String& GetCreatedDate() const{ return m_createdDate; }
96 inline void SetCreatedDate(const Aws::String& value) { m_createdDate = value; }
97 inline void SetCreatedDate(Aws::String&& value) { m_createdDate = std::move(value); }
98 inline void SetCreatedDate(const char* value) { m_createdDate.assign(value); }
99 inline GetLayerVersionByArnResult& WithCreatedDate(const Aws::String& value) { SetCreatedDate(value); return *this;}
100 inline GetLayerVersionByArnResult& WithCreatedDate(Aws::String&& value) { SetCreatedDate(std::move(value)); return *this;}
101 inline GetLayerVersionByArnResult& WithCreatedDate(const char* value) { SetCreatedDate(value); return *this;}
103
105
108 inline long long GetVersion() const{ return m_version; }
109 inline void SetVersion(long long value) { m_version = value; }
110 inline GetLayerVersionByArnResult& WithVersion(long long value) { SetVersion(value); return *this;}
112
114
123 inline const Aws::Vector<Runtime>& GetCompatibleRuntimes() const{ return m_compatibleRuntimes; }
124 inline void SetCompatibleRuntimes(const Aws::Vector<Runtime>& value) { m_compatibleRuntimes = value; }
125 inline void SetCompatibleRuntimes(Aws::Vector<Runtime>&& value) { m_compatibleRuntimes = std::move(value); }
128 inline GetLayerVersionByArnResult& AddCompatibleRuntimes(const Runtime& value) { m_compatibleRuntimes.push_back(value); return *this; }
129 inline GetLayerVersionByArnResult& AddCompatibleRuntimes(Runtime&& value) { m_compatibleRuntimes.push_back(std::move(value)); return *this; }
131
133
136 inline const Aws::String& GetLicenseInfo() const{ return m_licenseInfo; }
137 inline void SetLicenseInfo(const Aws::String& value) { m_licenseInfo = value; }
138 inline void SetLicenseInfo(Aws::String&& value) { m_licenseInfo = std::move(value); }
139 inline void SetLicenseInfo(const char* value) { m_licenseInfo.assign(value); }
140 inline GetLayerVersionByArnResult& WithLicenseInfo(const Aws::String& value) { SetLicenseInfo(value); return *this;}
141 inline GetLayerVersionByArnResult& WithLicenseInfo(Aws::String&& value) { SetLicenseInfo(std::move(value)); return *this;}
142 inline GetLayerVersionByArnResult& WithLicenseInfo(const char* value) { SetLicenseInfo(value); return *this;}
144
146
151 inline const Aws::Vector<Architecture>& GetCompatibleArchitectures() const{ return m_compatibleArchitectures; }
152 inline void SetCompatibleArchitectures(const Aws::Vector<Architecture>& value) { m_compatibleArchitectures = value; }
153 inline void SetCompatibleArchitectures(Aws::Vector<Architecture>&& value) { m_compatibleArchitectures = std::move(value); }
156 inline GetLayerVersionByArnResult& AddCompatibleArchitectures(const Architecture& value) { m_compatibleArchitectures.push_back(value); return *this; }
157 inline GetLayerVersionByArnResult& AddCompatibleArchitectures(Architecture&& value) { m_compatibleArchitectures.push_back(std::move(value)); return *this; }
159
161
162 inline const Aws::String& GetRequestId() const{ return m_requestId; }
163 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
164 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
165 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
166 inline GetLayerVersionByArnResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
167 inline GetLayerVersionByArnResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
168 inline GetLayerVersionByArnResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
170 private:
171
173
174 Aws::String m_layerArn;
175
176 Aws::String m_layerVersionArn;
177
178 Aws::String m_description;
179
180 Aws::String m_createdDate;
181
182 long long m_version;
183
184 Aws::Vector<Runtime> m_compatibleRuntimes;
185
186 Aws::String m_licenseInfo;
187
188 Aws::Vector<Architecture> m_compatibleArchitectures;
189
190 Aws::String m_requestId;
191 };
192
193} // namespace Model
194} // namespace Lambda
195} // namespace Aws
GetLayerVersionByArnResult & WithVersion(long long value)
void SetCompatibleRuntimes(const Aws::Vector< Runtime > &value)
GetLayerVersionByArnResult & WithRequestId(const Aws::String &value)
GetLayerVersionByArnResult & WithContent(const LayerVersionContentOutput &value)
GetLayerVersionByArnResult & WithRequestId(const char *value)
void SetCompatibleArchitectures(const Aws::Vector< Architecture > &value)
GetLayerVersionByArnResult & WithContent(LayerVersionContentOutput &&value)
GetLayerVersionByArnResult & WithDescription(const char *value)
GetLayerVersionByArnResult & WithLicenseInfo(Aws::String &&value)
void SetContent(const LayerVersionContentOutput &value)
GetLayerVersionByArnResult & AddCompatibleRuntimes(const Runtime &value)
GetLayerVersionByArnResult & WithLayerArn(const Aws::String &value)
const Aws::Vector< Runtime > & GetCompatibleRuntimes() const
GetLayerVersionByArnResult & WithCompatibleRuntimes(const Aws::Vector< Runtime > &value)
GetLayerVersionByArnResult & WithLayerArn(Aws::String &&value)
GetLayerVersionByArnResult & WithLayerVersionArn(const char *value)
void SetCompatibleRuntimes(Aws::Vector< Runtime > &&value)
GetLayerVersionByArnResult & AddCompatibleRuntimes(Runtime &&value)
const LayerVersionContentOutput & GetContent() const
GetLayerVersionByArnResult & WithDescription(const Aws::String &value)
GetLayerVersionByArnResult & AddCompatibleArchitectures(const Architecture &value)
GetLayerVersionByArnResult & WithLayerArn(const char *value)
AWS_LAMBDA_API GetLayerVersionByArnResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLayerVersionByArnResult & WithLicenseInfo(const char *value)
GetLayerVersionByArnResult & WithDescription(Aws::String &&value)
GetLayerVersionByArnResult & WithLicenseInfo(const Aws::String &value)
void SetContent(LayerVersionContentOutput &&value)
const Aws::Vector< Architecture > & GetCompatibleArchitectures() const
void SetCompatibleArchitectures(Aws::Vector< Architecture > &&value)
AWS_LAMBDA_API GetLayerVersionByArnResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLayerVersionByArnResult & WithCreatedDate(const char *value)
GetLayerVersionByArnResult & AddCompatibleArchitectures(Architecture &&value)
GetLayerVersionByArnResult & WithLayerVersionArn(const Aws::String &value)
GetLayerVersionByArnResult & WithCompatibleRuntimes(Aws::Vector< Runtime > &&value)
GetLayerVersionByArnResult & WithCompatibleArchitectures(const Aws::Vector< Architecture > &value)
GetLayerVersionByArnResult & WithCompatibleArchitectures(Aws::Vector< Architecture > &&value)
GetLayerVersionByArnResult & WithRequestId(Aws::String &&value)
GetLayerVersionByArnResult & WithCreatedDate(const Aws::String &value)
GetLayerVersionByArnResult & WithLayerVersionArn(Aws::String &&value)
GetLayerVersionByArnResult & WithCreatedDate(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue