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/Tenancy.h>
53 inline void SetAvailabilityZone(
const char* value) { m_availabilityZoneHasBeenSet =
true; m_availabilityZone.assign(value); }
67 inline void SetGroupName(
const char* value) { m_groupNameHasBeenSet =
true; m_groupName.assign(value); }
81 inline void SetTenancy(
const Tenancy& value) { m_tenancyHasBeenSet =
true; m_tenancy = value; }
82 inline void SetTenancy(
Tenancy&& value) { m_tenancyHasBeenSet =
true; m_tenancy = std::move(value); }
89 bool m_availabilityZoneHasBeenSet =
false;
92 bool m_groupNameHasBeenSet =
false;
95 bool m_tenancyHasBeenSet =
false;
AWS_EC2_API SpotPlacement()
SpotPlacement & WithAvailabilityZone(const Aws::String &value)
bool GroupNameHasBeenSet() const
const Aws::String & GetAvailabilityZone() const
void SetAvailabilityZone(Aws::String &&value)
SpotPlacement & WithAvailabilityZone(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SpotPlacement & WithGroupName(Aws::String &&value)
void SetAvailabilityZone(const char *value)
SpotPlacement & WithTenancy(const Tenancy &value)
void SetTenancy(Tenancy &&value)
AWS_EC2_API SpotPlacement & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
SpotPlacement & WithAvailabilityZone(const char *value)
SpotPlacement & WithGroupName(const Aws::String &value)
bool TenancyHasBeenSet() const
void SetAvailabilityZone(const Aws::String &value)
SpotPlacement & WithGroupName(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetGroupName(const char *value)
void SetGroupName(const Aws::String &value)
AWS_EC2_API SpotPlacement(const Aws::Utils::Xml::XmlNode &xmlNode)
bool AvailabilityZoneHasBeenSet() const
void SetGroupName(Aws::String &&value)
const Tenancy & GetTenancy() const
void SetTenancy(const Tenancy &value)
const Aws::String & GetGroupName() const
SpotPlacement & WithTenancy(Tenancy &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream