AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PublishLayerVersionResult.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:
34 AWS_LAMBDA_API PublishLayerVersionResult();
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 PublishLayerVersionResult& WithContent(const LayerVersionContentOutput& value) { SetContent(value); return *this;}
47 inline PublishLayerVersionResult& 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 PublishLayerVersionResult& WithLayerArn(const Aws::String& value) { SetLayerArn(value); return *this;}
59 inline PublishLayerVersionResult& WithLayerArn(Aws::String&& value) { SetLayerArn(std::move(value)); return *this;}
60 inline PublishLayerVersionResult& 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); }
71 inline PublishLayerVersionResult& WithLayerVersionArn(const Aws::String& value) { SetLayerVersionArn(value); return *this;}
72 inline PublishLayerVersionResult& WithLayerVersionArn(Aws::String&& value) { SetLayerVersionArn(std::move(value)); return *this;}
73 inline PublishLayerVersionResult& 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 PublishLayerVersionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
85 inline PublishLayerVersionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
86 inline PublishLayerVersionResult& 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 PublishLayerVersionResult& WithCreatedDate(const Aws::String& value) { SetCreatedDate(value); return *this;}
100 inline PublishLayerVersionResult& WithCreatedDate(Aws::String&& value) { SetCreatedDate(std::move(value)); return *this;}
101 inline PublishLayerVersionResult& 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 PublishLayerVersionResult& 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 PublishLayerVersionResult& AddCompatibleRuntimes(const Runtime& value) { m_compatibleRuntimes.push_back(value); return *this; }
129 inline PublishLayerVersionResult& 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 PublishLayerVersionResult& WithLicenseInfo(const Aws::String& value) { SetLicenseInfo(value); return *this;}
141 inline PublishLayerVersionResult& WithLicenseInfo(Aws::String&& value) { SetLicenseInfo(std::move(value)); return *this;}
142 inline PublishLayerVersionResult& 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 PublishLayerVersionResult& AddCompatibleArchitectures(const Architecture& value) { m_compatibleArchitectures.push_back(value); return *this; }
157 inline PublishLayerVersionResult& 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 PublishLayerVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
167 inline PublishLayerVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
168 inline PublishLayerVersionResult& 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
PublishLayerVersionResult & WithLicenseInfo(const char *value)
void SetCompatibleRuntimes(const Aws::Vector< Runtime > &value)
const LayerVersionContentOutput & GetContent() const
PublishLayerVersionResult & WithLicenseInfo(const Aws::String &value)
PublishLayerVersionResult & WithRequestId(Aws::String &&value)
PublishLayerVersionResult & WithContent(LayerVersionContentOutput &&value)
void SetContent(LayerVersionContentOutput &&value)
const Aws::Vector< Runtime > & GetCompatibleRuntimes() const
PublishLayerVersionResult & WithLayerVersionArn(const char *value)
PublishLayerVersionResult & WithLayerArn(const Aws::String &value)
void SetContent(const LayerVersionContentOutput &value)
PublishLayerVersionResult & WithLicenseInfo(Aws::String &&value)
PublishLayerVersionResult & WithCompatibleRuntimes(Aws::Vector< Runtime > &&value)
PublishLayerVersionResult & WithCreatedDate(const Aws::String &value)
PublishLayerVersionResult & WithRequestId(const Aws::String &value)
PublishLayerVersionResult & WithCompatibleArchitectures(const Aws::Vector< Architecture > &value)
PublishLayerVersionResult & WithCreatedDate(const char *value)
PublishLayerVersionResult & WithVersion(long long value)
PublishLayerVersionResult & WithCreatedDate(Aws::String &&value)
void SetCompatibleArchitectures(Aws::Vector< Architecture > &&value)
AWS_LAMBDA_API PublishLayerVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PublishLayerVersionResult & WithLayerVersionArn(Aws::String &&value)
PublishLayerVersionResult & WithLayerArn(const char *value)
PublishLayerVersionResult & WithDescription(Aws::String &&value)
PublishLayerVersionResult & WithDescription(const char *value)
void SetCompatibleRuntimes(Aws::Vector< Runtime > &&value)
PublishLayerVersionResult & WithCompatibleRuntimes(const Aws::Vector< Runtime > &value)
PublishLayerVersionResult & WithRequestId(const char *value)
void SetCompatibleArchitectures(const Aws::Vector< Architecture > &value)
PublishLayerVersionResult & AddCompatibleArchitectures(Architecture &&value)
AWS_LAMBDA_API PublishLayerVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PublishLayerVersionResult & WithDescription(const Aws::String &value)
PublishLayerVersionResult & AddCompatibleArchitectures(const Architecture &value)
PublishLayerVersionResult & WithLayerArn(Aws::String &&value)
PublishLayerVersionResult & WithCompatibleArchitectures(Aws::Vector< Architecture > &&value)
PublishLayerVersionResult & WithContent(const LayerVersionContentOutput &value)
PublishLayerVersionResult & WithLayerVersionArn(const Aws::String &value)
PublishLayerVersionResult & AddCompatibleRuntimes(const Runtime &value)
PublishLayerVersionResult & AddCompatibleRuntimes(Runtime &&value)
const Aws::Vector< Architecture > & GetCompatibleArchitectures() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue