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>
145 m_dryRunHasBeenSet =
true;
161 template <
typename GroupNameT = Aws::String>
163 m_groupNameHasBeenSet =
true;
164 m_groupName = std::forward<GroupNameT>(value);
166 template <
typename GroupNameT = Aws::String>
180 m_strategyHasBeenSet =
true;
189 int m_partitionCount{0};
197 OperatorRequest m_operator;
199 bool m_dryRun{
false};
204 bool m_partitionCountHasBeenSet =
false;
205 bool m_tagSpecificationsHasBeenSet =
false;
206 bool m_spreadLevelHasBeenSet =
false;
207 bool m_linkedGroupIdHasBeenSet =
false;
208 bool m_operatorHasBeenSet =
false;
209 bool m_dryRunHasBeenSet =
false;
210 bool m_groupNameHasBeenSet =
false;
211 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
const OperatorRequest & GetOperator() const
CreatePlacementGroupRequest & WithPartitionCount(int value)
bool SpreadLevelHasBeenSet() const
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
CreatePlacementGroupRequest & WithStrategy(PlacementStrategy value)
bool StrategyHasBeenSet() const
CreatePlacementGroupRequest & WithOperator(OperatorT &&value)
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