7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/devicefarm/DeviceFarmRequest.h>
10#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
11#include <aws/devicefarm/model/Rule.h>
45 template <
typename ArnT = Aws::String>
47 m_arnHasBeenSet =
true;
48 m_arn = std::forward<ArnT>(value);
50 template <
typename ArnT = Aws::String>
52 SetArn(std::forward<ArnT>(value));
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
81 template <
typename DescriptionT = Aws::String>
83 m_descriptionHasBeenSet =
true;
84 m_description = std::forward<DescriptionT>(value);
86 template <
typename DescriptionT = Aws::String>
101 template <
typename RulesT = Aws::Vector<Rule>>
103 m_rulesHasBeenSet =
true;
104 m_rules = std::forward<RulesT>(value);
106 template <
typename RulesT = Aws::Vector<Rule>>
108 SetRules(std::forward<RulesT>(value));
111 template <
typename RulesT = Rule>
113 m_rulesHasBeenSet =
true;
114 m_rules.emplace_back(std::forward<RulesT>(value));
133 m_maxDevicesHasBeenSet =
true;
134 m_maxDevices = value;
155 m_clearMaxDevicesHasBeenSet =
true;
156 m_clearMaxDevices = value;
174 bool m_clearMaxDevices{
false};
175 bool m_arnHasBeenSet =
false;
176 bool m_nameHasBeenSet =
false;
177 bool m_descriptionHasBeenSet =
false;
178 bool m_rulesHasBeenSet =
false;
179 bool m_maxDevicesHasBeenSet =
false;
180 bool m_clearMaxDevicesHasBeenSet =
false;
UpdateDevicePoolRequest & WithDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
bool GetClearMaxDevices() const
bool RulesHasBeenSet() const
void SetRules(RulesT &&value)
UpdateDevicePoolRequest & WithArn(ArnT &&value)
UpdateDevicePoolRequest & WithRules(RulesT &&value)
void SetClearMaxDevices(bool value)
UpdateDevicePoolRequest & WithName(NameT &&value)
void SetName(NameT &&value)
UpdateDevicePoolRequest & WithClearMaxDevices(bool value)
AWS_DEVICEFARM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DEVICEFARM_API UpdateDevicePoolRequest()=default
virtual const char * GetServiceRequestName() const override
bool ArnHasBeenSet() const
const Aws::String & GetName() const
UpdateDevicePoolRequest & WithMaxDevices(int value)
int GetMaxDevices() const
const Aws::Vector< Rule > & GetRules() const
bool ClearMaxDevicesHasBeenSet() const
const Aws::String & GetArn() const
bool MaxDevicesHasBeenSet() const
bool NameHasBeenSet() const
const Aws::String & GetDescription() const
void SetMaxDevices(int value)
UpdateDevicePoolRequest & AddRules(RulesT &&value)
AWS_DEVICEFARM_API Aws::String SerializePayload() const override
void SetDescription(DescriptionT &&value)
void SetArn(ArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector