7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift/model/SupportedPlatform.h>
50 template<
typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
52 template<
typename NameT = Aws::String>
62 template<
typename SupportedPlatformsT = Aws::Vector<SupportedPlatform>>
63 void SetSupportedPlatforms(SupportedPlatformsT&& value) { m_supportedPlatformsHasBeenSet =
true; m_supportedPlatforms = std::forward<SupportedPlatformsT>(value); }
64 template<
typename SupportedPlatformsT = Aws::Vector<SupportedPlatform>>
66 template<
typename SupportedPlatformsT = SupportedPlatform>
67 AvailabilityZone&
AddSupportedPlatforms(SupportedPlatformsT&& value) { m_supportedPlatformsHasBeenSet =
true; m_supportedPlatforms.emplace_back(std::forward<SupportedPlatformsT>(value));
return *
this; }
72 bool m_nameHasBeenSet =
false;
75 bool m_supportedPlatformsHasBeenSet =
false;
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_REDSHIFT_API AvailabilityZone()=default
void SetSupportedPlatforms(SupportedPlatformsT &&value)
const Aws::Vector< SupportedPlatform > & GetSupportedPlatforms() const
void SetName(NameT &&value)
AvailabilityZone & WithName(NameT &&value)
bool SupportedPlatformsHasBeenSet() const
AvailabilityZone & AddSupportedPlatforms(SupportedPlatformsT &&value)
AWS_REDSHIFT_API AvailabilityZone(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetName() const
bool NameHasBeenSet() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AvailabilityZone & WithSupportedPlatforms(SupportedPlatformsT &&value)
AWS_REDSHIFT_API AvailabilityZone & 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