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/PlacementStrategy.h>
12#include <aws/ec2/model/SpreadLevel.h>
13#include <aws/ec2/model/TagSpecification.h>
47 m_partitionCountHasBeenSet =
true;
48 m_partitionCount = value;
62 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
64 m_tagSpecificationsHasBeenSet =
true;
65 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
67 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
72 template <
typename TagSpecificationsT = TagSpecification>
74 m_tagSpecificationsHasBeenSet =
true;
75 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
89 m_spreadLevelHasBeenSet =
true;
90 m_spreadLevel = value;
104 template <
typename LinkedGroupIdT = Aws::String>
106 m_linkedGroupIdHasBeenSet =
true;
107 m_linkedGroupId = std::forward<LinkedGroupIdT>(value);
109 template <
typename LinkedGroupIdT = Aws::String>
126 m_dryRunHasBeenSet =
true;
142 template <
typename GroupNameT = Aws::String>
144 m_groupNameHasBeenSet =
true;
145 m_groupName = std::forward<GroupNameT>(value);
147 template <
typename GroupNameT = Aws::String>
161 m_strategyHasBeenSet =
true;
170 int m_partitionCount{0};
178 bool m_dryRun{
false};
183 bool m_partitionCountHasBeenSet =
false;
184 bool m_tagSpecificationsHasBeenSet =
false;
185 bool m_spreadLevelHasBeenSet =
false;
186 bool m_linkedGroupIdHasBeenSet =
false;
187 bool m_dryRunHasBeenSet =
false;
188 bool m_groupNameHasBeenSet =
false;
189 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 & WithPartitionCount(int value)
bool SpreadLevelHasBeenSet() const
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
CreatePlacementGroupRequest & WithStrategy(PlacementStrategy value)
bool StrategyHasBeenSet() 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
bool TagSpecificationsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector