7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/devicefarm/DeviceFarmRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/devicefarm/model/Rule.h>
49 template<
typename ProjectArnT = Aws::String>
50 void SetProjectArn(ProjectArnT&& value) { m_projectArnHasBeenSet =
true; m_projectArn = std::forward<ProjectArnT>(value); }
51 template<
typename ProjectArnT = 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>
85 template<
typename RulesT = Aws::Vector<Rule>>
86 void SetRules(RulesT&& value) { m_rulesHasBeenSet =
true; m_rules = std::forward<RulesT>(value); }
87 template<
typename RulesT = Aws::Vector<Rule>>
89 template<
typename RulesT = Rule>
104 inline void SetMaxDevices(
int value) { m_maxDevicesHasBeenSet =
true; m_maxDevices = value; }
110 bool m_projectArnHasBeenSet =
false;
113 bool m_nameHasBeenSet =
false;
116 bool m_descriptionHasBeenSet =
false;
119 bool m_rulesHasBeenSet =
false;
122 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