AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HsmConfiguration.h
1
6#pragma once
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>
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:
39 AWS_REDSHIFT_API HsmConfiguration();
40 AWS_REDSHIFT_API HsmConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode);
41 AWS_REDSHIFT_API HsmConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
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
48
51 inline const Aws::String& GetHsmConfigurationIdentifier() const{ return m_hsmConfigurationIdentifier; }
52 inline bool HsmConfigurationIdentifierHasBeenSet() const { return m_hsmConfigurationIdentifierHasBeenSet; }
53 inline void SetHsmConfigurationIdentifier(const Aws::String& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = value; }
54 inline void SetHsmConfigurationIdentifier(Aws::String&& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = std::move(value); }
55 inline void SetHsmConfigurationIdentifier(const char* value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier.assign(value); }
58 inline HsmConfiguration& WithHsmConfigurationIdentifier(const char* value) { SetHsmConfigurationIdentifier(value); return *this;}
60
62
65 inline const Aws::String& GetDescription() const{ return m_description; }
66 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
67 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
68 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
69 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
70 inline HsmConfiguration& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
71 inline HsmConfiguration& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
72 inline HsmConfiguration& WithDescription(const char* value) { SetDescription(value); return *this;}
74
76
80 inline const Aws::String& GetHsmIpAddress() const{ return m_hsmIpAddress; }
81 inline bool HsmIpAddressHasBeenSet() const { return m_hsmIpAddressHasBeenSet; }
82 inline void SetHsmIpAddress(const Aws::String& value) { m_hsmIpAddressHasBeenSet = true; m_hsmIpAddress = value; }
83 inline void SetHsmIpAddress(Aws::String&& value) { m_hsmIpAddressHasBeenSet = true; m_hsmIpAddress = std::move(value); }
84 inline void SetHsmIpAddress(const char* value) { m_hsmIpAddressHasBeenSet = true; m_hsmIpAddress.assign(value); }
85 inline HsmConfiguration& WithHsmIpAddress(const Aws::String& value) { SetHsmIpAddress(value); return *this;}
86 inline HsmConfiguration& WithHsmIpAddress(Aws::String&& value) { SetHsmIpAddress(std::move(value)); return *this;}
87 inline HsmConfiguration& WithHsmIpAddress(const char* value) { SetHsmIpAddress(value); return *this;}
89
91
95 inline const Aws::String& GetHsmPartitionName() const{ return m_hsmPartitionName; }
96 inline bool HsmPartitionNameHasBeenSet() const { return m_hsmPartitionNameHasBeenSet; }
97 inline void SetHsmPartitionName(const Aws::String& value) { m_hsmPartitionNameHasBeenSet = true; m_hsmPartitionName = value; }
98 inline void SetHsmPartitionName(Aws::String&& value) { m_hsmPartitionNameHasBeenSet = true; m_hsmPartitionName = std::move(value); }
99 inline void SetHsmPartitionName(const char* value) { m_hsmPartitionNameHasBeenSet = true; m_hsmPartitionName.assign(value); }
100 inline HsmConfiguration& WithHsmPartitionName(const Aws::String& value) { SetHsmPartitionName(value); return *this;}
101 inline HsmConfiguration& WithHsmPartitionName(Aws::String&& value) { SetHsmPartitionName(std::move(value)); return *this;}
102 inline HsmConfiguration& WithHsmPartitionName(const char* value) { SetHsmPartitionName(value); return *this;}
104
106
109 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
110 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
111 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
112 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
113 inline HsmConfiguration& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
114 inline HsmConfiguration& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
115 inline HsmConfiguration& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
116 inline HsmConfiguration& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
118 private:
119
120 Aws::String m_hsmConfigurationIdentifier;
121 bool m_hsmConfigurationIdentifierHasBeenSet = false;
122
123 Aws::String m_description;
124 bool m_descriptionHasBeenSet = false;
125
126 Aws::String m_hsmIpAddress;
127 bool m_hsmIpAddressHasBeenSet = false;
128
129 Aws::String m_hsmPartitionName;
130 bool m_hsmPartitionNameHasBeenSet = false;
131
132 Aws::Vector<Tag> m_tags;
133 bool m_tagsHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace Redshift
138} // namespace Aws
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