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/Tag.h>
53 template<
typename HsmConfigurationIdentifierT = Aws::String>
54 void SetHsmConfigurationIdentifier(HsmConfigurationIdentifierT&& value) { m_hsmConfigurationIdentifierHasBeenSet =
true; m_hsmConfigurationIdentifier = std::forward<HsmConfigurationIdentifierT>(value); }
55 template<
typename HsmConfigurationIdentifierT = Aws::String>
65 template<
typename DescriptionT = Aws::String>
66 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
67 template<
typename DescriptionT = Aws::String>
78 template<
typename HsmIpAddressT = Aws::String>
79 void SetHsmIpAddress(HsmIpAddressT&& value) { m_hsmIpAddressHasBeenSet =
true; m_hsmIpAddress = std::forward<HsmIpAddressT>(value); }
80 template<
typename HsmIpAddressT = Aws::String>
91 template<
typename HsmPartitionNameT = Aws::String>
92 void SetHsmPartitionName(HsmPartitionNameT&& value) { m_hsmPartitionNameHasBeenSet =
true; m_hsmPartitionName = std::forward<HsmPartitionNameT>(value); }
93 template<
typename HsmPartitionNameT = Aws::String>
103 template<
typename TagsT = Aws::Vector<Tag>>
104 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
105 template<
typename TagsT = Aws::Vector<Tag>>
107 template<
typename TagsT = Tag>
108 HsmConfiguration&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
113 bool m_hsmConfigurationIdentifierHasBeenSet =
false;
116 bool m_descriptionHasBeenSet =
false;
119 bool m_hsmIpAddressHasBeenSet =
false;
122 bool m_hsmPartitionNameHasBeenSet =
false;
125 bool m_tagsHasBeenSet =
false;
AWS_REDSHIFT_API HsmConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetHsmPartitionName(HsmPartitionNameT &&value)
bool HsmConfigurationIdentifierHasBeenSet() const
bool HsmIpAddressHasBeenSet() const
AWS_REDSHIFT_API HsmConfiguration()=default
const Aws::String & GetHsmPartitionName() const
const Aws::String & GetHsmIpAddress() const
HsmConfiguration & WithHsmPartitionName(HsmPartitionNameT &&value)
bool TagsHasBeenSet() const
void SetDescription(DescriptionT &&value)
void SetHsmIpAddress(HsmIpAddressT &&value)
HsmConfiguration & WithDescription(DescriptionT &&value)
HsmConfiguration & AddTags(TagsT &&value)
const Aws::String & GetDescription() const
AWS_REDSHIFT_API HsmConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
HsmConfiguration & WithTags(TagsT &&value)
const Aws::String & GetHsmConfigurationIdentifier() const
HsmConfiguration & WithHsmConfigurationIdentifier(HsmConfigurationIdentifierT &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::Vector< Tag > & GetTags() const
HsmConfiguration & WithHsmIpAddress(HsmIpAddressT &&value)
bool HsmPartitionNameHasBeenSet() const
void SetTags(TagsT &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetHsmConfigurationIdentifier(HsmConfigurationIdentifierT &&value)
bool DescriptionHasBeenSet() 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