7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
56 template <
typename AvailabilityZoneT = Aws::String>
58 m_availabilityZoneHasBeenSet =
true;
59 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
61 template <
typename AvailabilityZoneT = Aws::String>
81 template <
typename AvailabilityZoneIdT = Aws::String>
83 m_availabilityZoneIdHasBeenSet =
true;
84 m_availabilityZoneId = std::forward<AvailabilityZoneIdT>(value);
86 template <
typename AvailabilityZoneIdT = Aws::String>
100 template <
typename AllocationIdsT = Aws::Vector<Aws::String>>
102 m_allocationIdsHasBeenSet =
true;
103 m_allocationIds = std::forward<AllocationIdsT>(value);
105 template <
typename AllocationIdsT = Aws::Vector<Aws::String>>
110 template <
typename AllocationIdsT = Aws::String>
112 m_allocationIdsHasBeenSet =
true;
113 m_allocationIds.emplace_back(std::forward<AllocationIdsT>(value));
123 bool m_availabilityZoneHasBeenSet =
false;
124 bool m_availabilityZoneIdHasBeenSet =
false;
125 bool m_allocationIdsHasBeenSet =
false;
AvailabilityZoneAddress & WithAvailabilityZoneId(AvailabilityZoneIdT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool AvailabilityZoneHasBeenSet() const
AvailabilityZoneAddress & AddAllocationIds(AllocationIdsT &&value)
AvailabilityZoneAddress & WithAvailabilityZone(AvailabilityZoneT &&value)
bool AvailabilityZoneIdHasBeenSet() const
AWS_EC2_API AvailabilityZoneAddress(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetAvailabilityZone() const
void SetAllocationIds(AllocationIdsT &&value)
bool AllocationIdsHasBeenSet() const
AWS_EC2_API AvailabilityZoneAddress()=default
void SetAvailabilityZone(AvailabilityZoneT &&value)
const Aws::String & GetAvailabilityZoneId() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AvailabilityZoneAddress & WithAllocationIds(AllocationIdsT &&value)
void SetAvailabilityZoneId(AvailabilityZoneIdT &&value)
const Aws::Vector< Aws::String > & GetAllocationIds() const
AWS_EC2_API AvailabilityZoneAddress & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
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