7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/PlacementGroupState.h>
11#include <aws/ec2/model/PlacementStrategy.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ec2/model/SpreadLevel.h>
14#include <aws/ec2/model/Tag.h>
55 inline void SetGroupName(
const char* value) { m_groupNameHasBeenSet =
true; m_groupName.assign(value); }
92 inline void SetPartitionCount(
int value) { m_partitionCountHasBeenSet =
true; m_partitionCount = value; }
104 inline void SetGroupId(
const char* value) { m_groupIdHasBeenSet =
true; m_groupId.assign(value); }
132 inline void SetGroupArn(
const char* value) { m_groupArnHasBeenSet =
true; m_groupArn.assign(value); }
153 bool m_groupNameHasBeenSet =
false;
156 bool m_stateHasBeenSet =
false;
159 bool m_strategyHasBeenSet =
false;
161 int m_partitionCount;
162 bool m_partitionCountHasBeenSet =
false;
165 bool m_groupIdHasBeenSet =
false;
168 bool m_tagsHasBeenSet =
false;
171 bool m_groupArnHasBeenSet =
false;
174 bool m_spreadLevelHasBeenSet =
false;
void SetGroupId(Aws::String &&value)
PlacementGroup & AddTags(Tag &&value)
void SetGroupId(const Aws::String &value)
const Aws::String & GetGroupId() const
bool GroupArnHasBeenSet() const
void SetGroupArn(Aws::String &&value)
PlacementGroup & WithState(PlacementGroupState &&value)
PlacementGroup & WithTags(const Aws::Vector< Tag > &value)
PlacementGroup & WithGroupId(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
void SetGroupName(Aws::String &&value)
void SetStrategy(PlacementStrategy &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool GroupNameHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
void SetGroupArn(const char *value)
PlacementGroup & WithSpreadLevel(const SpreadLevel &value)
void SetSpreadLevel(SpreadLevel &&value)
bool PartitionCountHasBeenSet() const
void SetGroupName(const Aws::String &value)
int GetPartitionCount() const
void SetGroupArn(const Aws::String &value)
PlacementGroup & WithGroupArn(const Aws::String &value)
AWS_EC2_API PlacementGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PlacementGroup & WithGroupId(const Aws::String &value)
PlacementGroup & WithStrategy(PlacementStrategy &&value)
void SetTags(const Aws::Vector< Tag > &value)
void SetState(PlacementGroupState &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const PlacementGroupState & GetState() const
PlacementGroup & WithSpreadLevel(SpreadLevel &&value)
PlacementGroup & WithGroupArn(Aws::String &&value)
AWS_EC2_API PlacementGroup()
const Aws::String & GetGroupArn() const
bool GroupIdHasBeenSet() const
void SetGroupName(const char *value)
bool StrategyHasBeenSet() const
void SetGroupId(const char *value)
bool StateHasBeenSet() const
PlacementGroup & AddTags(const Tag &value)
PlacementGroup & WithPartitionCount(int value)
void SetState(const PlacementGroupState &value)
bool SpreadLevelHasBeenSet() const
void SetSpreadLevel(const SpreadLevel &value)
const Aws::String & GetGroupName() const
void SetStrategy(const PlacementStrategy &value)
PlacementGroup & WithGroupId(const char *value)
PlacementGroup & WithStrategy(const PlacementStrategy &value)
const SpreadLevel & GetSpreadLevel() const
PlacementGroup & WithGroupName(const Aws::String &value)
PlacementGroup & WithGroupName(Aws::String &&value)
PlacementGroup & WithTags(Aws::Vector< Tag > &&value)
PlacementGroup & WithGroupName(const char *value)
const PlacementStrategy & GetStrategy() const
PlacementGroup & WithState(const PlacementGroupState &value)
AWS_EC2_API PlacementGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
PlacementGroup & WithGroupArn(const char *value)
void SetPartitionCount(int value)
bool TagsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream