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 ProjectArnT = Aws::String>
47 m_projectArnHasBeenSet =
true;
48 m_projectArn = std::forward<ProjectArnT>(value);
50 template <
typename ProjectArnT = Aws::String>
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>
99 template <
typename RulesT = Aws::Vector<Rule>>
101 m_rulesHasBeenSet =
true;
102 m_rules = std::forward<RulesT>(value);
104 template <
typename RulesT = Aws::Vector<Rule>>
106 SetRules(std::forward<RulesT>(value));
109 template <
typename RulesT = Rule>
111 m_rulesHasBeenSet =
true;
112 m_rules.emplace_back(std::forward<RulesT>(value));
129 m_maxDevicesHasBeenSet =
true;
130 m_maxDevices = value;
147 bool m_projectArnHasBeenSet =
false;
148 bool m_nameHasBeenSet =
false;
149 bool m_descriptionHasBeenSet =
false;
150 bool m_rulesHasBeenSet =
false;
151 bool m_maxDevicesHasBeenSet =
false;
CreateDevicePoolRequest & AddRules(RulesT &&value)
CreateDevicePoolRequest & WithMaxDevices(int value)
const Aws::String & GetProjectArn() const
AWS_DEVICEFARM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DEVICEFARM_API Aws::String SerializePayload() const override
const Aws::Vector< Rule > & GetRules() const
CreateDevicePoolRequest & WithRules(RulesT &&value)
void SetRules(RulesT &&value)
void SetProjectArn(ProjectArnT &&value)
bool MaxDevicesHasBeenSet() const
AWS_DEVICEFARM_API CreateDevicePoolRequest()=default
int GetMaxDevices() const
const Aws::String & GetName() const
bool DescriptionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetDescription(DescriptionT &&value)
bool RulesHasBeenSet() const
CreateDevicePoolRequest & WithProjectArn(ProjectArnT &&value)
CreateDevicePoolRequest & WithName(NameT &&value)
const Aws::String & GetDescription() const
bool ProjectArnHasBeenSet() const
CreateDevicePoolRequest & WithDescription(DescriptionT &&value)
void SetMaxDevices(int value)
bool NameHasBeenSet() const
void SetName(NameT &&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