AWS SDK for C++  1.9.104
AWS SDK for C++
HsmStatus.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace Redshift
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
47  inline const Aws::String& GetHsmClientCertificateIdentifier() const{ return m_hsmClientCertificateIdentifier; }
48 
53  inline bool HsmClientCertificateIdentifierHasBeenSet() const { return m_hsmClientCertificateIdentifierHasBeenSet; }
54 
59  inline void SetHsmClientCertificateIdentifier(const Aws::String& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = value; }
60 
65  inline void SetHsmClientCertificateIdentifier(Aws::String&& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = std::move(value); }
66 
71  inline void SetHsmClientCertificateIdentifier(const char* value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier.assign(value); }
72 
77  inline HsmStatus& WithHsmClientCertificateIdentifier(const Aws::String& value) { SetHsmClientCertificateIdentifier(value); return *this;}
78 
83  inline HsmStatus& WithHsmClientCertificateIdentifier(Aws::String&& value) { SetHsmClientCertificateIdentifier(std::move(value)); return *this;}
84 
89  inline HsmStatus& WithHsmClientCertificateIdentifier(const char* value) { SetHsmClientCertificateIdentifier(value); return *this;}
90 
91 
96  inline const Aws::String& GetHsmConfigurationIdentifier() const{ return m_hsmConfigurationIdentifier; }
97 
102  inline bool HsmConfigurationIdentifierHasBeenSet() const { return m_hsmConfigurationIdentifierHasBeenSet; }
103 
108  inline void SetHsmConfigurationIdentifier(const Aws::String& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = value; }
109 
114  inline void SetHsmConfigurationIdentifier(Aws::String&& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = std::move(value); }
115 
120  inline void SetHsmConfigurationIdentifier(const char* value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier.assign(value); }
121 
126  inline HsmStatus& WithHsmConfigurationIdentifier(const Aws::String& value) { SetHsmConfigurationIdentifier(value); return *this;}
127 
132  inline HsmStatus& WithHsmConfigurationIdentifier(Aws::String&& value) { SetHsmConfigurationIdentifier(std::move(value)); return *this;}
133 
138  inline HsmStatus& WithHsmConfigurationIdentifier(const char* value) { SetHsmConfigurationIdentifier(value); return *this;}
139 
140 
146  inline const Aws::String& GetStatus() const{ return m_status; }
147 
153  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
154 
160  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
161 
167  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
168 
174  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
175 
181  inline HsmStatus& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
182 
188  inline HsmStatus& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
189 
195  inline HsmStatus& WithStatus(const char* value) { SetStatus(value); return *this;}
196 
197  private:
198 
199  Aws::String m_hsmClientCertificateIdentifier;
200  bool m_hsmClientCertificateIdentifierHasBeenSet;
201 
202  Aws::String m_hsmConfigurationIdentifier;
203  bool m_hsmConfigurationIdentifierHasBeenSet;
204 
205  Aws::String m_status;
206  bool m_statusHasBeenSet;
207  };
208 
209 } // namespace Model
210 } // namespace Redshift
211 } // namespace Aws
Aws::Redshift::Model::HsmStatus::SetHsmConfigurationIdentifier
void SetHsmConfigurationIdentifier(const Aws::String &value)
Definition: HsmStatus.h:108
Aws::Redshift::Model::HsmStatus::GetStatus
const Aws::String & GetStatus() const
Definition: HsmStatus.h:146
Aws::Redshift::Model::HsmStatus::WithHsmClientCertificateIdentifier
HsmStatus & WithHsmClientCertificateIdentifier(const char *value)
Definition: HsmStatus.h:89
Aws::Redshift::Model::HsmStatus::SetHsmClientCertificateIdentifier
void SetHsmClientCertificateIdentifier(const char *value)
Definition: HsmStatus.h:71
Aws::Redshift::Model::HsmStatus::WithStatus
HsmStatus & WithStatus(Aws::String &&value)
Definition: HsmStatus.h:188
Aws::Redshift::Model::HsmStatus::HsmClientCertificateIdentifierHasBeenSet
bool HsmClientCertificateIdentifierHasBeenSet() const
Definition: HsmStatus.h:53
Aws::Redshift::Model::HsmStatus::SetHsmConfigurationIdentifier
void SetHsmConfigurationIdentifier(Aws::String &&value)
Definition: HsmStatus.h:114
Aws::Redshift::Model::HsmStatus::WithHsmConfigurationIdentifier
HsmStatus & WithHsmConfigurationIdentifier(const Aws::String &value)
Definition: HsmStatus.h:126
AWSStreamFwd.h
Aws::Redshift::Model::HsmStatus::SetHsmClientCertificateIdentifier
void SetHsmClientCertificateIdentifier(const Aws::String &value)
Definition: HsmStatus.h:59
Aws::Redshift::Model::HsmStatus::WithHsmConfigurationIdentifier
HsmStatus & WithHsmConfigurationIdentifier(Aws::String &&value)
Definition: HsmStatus.h:132
Aws::Redshift::Model::HsmStatus::GetHsmClientCertificateIdentifier
const Aws::String & GetHsmClientCertificateIdentifier() const
Definition: HsmStatus.h:47
Aws::Redshift::Model::HsmStatus::HsmStatus
HsmStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Redshift::Model::HsmStatus::SetStatus
void SetStatus(Aws::String &&value)
Definition: HsmStatus.h:167
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Redshift::Model::HsmStatus::WithHsmClientCertificateIdentifier
HsmStatus & WithHsmClientCertificateIdentifier(const Aws::String &value)
Definition: HsmStatus.h:77
Aws::Redshift::Model::HsmStatus::WithHsmConfigurationIdentifier
HsmStatus & WithHsmConfigurationIdentifier(const char *value)
Definition: HsmStatus.h:138
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::Redshift::Model::HsmStatus::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: HsmStatus.h:153
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
AWSString.h
Aws::Redshift::Model::HsmStatus::HsmConfigurationIdentifierHasBeenSet
bool HsmConfigurationIdentifierHasBeenSet() const
Definition: HsmStatus.h:102
Aws::Redshift::Model::HsmStatus::SetHsmConfigurationIdentifier
void SetHsmConfigurationIdentifier(const char *value)
Definition: HsmStatus.h:120
Aws::Redshift::Model::HsmStatus::SetStatus
void SetStatus(const Aws::String &value)
Definition: HsmStatus.h:160
Aws::Redshift::Model::HsmStatus::HsmStatus
HsmStatus()
Aws::Redshift::Model::HsmStatus::GetHsmConfigurationIdentifier
const Aws::String & GetHsmConfigurationIdentifier() const
Definition: HsmStatus.h:96
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::HsmStatus::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Redshift_EXPORTS.h
Aws::Redshift::Model::HsmStatus::WithStatus
HsmStatus & WithStatus(const char *value)
Definition: HsmStatus.h:195
Aws::Redshift::Model::HsmStatus::SetStatus
void SetStatus(const char *value)
Definition: HsmStatus.h:174
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::HsmStatus
Definition: HsmStatus.h:33
index
int index
Definition: cJSON.h:181
Aws::Redshift::Model::HsmStatus::WithStatus
HsmStatus & WithStatus(const Aws::String &value)
Definition: HsmStatus.h:181
Aws::Redshift::Model::HsmStatus::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::Redshift::Model::HsmStatus::operator=
HsmStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Redshift::Model::HsmStatus::WithHsmClientCertificateIdentifier
HsmStatus & WithHsmClientCertificateIdentifier(Aws::String &&value)
Definition: HsmStatus.h:83
Aws::Redshift::Model::HsmStatus::SetHsmClientCertificateIdentifier
void SetHsmClientCertificateIdentifier(Aws::String &&value)
Definition: HsmStatus.h:65