7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devicefarm/model/DevicePoolType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/devicefarm/model/Rule.h>
49 template<
typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
51 template<
typename ArnT = Aws::String>
61 template<
typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
63 template<
typename NameT = Aws::String>
73 template<
typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
75 template<
typename DescriptionT = Aws::String>
98 template<
typename RulesT = Aws::Vector<Rule>>
99 void SetRules(RulesT&& value) { m_rulesHasBeenSet =
true; m_rules = std::forward<RulesT>(value); }
100 template<
typename RulesT = Aws::Vector<Rule>>
102 template<
typename RulesT = Rule>
103 DevicePool&
AddRules(RulesT&& value) { m_rulesHasBeenSet =
true; m_rules.emplace_back(std::forward<RulesT>(value));
return *
this; }
117 inline void SetMaxDevices(
int value) { m_maxDevicesHasBeenSet =
true; m_maxDevices = value; }
123 bool m_arnHasBeenSet =
false;
126 bool m_nameHasBeenSet =
false;
129 bool m_descriptionHasBeenSet =
false;
132 bool m_typeHasBeenSet =
false;
135 bool m_rulesHasBeenSet =
false;
138 bool m_maxDevicesHasBeenSet =
false;
bool DescriptionHasBeenSet() const
DevicePool & WithType(DevicePoolType value)
const Aws::String & GetDescription() const
DevicePool & WithRules(RulesT &&value)
void SetArn(ArnT &&value)
DevicePool & WithName(NameT &&value)
AWS_DEVICEFARM_API DevicePool(Aws::Utils::Json::JsonView jsonValue)
DevicePool & WithMaxDevices(int value)
void SetName(NameT &&value)
DevicePool & WithDescription(DescriptionT &&value)
const Aws::String & GetArn() const
const Aws::String & GetName() const
void SetDescription(DescriptionT &&value)
DevicePoolType GetType() const
bool RulesHasBeenSet() const
bool TypeHasBeenSet() const
void SetRules(RulesT &&value)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
bool MaxDevicesHasBeenSet() const
AWS_DEVICEFARM_API DevicePool & operator=(Aws::Utils::Json::JsonView jsonValue)
DevicePool & AddRules(RulesT &&value)
const Aws::Vector< Rule > & GetRules() const
void SetMaxDevices(int value)
bool NameHasBeenSet() const
DevicePool & WithArn(ArnT &&value)
int GetMaxDevices() const
AWS_DEVICEFARM_API DevicePool()=default
bool ArnHasBeenSet() const
void SetType(DevicePoolType 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