7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/lambda/LambdaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lambda/model/LayerVersionContentInput.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/lambda/model/Runtime.h>
13#include <aws/lambda/model/Architecture.h>
45 template<
typename LayerNameT = Aws::String>
46 void SetLayerName(LayerNameT&& value) { m_layerNameHasBeenSet =
true; m_layerName = std::forward<LayerNameT>(value); }
47 template<
typename LayerNameT = Aws::String>
57 template<
typename DescriptionT = Aws::String>
58 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
59 template<
typename DescriptionT = Aws::String>
69 template<
typename ContentT = LayerVersionContentInput>
70 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
71 template<
typename ContentT = LayerVersionContentInput>
87 template<
typename CompatibleRuntimesT = Aws::Vector<Runtime>>
88 void SetCompatibleRuntimes(CompatibleRuntimesT&& value) { m_compatibleRuntimesHasBeenSet =
true; m_compatibleRuntimes = std::forward<CompatibleRuntimesT>(value); }
89 template<
typename CompatibleRuntimesT = Aws::Vector<Runtime>>
104 template<
typename LicenseInfoT = Aws::String>
105 void SetLicenseInfo(LicenseInfoT&& value) { m_licenseInfoHasBeenSet =
true; m_licenseInfo = std::forward<LicenseInfoT>(value); }
106 template<
typename LicenseInfoT = Aws::String>
118 template<
typename CompatibleArchitecturesT = Aws::Vector<Architecture>>
119 void SetCompatibleArchitectures(CompatibleArchitecturesT&& value) { m_compatibleArchitecturesHasBeenSet =
true; m_compatibleArchitectures = std::forward<CompatibleArchitecturesT>(value); }
120 template<
typename CompatibleArchitecturesT = Aws::Vector<Architecture>>
127 bool m_layerNameHasBeenSet =
false;
130 bool m_descriptionHasBeenSet =
false;
133 bool m_contentHasBeenSet =
false;
136 bool m_compatibleRuntimesHasBeenSet =
false;
139 bool m_licenseInfoHasBeenSet =
false;
142 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