7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/model/SpreadLevel.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/ec2/model/PlacementStrategy.h>
13#include <aws/ec2/model/TagSpecification.h>
50 inline void SetPartitionCount(
int value) { m_partitionCountHasBeenSet =
true; m_partitionCount = value; }
60 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
61 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet =
true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
62 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
64 template<
typename TagSpecificationsT = TagSpecification>
89 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
100 template<
typename GroupNameT = Aws::String>
101 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet =
true; m_groupName = std::forward<GroupNameT>(value); }
102 template<
typename GroupNameT = Aws::String>
117 int m_partitionCount{0};
118 bool m_partitionCountHasBeenSet =
false;
121 bool m_tagSpecificationsHasBeenSet =
false;
124 bool m_spreadLevelHasBeenSet =
false;
126 bool m_dryRun{
false};
127 bool m_dryRunHasBeenSet =
false;
130 bool m_groupNameHasBeenSet =
false;
133 bool m_strategyHasBeenSet =
false;
bool DryRunHasBeenSet() const
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
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
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