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; }
91 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
104 inline void SetGroupName(
const char* value) { m_groupNameHasBeenSet =
true; m_groupName.assign(value); }
123 int m_partitionCount;
124 bool m_partitionCountHasBeenSet =
false;
127 bool m_tagSpecificationsHasBeenSet =
false;
130 bool m_spreadLevelHasBeenSet =
false;
133 bool m_dryRunHasBeenSet =
false;
136 bool m_groupNameHasBeenSet =
false;
139 bool m_strategyHasBeenSet =
false;
void SetGroupName(Aws::String &&value)
CreatePlacementGroupRequest & WithGroupName(Aws::String &&value)
bool DryRunHasBeenSet() const
AWS_EC2_API CreatePlacementGroupRequest()
CreatePlacementGroupRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
CreatePlacementGroupRequest & WithStrategy(const PlacementStrategy &value)
int GetPartitionCount() const
bool PartitionCountHasBeenSet() const
AWS_EC2_API Aws::String SerializePayload() const override
CreatePlacementGroupRequest & WithStrategy(PlacementStrategy &&value)
void SetStrategy(PlacementStrategy &&value)
void SetSpreadLevel(const SpreadLevel &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const PlacementStrategy & GetStrategy() const
const SpreadLevel & GetSpreadLevel() const
void SetGroupName(const char *value)
const Aws::String & GetGroupName() const
virtual const char * GetServiceRequestName() const override
CreatePlacementGroupRequest & AddTagSpecifications(const TagSpecification &value)
CreatePlacementGroupRequest & WithPartitionCount(int value)
CreatePlacementGroupRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
bool SpreadLevelHasBeenSet() const
CreatePlacementGroupRequest & WithGroupName(const Aws::String &value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
CreatePlacementGroupRequest & WithGroupName(const char *value)
void SetSpreadLevel(SpreadLevel &&value)
void SetStrategy(const PlacementStrategy &value)
CreatePlacementGroupRequest & WithSpreadLevel(const SpreadLevel &value)
void SetGroupName(const Aws::String &value)
bool StrategyHasBeenSet() const
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
CreatePlacementGroupRequest & WithDryRun(bool value)
void SetDryRun(bool value)
void SetPartitionCount(int value)
bool GroupNameHasBeenSet() const
CreatePlacementGroupRequest & WithSpreadLevel(SpreadLevel &&value)
CreatePlacementGroupRequest & AddTagSpecifications(TagSpecification &&value)
bool TagSpecificationsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector