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>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
44 template<
typename ContentT = LayerVersionContentOutput>
45 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
46 template<
typename ContentT = LayerVersionContentOutput>
55 template<
typename LayerArnT = Aws::String>
56 void SetLayerArn(LayerArnT&& value) { m_layerArnHasBeenSet =
true; m_layerArn = std::forward<LayerArnT>(value); }
57 template<
typename LayerArnT = Aws::String>
66 template<
typename LayerVersionArnT = Aws::String>
67 void SetLayerVersionArn(LayerVersionArnT&& value) { m_layerVersionArnHasBeenSet =
true; m_layerVersionArn = std::forward<LayerVersionArnT>(value); }
68 template<
typename LayerVersionArnT = Aws::String>
77 template<
typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
79 template<
typename DescriptionT = Aws::String>
90 template<
typename CreatedDateT = Aws::String>
91 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet =
true; m_createdDate = std::forward<CreatedDateT>(value); }
92 template<
typename CreatedDateT = Aws::String>
101 inline void SetVersion(
long long value) { m_versionHasBeenSet =
true; m_version = value; }
116 template<
typename CompatibleRuntimesT = Aws::Vector<Runtime>>
117 void SetCompatibleRuntimes(CompatibleRuntimesT&& value) { m_compatibleRuntimesHasBeenSet =
true; m_compatibleRuntimes = std::forward<CompatibleRuntimesT>(value); }
118 template<
typename CompatibleRuntimesT = Aws::Vector<Runtime>>
128 template<
typename LicenseInfoT = Aws::String>
129 void SetLicenseInfo(LicenseInfoT&& value) { m_licenseInfoHasBeenSet =
true; m_licenseInfo = std::forward<LicenseInfoT>(value); }
130 template<
typename LicenseInfoT = Aws::String>
141 template<
typename CompatibleArchitecturesT = Aws::Vector<Architecture>>
142 void SetCompatibleArchitectures(CompatibleArchitecturesT&& value) { m_compatibleArchitecturesHasBeenSet =
true; m_compatibleArchitectures = std::forward<CompatibleArchitecturesT>(value); }
143 template<
typename CompatibleArchitecturesT = Aws::Vector<Architecture>>
151 template<
typename RequestIdT = Aws::String>
152 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
153 template<
typename RequestIdT = Aws::String>
159 bool m_contentHasBeenSet =
false;
162 bool m_layerArnHasBeenSet =
false;
165 bool m_layerVersionArnHasBeenSet =
false;
168 bool m_descriptionHasBeenSet =
false;
171 bool m_createdDateHasBeenSet =
false;
173 long long m_version{0};
174 bool m_versionHasBeenSet =
false;
177 bool m_compatibleRuntimesHasBeenSet =
false;
180 bool m_licenseInfoHasBeenSet =
false;
183 bool m_compatibleArchitecturesHasBeenSet =
false;
186 bool m_requestIdHasBeenSet =
false;
const LayerVersionContentOutput & GetContent() const
AWS_LAMBDA_API PublishLayerVersionResult()=default
long long GetVersion() const
void SetLayerArn(LayerArnT &&value)
const Aws::Vector< Runtime > & GetCompatibleRuntimes() const
const Aws::String & GetLayerVersionArn() const
void SetVersion(long long value)
PublishLayerVersionResult & WithDescription(DescriptionT &&value)
void SetCompatibleRuntimes(CompatibleRuntimesT &&value)
PublishLayerVersionResult & WithCreatedDate(CreatedDateT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetLicenseInfo() const
PublishLayerVersionResult & WithLayerArn(LayerArnT &&value)
const Aws::String & GetLayerArn() const
const Aws::String & GetDescription() const
void SetRequestId(RequestIdT &&value)
void SetCreatedDate(CreatedDateT &&value)
PublishLayerVersionResult & WithLayerVersionArn(LayerVersionArnT &&value)
PublishLayerVersionResult & WithCompatibleArchitectures(CompatibleArchitecturesT &&value)
PublishLayerVersionResult & WithVersion(long long value)
void SetContent(ContentT &&value)
void SetLicenseInfo(LicenseInfoT &&value)
void SetLayerVersionArn(LayerVersionArnT &&value)
AWS_LAMBDA_API PublishLayerVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PublishLayerVersionResult & WithCompatibleRuntimes(CompatibleRuntimesT &&value)
PublishLayerVersionResult & WithRequestId(RequestIdT &&value)
void SetDescription(DescriptionT &&value)
PublishLayerVersionResult & AddCompatibleArchitectures(Architecture value)
AWS_LAMBDA_API PublishLayerVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PublishLayerVersionResult & AddCompatibleRuntimes(Runtime value)
void SetCompatibleArchitectures(CompatibleArchitecturesT &&value)
const Aws::String & GetCreatedDate() const
PublishLayerVersionResult & WithContent(ContentT &&value)
const Aws::Vector< Architecture > & GetCompatibleArchitectures() const
PublishLayerVersionResult & WithLicenseInfo(LicenseInfoT &&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