AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
HsmConfiguration.h
Go to the documentation of this file.
1
6#pragma once
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace Redshift
24{
25namespace Model
26{
27
37 {
38 public:
42
43 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
45
46
50 inline const Aws::String& GetHsmConfigurationIdentifier() const{ return m_hsmConfigurationIdentifier; }
51
55 inline bool HsmConfigurationIdentifierHasBeenSet() const { return m_hsmConfigurationIdentifierHasBeenSet; }
56
60 inline void SetHsmConfigurationIdentifier(const Aws::String& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = value; }
61
65 inline void SetHsmConfigurationIdentifier(Aws::String&& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = std::move(value); }
66
70 inline void SetHsmConfigurationIdentifier(const char* value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier.assign(value); }
71
76
81
85 inline HsmConfiguration& WithHsmConfigurationIdentifier(const char* value) { SetHsmConfigurationIdentifier(value); return *this;}
86
87
91 inline const Aws::String& GetDescription() const{ return m_description; }
92
96 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
97
101 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
102
106 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
107
111 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
112
116 inline HsmConfiguration& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
117
121 inline HsmConfiguration& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
122
126 inline HsmConfiguration& WithDescription(const char* value) { SetDescription(value); return *this;}
127
128
133 inline const Aws::String& GetHsmIpAddress() const{ return m_hsmIpAddress; }
134
139 inline bool HsmIpAddressHasBeenSet() const { return m_hsmIpAddressHasBeenSet; }
140
145 inline void SetHsmIpAddress(const Aws::String& value) { m_hsmIpAddressHasBeenSet = true; m_hsmIpAddress = value; }
146
151 inline void SetHsmIpAddress(Aws::String&& value) { m_hsmIpAddressHasBeenSet = true; m_hsmIpAddress = std::move(value); }
152
157 inline void SetHsmIpAddress(const char* value) { m_hsmIpAddressHasBeenSet = true; m_hsmIpAddress.assign(value); }
158
163 inline HsmConfiguration& WithHsmIpAddress(const Aws::String& value) { SetHsmIpAddress(value); return *this;}
164
169 inline HsmConfiguration& WithHsmIpAddress(Aws::String&& value) { SetHsmIpAddress(std::move(value)); return *this;}
170
175 inline HsmConfiguration& WithHsmIpAddress(const char* value) { SetHsmIpAddress(value); return *this;}
176
177
182 inline const Aws::String& GetHsmPartitionName() const{ return m_hsmPartitionName; }
183
188 inline bool HsmPartitionNameHasBeenSet() const { return m_hsmPartitionNameHasBeenSet; }
189
194 inline void SetHsmPartitionName(const Aws::String& value) { m_hsmPartitionNameHasBeenSet = true; m_hsmPartitionName = value; }
195
200 inline void SetHsmPartitionName(Aws::String&& value) { m_hsmPartitionNameHasBeenSet = true; m_hsmPartitionName = std::move(value); }
201
206 inline void SetHsmPartitionName(const char* value) { m_hsmPartitionNameHasBeenSet = true; m_hsmPartitionName.assign(value); }
207
212 inline HsmConfiguration& WithHsmPartitionName(const Aws::String& value) { SetHsmPartitionName(value); return *this;}
213
218 inline HsmConfiguration& WithHsmPartitionName(Aws::String&& value) { SetHsmPartitionName(std::move(value)); return *this;}
219
224 inline HsmConfiguration& WithHsmPartitionName(const char* value) { SetHsmPartitionName(value); return *this;}
225
226
230 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
231
235 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
236
240 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
241
245 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
246
250 inline HsmConfiguration& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
251
255 inline HsmConfiguration& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
256
260 inline HsmConfiguration& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
261
265 inline HsmConfiguration& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
266
267 private:
268
269 Aws::String m_hsmConfigurationIdentifier;
270 bool m_hsmConfigurationIdentifierHasBeenSet = false;
271
272 Aws::String m_description;
273 bool m_descriptionHasBeenSet = false;
274
275 Aws::String m_hsmIpAddress;
276 bool m_hsmIpAddressHasBeenSet = false;
277
278 Aws::String m_hsmPartitionName;
279 bool m_hsmPartitionNameHasBeenSet = false;
280
281 Aws::Vector<Tag> m_tags;
282 bool m_tagsHasBeenSet = false;
283 };
284
285} // namespace Model
286} // namespace Redshift
287} // namespace Aws
#define AWS_REDSHIFT_API
HsmConfiguration & WithTags(Aws::Vector< Tag > &&value)
HsmConfiguration & WithHsmConfigurationIdentifier(const char *value)
AWS_REDSHIFT_API HsmConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
HsmConfiguration & WithHsmIpAddress(const char *value)
HsmConfiguration & WithHsmConfigurationIdentifier(Aws::String &&value)
void SetHsmConfigurationIdentifier(const Aws::String &value)
void SetHsmIpAddress(Aws::String &&value)
HsmConfiguration & WithTags(const Aws::Vector< Tag > &value)
void SetDescription(const Aws::String &value)
void SetHsmPartitionName(const Aws::String &value)
void SetHsmPartitionName(Aws::String &&value)
void SetHsmIpAddress(const Aws::String &value)
HsmConfiguration & WithHsmIpAddress(Aws::String &&value)
const Aws::String & GetHsmPartitionName() const
void SetDescription(Aws::String &&value)
const Aws::String & GetHsmIpAddress() const
void SetTags(const Aws::Vector< Tag > &value)
HsmConfiguration & WithHsmPartitionName(Aws::String &&value)
HsmConfiguration & WithDescription(const char *value)
HsmConfiguration & AddTags(const Tag &value)
void SetHsmConfigurationIdentifier(const char *value)
void SetHsmConfigurationIdentifier(Aws::String &&value)
HsmConfiguration & WithDescription(Aws::String &&value)
HsmConfiguration & AddTags(Tag &&value)
const Aws::String & GetDescription() const
AWS_REDSHIFT_API HsmConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
HsmConfiguration & WithHsmPartitionName(const Aws::String &value)
const Aws::String & GetHsmConfigurationIdentifier() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetTags(Aws::Vector< Tag > &&value)
const Aws::Vector< Tag > & GetTags() const
HsmConfiguration & WithHsmConfigurationIdentifier(const Aws::String &value)
HsmConfiguration & WithDescription(const Aws::String &value)
void SetHsmPartitionName(const char *value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
HsmConfiguration & WithHsmPartitionName(const char *value)
HsmConfiguration & WithHsmIpAddress(const Aws::String &value)
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