7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/deadline/Deadline_EXPORTS.h>
9#include <aws/deadline/model/WorkerAmountCapability.h>
10#include <aws/deadline/model/WorkerAttributeCapability.h>
42 template <
typename AmountsT = Aws::Vector<WorkerAmountCapability>>
44 m_amountsHasBeenSet =
true;
45 m_amounts = std::forward<AmountsT>(value);
47 template <
typename AmountsT = Aws::Vector<WorkerAmountCapability>>
52 template <
typename AmountsT = WorkerAmountCapability>
54 m_amountsHasBeenSet =
true;
55 m_amounts.emplace_back(std::forward<AmountsT>(value));
66 template <
typename AttributesT = Aws::Vector<WorkerAttributeCapability>>
68 m_attributesHasBeenSet =
true;
69 m_attributes = std::forward<AttributesT>(value);
71 template <
typename AttributesT = Aws::Vector<WorkerAttributeCapability>>
76 template <
typename AttributesT = WorkerAttributeCapability>
78 m_attributesHasBeenSet =
true;
79 m_attributes.emplace_back(std::forward<AttributesT>(value));
87 bool m_amountsHasBeenSet =
false;
88 bool m_attributesHasBeenSet =
false;
AWS_DEADLINE_API WorkerCapabilities()=default
const Aws::Vector< WorkerAttributeCapability > & GetAttributes() const
AWS_DEADLINE_API WorkerCapabilities(Aws::Utils::Json::JsonView jsonValue)
void SetAttributes(AttributesT &&value)
AWS_DEADLINE_API WorkerCapabilities & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkerCapabilities & AddAmounts(AmountsT &&value)
WorkerCapabilities & AddAttributes(AttributesT &&value)
void SetAmounts(AmountsT &&value)
const Aws::Vector< WorkerAmountCapability > & GetAmounts() const
WorkerCapabilities & WithAmounts(AmountsT &&value)
WorkerCapabilities & WithAttributes(AttributesT &&value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
bool AmountsHasBeenSet() const
bool AttributesHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue