7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2Request.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/OperatorRequest.h>
12#include <aws/ec2/model/PlacementStrategy.h>
13#include <aws/ec2/model/SpreadLevel.h>
14#include <aws/ec2/model/TagSpecification.h>
48 m_partitionCountHasBeenSet =
true;
49 m_partitionCount = value;
63 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
65 m_tagSpecificationsHasBeenSet =
true;
66 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
68 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
73 template <
typename TagSpecificationsT = TagSpecification>
75 m_tagSpecificationsHasBeenSet =
true;
76 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
90 m_spreadLevelHasBeenSet =
true;
91 m_spreadLevel = value;
105 template <
typename LinkedGroupIdT = Aws::String>
107 m_linkedGroupIdHasBeenSet =
true;
108 m_linkedGroupId = std::forward<LinkedGroupIdT>(value);
110 template <
typename LinkedGroupIdT = Aws::String>
123 template <
typename OperatorT = OperatorRequest>
125 m_operatorHasBeenSet =
true;
126 m_operator = std::forward<OperatorT>(value);
128 template <
typename OperatorT = OperatorRequest>
142 template <
typename ParentGroupIdT = Aws::String>
144 m_parentGroupIdHasBeenSet =
true;
145 m_parentGroupId = std::forward<ParentGroupIdT>(value);
147 template <
typename ParentGroupIdT = Aws::String>
164 m_dryRunHasBeenSet =
true;
180 template <
typename GroupNameT = Aws::String>
182 m_groupNameHasBeenSet =
true;
183 m_groupName = std::forward<GroupNameT>(value);
185 template <
typename GroupNameT = Aws::String>
199 m_strategyHasBeenSet =
true;
208 int m_partitionCount{0};
216 OperatorRequest m_operator;
220 bool m_dryRun{
false};
225 bool m_partitionCountHasBeenSet =
false;
226 bool m_tagSpecificationsHasBeenSet =
false;
227 bool m_spreadLevelHasBeenSet =
false;
228 bool m_linkedGroupIdHasBeenSet =
false;
229 bool m_operatorHasBeenSet =
false;
230 bool m_parentGroupIdHasBeenSet =
false;
231 bool m_dryRunHasBeenSet =
false;
232 bool m_groupNameHasBeenSet =
false;
233 bool m_strategyHasBeenSet =
false;
bool DryRunHasBeenSet() const
void SetLinkedGroupId(LinkedGroupIdT &&value)
CreatePlacementGroupRequest & WithLinkedGroupId(LinkedGroupIdT &&value)
void SetStrategy(PlacementStrategy value)
AWS_EC2_API CreatePlacementGroupRequest()=default
PlacementStrategy GetStrategy() const
CreatePlacementGroupRequest & WithTagSpecifications(TagSpecificationsT &&value)
int GetPartitionCount() const
bool PartitionCountHasBeenSet() const
AWS_EC2_API Aws::String SerializePayload() const override
const Aws::String & GetLinkedGroupId() const
CreatePlacementGroupRequest & AddTagSpecifications(TagSpecificationsT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetSpreadLevel(SpreadLevel value)
const Aws::String & GetGroupName() const
CreatePlacementGroupRequest & WithSpreadLevel(SpreadLevel value)
CreatePlacementGroupRequest & WithGroupName(GroupNameT &&value)
virtual const char * GetServiceRequestName() const override
CreatePlacementGroupRequest & WithParentGroupId(ParentGroupIdT &&value)
const OperatorRequest & GetOperator() const
CreatePlacementGroupRequest & WithPartitionCount(int value)
bool SpreadLevelHasBeenSet() const
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
CreatePlacementGroupRequest & WithStrategy(PlacementStrategy value)
bool ParentGroupIdHasBeenSet() const
bool StrategyHasBeenSet() const
void SetParentGroupId(ParentGroupIdT &&value)
CreatePlacementGroupRequest & WithOperator(OperatorT &&value)
const Aws::String & GetParentGroupId() const
void SetGroupName(GroupNameT &&value)
CreatePlacementGroupRequest & WithDryRun(bool value)
void SetDryRun(bool value)
SpreadLevel GetSpreadLevel() const
bool LinkedGroupIdHasBeenSet() const
void SetTagSpecifications(TagSpecificationsT &&value)
void SetPartitionCount(int value)
bool GroupNameHasBeenSet() const
void SetOperator(OperatorT &&value)
bool TagSpecificationsHasBeenSet() const
bool OperatorHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector