7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lambda/LambdaRequest.h>
10#include <aws/lambda/Lambda_EXPORTS.h>
11#include <aws/lambda/model/Architecture.h>
12#include <aws/lambda/model/LayerVersionContentInput.h>
13#include <aws/lambda/model/Runtime.h>
41 template <
typename LayerNameT = Aws::String>
43 m_layerNameHasBeenSet =
true;
44 m_layerName = std::forward<LayerNameT>(value);
46 template <
typename LayerNameT = Aws::String>
59 template <
typename DescriptionT = Aws::String>
61 m_descriptionHasBeenSet =
true;
62 m_description = std::forward<DescriptionT>(value);
64 template <
typename DescriptionT = Aws::String>
77 template <
typename ContentT = LayerVersionContentInput>
79 m_contentHasBeenSet =
true;
80 m_content = std::forward<ContentT>(value);
82 template <
typename ContentT = LayerVersionContentInput>
101 template <
typename CompatibleRuntimesT = Aws::Vector<Runtime>>
103 m_compatibleRuntimesHasBeenSet =
true;
104 m_compatibleRuntimes = std::forward<CompatibleRuntimesT>(value);
106 template <
typename CompatibleRuntimesT = Aws::Vector<Runtime>>
112 m_compatibleRuntimesHasBeenSet =
true;
113 m_compatibleRuntimes.push_back(value);
128 template <
typename LicenseInfoT = Aws::String>
130 m_licenseInfoHasBeenSet =
true;
131 m_licenseInfo = std::forward<LicenseInfoT>(value);
133 template <
typename LicenseInfoT = Aws::String>
148 template <
typename CompatibleArchitecturesT = Aws::Vector<Architecture>>
150 m_compatibleArchitecturesHasBeenSet =
true;
151 m_compatibleArchitectures = std::forward<CompatibleArchitecturesT>(value);
153 template <
typename CompatibleArchitecturesT = Aws::Vector<Architecture>>
159 m_compatibleArchitecturesHasBeenSet =
true;
160 m_compatibleArchitectures.push_back(value);
176 bool m_layerNameHasBeenSet =
false;
177 bool m_descriptionHasBeenSet =
false;
178 bool m_contentHasBeenSet =
false;
179 bool m_compatibleRuntimesHasBeenSet =
false;
180 bool m_licenseInfoHasBeenSet =
false;
181 bool m_compatibleArchitecturesHasBeenSet =
false;
const Aws::Vector< Architecture > & GetCompatibleArchitectures() const
PublishLayerVersionRequest & AddCompatibleRuntimes(Runtime value)
AWS_LAMBDA_API PublishLayerVersionRequest()=default
PublishLayerVersionRequest & WithCompatibleRuntimes(CompatibleRuntimesT &&value)
bool LicenseInfoHasBeenSet() const
bool DescriptionHasBeenSet() const
const LayerVersionContentInput & GetContent() const
AWS_LAMBDA_API Aws::String SerializePayload() const override
bool ContentHasBeenSet() const
const Aws::Vector< Runtime > & GetCompatibleRuntimes() const
void SetCompatibleRuntimes(CompatibleRuntimesT &&value)
PublishLayerVersionRequest & WithLicenseInfo(LicenseInfoT &&value)
void SetLayerName(LayerNameT &&value)
void SetDescription(DescriptionT &&value)
void SetCompatibleArchitectures(CompatibleArchitecturesT &&value)
bool LayerNameHasBeenSet() const
void SetLicenseInfo(LicenseInfoT &&value)
PublishLayerVersionRequest & WithDescription(DescriptionT &&value)
PublishLayerVersionRequest & AddCompatibleArchitectures(Architecture value)
PublishLayerVersionRequest & WithLayerName(LayerNameT &&value)
const Aws::String & GetLayerName() const
virtual const char * GetServiceRequestName() const override
void SetContent(ContentT &&value)
PublishLayerVersionRequest & WithCompatibleArchitectures(CompatibleArchitecturesT &&value)
const Aws::String & GetLicenseInfo() const
const Aws::String & GetDescription() const
bool CompatibleArchitecturesHasBeenSet() const
bool CompatibleRuntimesHasBeenSet() const
PublishLayerVersionRequest & WithContent(ContentT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector