AWS SDK for C++  1.9.105
AWS SDK for C++
HsmClientCertificate.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <aws/redshift/model/Tag.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlNode;
21 } // namespace Xml
22 } // namespace Utils
23 namespace Redshift
24 {
25 namespace Model
26 {
27 
36  {
37  public:
41 
42  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43  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 
74  inline HsmClientCertificate& WithHsmClientCertificateIdentifier(const Aws::String& value) { SetHsmClientCertificateIdentifier(value); return *this;}
75 
79  inline HsmClientCertificate& WithHsmClientCertificateIdentifier(Aws::String&& value) { SetHsmClientCertificateIdentifier(std::move(value)); return *this;}
80 
84  inline HsmClientCertificate& WithHsmClientCertificateIdentifier(const char* value) { SetHsmClientCertificateIdentifier(value); return *this;}
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 
121  inline HsmClientCertificate& WithHsmClientCertificatePublicKey(const Aws::String& value) { SetHsmClientCertificatePublicKey(value); return *this;}
122 
127  inline HsmClientCertificate& WithHsmClientCertificatePublicKey(Aws::String&& value) { SetHsmClientCertificatePublicKey(std::move(value)); return *this;}
128 
133  inline HsmClientCertificate& WithHsmClientCertificatePublicKey(const char* value) { SetHsmClientCertificatePublicKey(value); return *this;}
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;
180 
181  Aws::String m_hsmClientCertificatePublicKey;
182  bool m_hsmClientCertificatePublicKeyHasBeenSet;
183 
184  Aws::Vector<Tag> m_tags;
185  bool m_tagsHasBeenSet;
186  };
187 
188 } // namespace Model
189 } // namespace Redshift
190 } // namespace Aws
Aws::Redshift::Model::Tag
Definition: Tag.h:33
Aws::Redshift::Model::HsmClientCertificate::SetHsmClientCertificateIdentifier
void SetHsmClientCertificateIdentifier(Aws::String &&value)
Definition: HsmClientCertificate.h:64
Aws::Redshift::Model::HsmClientCertificate
Definition: HsmClientCertificate.h:36
Aws::Redshift::Model::HsmClientCertificate::WithHsmClientCertificatePublicKey
HsmClientCertificate & WithHsmClientCertificatePublicKey(const Aws::String &value)
Definition: HsmClientCertificate.h:121
Aws::Redshift::Model::HsmClientCertificate::SetHsmClientCertificatePublicKey
void SetHsmClientCertificatePublicKey(const char *value)
Definition: HsmClientCertificate.h:115
Tag.h
Aws::Redshift::Model::HsmClientCertificate::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::Redshift::Model::HsmClientCertificate::AddTags
HsmClientCertificate & AddTags(const Tag &value)
Definition: HsmClientCertificate.h:169
Aws::Redshift::Model::HsmClientCertificate::operator=
HsmClientCertificate & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Redshift::Model::HsmClientCertificate::SetHsmClientCertificatePublicKey
void SetHsmClientCertificatePublicKey(const Aws::String &value)
Definition: HsmClientCertificate.h:103
Aws::Redshift::Model::HsmClientCertificate::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: HsmClientCertificate.h:144
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSStreamFwd.h
Aws::Redshift::Model::HsmClientCertificate::SetHsmClientCertificateIdentifier
void SetHsmClientCertificateIdentifier(const char *value)
Definition: HsmClientCertificate.h:69
AWSVector.h
Aws::Redshift::Model::HsmClientCertificate::SetHsmClientCertificateIdentifier
void SetHsmClientCertificateIdentifier(const Aws::String &value)
Definition: HsmClientCertificate.h:59
Aws::Redshift::Model::HsmClientCertificate::WithHsmClientCertificateIdentifier
HsmClientCertificate & WithHsmClientCertificateIdentifier(const char *value)
Definition: HsmClientCertificate.h:84
Aws::Redshift::Model::HsmClientCertificate::WithHsmClientCertificateIdentifier
HsmClientCertificate & WithHsmClientCertificateIdentifier(Aws::String &&value)
Definition: HsmClientCertificate.h:79
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Redshift::Model::HsmClientCertificate::HsmClientCertificateIdentifierHasBeenSet
bool HsmClientCertificateIdentifierHasBeenSet() const
Definition: HsmClientCertificate.h:54
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::Redshift::Model::HsmClientCertificate::HsmClientCertificatePublicKeyHasBeenSet
bool HsmClientCertificatePublicKeyHasBeenSet() const
Definition: HsmClientCertificate.h:97
Aws::Redshift::Model::HsmClientCertificate::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: HsmClientCertificate.h:154
Aws::Redshift::Model::HsmClientCertificate::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: HsmClientCertificate.h:149
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::HsmClientCertificate::AddTags
HsmClientCertificate & AddTags(Tag &&value)
Definition: HsmClientCertificate.h:174
Aws::Redshift::Model::HsmClientCertificate::GetHsmClientCertificatePublicKey
const Aws::String & GetHsmClientCertificatePublicKey() const
Definition: HsmClientCertificate.h:91
AWSString.h
Aws::Redshift::Model::HsmClientCertificate::WithHsmClientCertificateIdentifier
HsmClientCertificate & WithHsmClientCertificateIdentifier(const Aws::String &value)
Definition: HsmClientCertificate.h:74
Aws::Redshift::Model::HsmClientCertificate::GetHsmClientCertificateIdentifier
const Aws::String & GetHsmClientCertificateIdentifier() const
Definition: HsmClientCertificate.h:49
Aws::Redshift::Model::HsmClientCertificate::SetHsmClientCertificatePublicKey
void SetHsmClientCertificatePublicKey(Aws::String &&value)
Definition: HsmClientCertificate.h:109
Aws::Redshift::Model::HsmClientCertificate::WithHsmClientCertificatePublicKey
HsmClientCertificate & WithHsmClientCertificatePublicKey(const char *value)
Definition: HsmClientCertificate.h:133
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::HsmClientCertificate::HsmClientCertificate
HsmClientCertificate()
index
int index
Definition: cJSON.h:181
Aws::Redshift::Model::HsmClientCertificate::WithTags
HsmClientCertificate & WithTags(const Aws::Vector< Tag > &value)
Definition: HsmClientCertificate.h:159
Aws::Redshift::Model::HsmClientCertificate::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::Redshift::Model::HsmClientCertificate::WithHsmClientCertificatePublicKey
HsmClientCertificate & WithHsmClientCertificatePublicKey(Aws::String &&value)
Definition: HsmClientCertificate.h:127
Aws::Redshift::Model::HsmClientCertificate::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: HsmClientCertificate.h:139
Aws::Redshift::Model::HsmClientCertificate::HsmClientCertificate
HsmClientCertificate(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Redshift::Model::HsmClientCertificate::WithTags
HsmClientCertificate & WithTags(Aws::Vector< Tag > &&value)
Definition: HsmClientCertificate.h:164