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>
11#include <aws/ec2/model/RegionGeography.h>
46 template <
typename OptInStatusT = Aws::String>
48 m_optInStatusHasBeenSet =
true;
49 m_optInStatus = std::forward<OptInStatusT>(value);
51 template <
typename OptInStatusT = Aws::String>
65 template <
typename GeographyT = Aws::Vector<RegionGeography>>
67 m_geographyHasBeenSet =
true;
68 m_geography = std::forward<GeographyT>(value);
70 template <
typename GeographyT = Aws::Vector<RegionGeography>>
75 template <
typename GeographyT = RegionGeography>
77 m_geographyHasBeenSet =
true;
78 m_geography.emplace_back(std::forward<GeographyT>(value));
89 template <
typename RegionNameT = Aws::String>
91 m_regionNameHasBeenSet =
true;
92 m_regionName = std::forward<RegionNameT>(value);
94 template <
typename RegionNameT = Aws::String>
107 template <
typename Endpo
intT = Aws::String>
109 m_endpointHasBeenSet =
true;
110 m_endpoint = std::forward<EndpointT>(value);
112 template <
typename Endpo
intT = Aws::String>
126 bool m_optInStatusHasBeenSet =
false;
127 bool m_geographyHasBeenSet =
false;
128 bool m_regionNameHasBeenSet =
false;
129 bool m_endpointHasBeenSet =
false;
AWS_EC2_API Region & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API Region()=default
bool RegionNameHasBeenSet() const
Region & WithOptInStatus(OptInStatusT &&value)
Region & WithEndpoint(EndpointT &&value)
void SetEndpoint(EndpointT &&value)
bool EndpointHasBeenSet() const
const Aws::Vector< RegionGeography > & GetGeography() const
bool GeographyHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool OptInStatusHasBeenSet() const
void SetRegionName(RegionNameT &&value)
void SetGeography(GeographyT &&value)
const Aws::String & GetEndpoint() const
void SetOptInStatus(OptInStatusT &&value)
Region & AddGeography(GeographyT &&value)
const Aws::String & GetOptInStatus() const
Region & WithGeography(GeographyT &&value)
const Aws::String & GetRegionName() const
Region & WithRegionName(RegionNameT &&value)
AWS_EC2_API Region(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