7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lambda/Lambda_EXPORTS.h>
10#include <aws/lambda/model/Architecture.h>
44 template <
typename ArchitecturesT = Aws::Vector<Architecture>>
46 m_architecturesHasBeenSet =
true;
47 m_architectures = std::forward<ArchitecturesT>(value);
49 template <
typename ArchitecturesT = Aws::Vector<Architecture>>
55 m_architecturesHasBeenSet =
true;
56 m_architectures.push_back(value);
68 template <
typename AllowedInstanceTypesT = Aws::Vector<Aws::String>>
70 m_allowedInstanceTypesHasBeenSet =
true;
71 m_allowedInstanceTypes = std::forward<AllowedInstanceTypesT>(value);
73 template <
typename AllowedInstanceTypesT = Aws::Vector<Aws::String>>
78 template <
typename AllowedInstanceTypesT = Aws::String>
80 m_allowedInstanceTypesHasBeenSet =
true;
81 m_allowedInstanceTypes.emplace_back(std::forward<AllowedInstanceTypesT>(value));
93 template <
typename ExcludedInstanceTypesT = Aws::Vector<Aws::String>>
95 m_excludedInstanceTypesHasBeenSet =
true;
96 m_excludedInstanceTypes = std::forward<ExcludedInstanceTypesT>(value);
98 template <
typename ExcludedInstanceTypesT = Aws::Vector<Aws::String>>
103 template <
typename ExcludedInstanceTypesT = Aws::String>
105 m_excludedInstanceTypesHasBeenSet =
true;
106 m_excludedInstanceTypes.emplace_back(std::forward<ExcludedInstanceTypesT>(value));
116 bool m_architecturesHasBeenSet =
false;
117 bool m_allowedInstanceTypesHasBeenSet =
false;
118 bool m_excludedInstanceTypesHasBeenSet =
false;
InstanceRequirements & WithAllowedInstanceTypes(AllowedInstanceTypesT &&value)
AWS_LAMBDA_API InstanceRequirements & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAllowedInstanceTypes(AllowedInstanceTypesT &&value)
const Aws::Vector< Architecture > & GetArchitectures() const
const Aws::Vector< Aws::String > & GetAllowedInstanceTypes() const
InstanceRequirements & AddAllowedInstanceTypes(AllowedInstanceTypesT &&value)
InstanceRequirements & AddExcludedInstanceTypes(ExcludedInstanceTypesT &&value)
void SetExcludedInstanceTypes(ExcludedInstanceTypesT &&value)
InstanceRequirements & WithExcludedInstanceTypes(ExcludedInstanceTypesT &&value)
InstanceRequirements & WithArchitectures(ArchitecturesT &&value)
bool ArchitecturesHasBeenSet() const
bool ExcludedInstanceTypesHasBeenSet() const
AWS_LAMBDA_API InstanceRequirements()=default
void SetArchitectures(ArchitecturesT &&value)
AWS_LAMBDA_API InstanceRequirements(Aws::Utils::Json::JsonView jsonValue)
bool AllowedInstanceTypesHasBeenSet() const
const Aws::Vector< Aws::String > & GetExcludedInstanceTypes() const
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
InstanceRequirements & AddArchitectures(Architecture value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue