AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
HsmClientCertificate.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
36 {
37 public:
41
42 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
49 inline const Aws::String& GetHsmClientCertificateIdentifier() const{ return m_hsmClientCertificateIdentifier; }
50
54 inline bool HsmClientCertificateIdentifierHasBeenSet() const { return m_hsmClientCertificateIdentifierHasBeenSet; }
55
59 inline void SetHsmClientCertificateIdentifier(const Aws::String& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = value; }
60
64 inline void SetHsmClientCertificateIdentifier(Aws::String&& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = std::move(value); }
65
69 inline void SetHsmClientCertificateIdentifier(const char* value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier.assign(value); }
70
75
80
85
86
91 inline const Aws::String& GetHsmClientCertificatePublicKey() const{ return m_hsmClientCertificatePublicKey; }
92
97 inline bool HsmClientCertificatePublicKeyHasBeenSet() const { return m_hsmClientCertificatePublicKeyHasBeenSet; }
98
103 inline void SetHsmClientCertificatePublicKey(const Aws::String& value) { m_hsmClientCertificatePublicKeyHasBeenSet = true; m_hsmClientCertificatePublicKey = value; }
104
109 inline void SetHsmClientCertificatePublicKey(Aws::String&& value) { m_hsmClientCertificatePublicKeyHasBeenSet = true; m_hsmClientCertificatePublicKey = std::move(value); }
110
115 inline void SetHsmClientCertificatePublicKey(const char* value) { m_hsmClientCertificatePublicKeyHasBeenSet = true; m_hsmClientCertificatePublicKey.assign(value); }
116
122
128
134
135
139 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
140
144 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
145
149 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
150
154 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
155
159 inline HsmClientCertificate& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
160
164 inline HsmClientCertificate& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
165
169 inline HsmClientCertificate& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
170
174 inline HsmClientCertificate& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
175
176 private:
177
178 Aws::String m_hsmClientCertificateIdentifier;
179 bool m_hsmClientCertificateIdentifierHasBeenSet = false;
180
181 Aws::String m_hsmClientCertificatePublicKey;
182 bool m_hsmClientCertificatePublicKeyHasBeenSet = false;
183
184 Aws::Vector<Tag> m_tags;
185 bool m_tagsHasBeenSet = false;
186 };
187
188} // namespace Model
189} // namespace Redshift
190} // namespace Aws
#define AWS_REDSHIFT_API
const Aws::String & GetHsmClientCertificateIdentifier() const
void SetHsmClientCertificatePublicKey(Aws::String &&value)
void SetHsmClientCertificatePublicKey(const char *value)
HsmClientCertificate & WithHsmClientCertificateIdentifier(const char *value)
const Aws::Vector< Tag > & GetTags() const
void SetTags(Aws::Vector< Tag > &&value)
void SetTags(const Aws::Vector< Tag > &value)
const Aws::String & GetHsmClientCertificatePublicKey() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
HsmClientCertificate & WithHsmClientCertificatePublicKey(Aws::String &&value)
HsmClientCertificate & WithHsmClientCertificatePublicKey(const Aws::String &value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
HsmClientCertificate & WithHsmClientCertificateIdentifier(const Aws::String &value)
HsmClientCertificate & WithHsmClientCertificatePublicKey(const char *value)
void SetHsmClientCertificateIdentifier(const char *value)
HsmClientCertificate & WithTags(Aws::Vector< Tag > &&value)
void SetHsmClientCertificatePublicKey(const Aws::String &value)
HsmClientCertificate & WithTags(const Aws::Vector< Tag > &value)
AWS_REDSHIFT_API HsmClientCertificate(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetHsmClientCertificateIdentifier(Aws::String &&value)
void SetHsmClientCertificateIdentifier(const Aws::String &value)
HsmClientCertificate & AddTags(const Tag &value)
HsmClientCertificate & AddTags(Tag &&value)
AWS_REDSHIFT_API HsmClientCertificate & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
HsmClientCertificate & WithHsmClientCertificateIdentifier(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