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>
50 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
51 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
65 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
79 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
111 inline DevicePool&
AddRules(
Rule&& value) { m_rulesHasBeenSet =
true; m_rules.push_back(std::move(value));
return *
this; }
125 inline void SetMaxDevices(
int value) { m_maxDevicesHasBeenSet =
true; m_maxDevices = value; }
131 bool m_arnHasBeenSet =
false;
134 bool m_nameHasBeenSet =
false;
137 bool m_descriptionHasBeenSet =
false;
140 bool m_typeHasBeenSet =
false;
143 bool m_rulesHasBeenSet =
false;
146 bool m_maxDevicesHasBeenSet =
false;
DevicePool & WithArn(Aws::String &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetDescription() const
DevicePool & WithRules(Aws::Vector< Rule > &&value)
AWS_DEVICEFARM_API DevicePool(Aws::Utils::Json::JsonView jsonValue)
DevicePool & WithMaxDevices(int value)
DevicePool & WithArn(const Aws::String &value)
void SetType(DevicePoolType &&value)
void SetArn(Aws::String &&value)
DevicePool & AddRules(Rule &&value)
DevicePool & WithType(DevicePoolType &&value)
DevicePool & WithArn(const char *value)
const DevicePoolType & GetType() const
void SetType(const DevicePoolType &value)
const Aws::String & GetArn() const
const Aws::String & GetName() const
DevicePool & WithRules(const Aws::Vector< Rule > &value)
AWS_DEVICEFARM_API DevicePool()
DevicePool & WithType(const DevicePoolType &value)
bool RulesHasBeenSet() const
DevicePool & WithName(Aws::String &&value)
bool TypeHasBeenSet() const
void SetArn(const char *value)
void SetDescription(const char *value)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
DevicePool & WithName(const Aws::String &value)
void SetName(Aws::String &&value)
void SetName(const Aws::String &value)
bool MaxDevicesHasBeenSet() const
AWS_DEVICEFARM_API DevicePool & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArn(const Aws::String &value)
const Aws::Vector< Rule > & GetRules() const
void SetMaxDevices(int value)
void SetRules(const Aws::Vector< Rule > &value)
DevicePool & WithDescription(const Aws::String &value)
DevicePool & AddRules(const Rule &value)
void SetName(const char *value)
void SetDescription(Aws::String &&value)
bool NameHasBeenSet() const
void SetDescription(const Aws::String &value)
void SetRules(Aws::Vector< Rule > &&value)
DevicePool & WithDescription(Aws::String &&value)
DevicePool & WithName(const char *value)
int GetMaxDevices() const
DevicePool & WithDescription(const char *value)
bool ArnHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue