AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HsmStatus.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace Redshift
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_REDSHIFT_API HsmStatus();
36 AWS_REDSHIFT_API HsmStatus(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_REDSHIFT_API HsmStatus& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
48 inline const Aws::String& GetHsmClientCertificateIdentifier() const{ return m_hsmClientCertificateIdentifier; }
49 inline bool HsmClientCertificateIdentifierHasBeenSet() const { return m_hsmClientCertificateIdentifierHasBeenSet; }
50 inline void SetHsmClientCertificateIdentifier(const Aws::String& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = value; }
51 inline void SetHsmClientCertificateIdentifier(Aws::String&& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = std::move(value); }
52 inline void SetHsmClientCertificateIdentifier(const char* value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier.assign(value); }
55 inline HsmStatus& WithHsmClientCertificateIdentifier(const char* value) { SetHsmClientCertificateIdentifier(value); return *this;}
57
59
63 inline const Aws::String& GetHsmConfigurationIdentifier() const{ return m_hsmConfigurationIdentifier; }
64 inline bool HsmConfigurationIdentifierHasBeenSet() const { return m_hsmConfigurationIdentifierHasBeenSet; }
65 inline void SetHsmConfigurationIdentifier(const Aws::String& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = value; }
66 inline void SetHsmConfigurationIdentifier(Aws::String&& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = std::move(value); }
67 inline void SetHsmConfigurationIdentifier(const char* value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier.assign(value); }
69 inline HsmStatus& WithHsmConfigurationIdentifier(Aws::String&& value) { SetHsmConfigurationIdentifier(std::move(value)); return *this;}
70 inline HsmStatus& WithHsmConfigurationIdentifier(const char* value) { SetHsmConfigurationIdentifier(value); return *this;}
72
74
79 inline const Aws::String& GetStatus() const{ return m_status; }
80 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
81 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
82 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
83 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
84 inline HsmStatus& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
85 inline HsmStatus& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
86 inline HsmStatus& WithStatus(const char* value) { SetStatus(value); return *this;}
88 private:
89
90 Aws::String m_hsmClientCertificateIdentifier;
91 bool m_hsmClientCertificateIdentifierHasBeenSet = false;
92
93 Aws::String m_hsmConfigurationIdentifier;
94 bool m_hsmConfigurationIdentifierHasBeenSet = false;
95
96 Aws::String m_status;
97 bool m_statusHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Redshift
102} // namespace Aws
void SetHsmClientCertificateIdentifier(Aws::String &&value)
Definition HsmStatus.h:51
void SetStatus(const Aws::String &value)
Definition HsmStatus.h:81
HsmStatus & WithHsmClientCertificateIdentifier(Aws::String &&value)
Definition HsmStatus.h:54
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetHsmConfigurationIdentifier(const Aws::String &value)
Definition HsmStatus.h:65
void SetStatus(Aws::String &&value)
Definition HsmStatus.h:82
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool HsmConfigurationIdentifierHasBeenSet() const
Definition HsmStatus.h:64
bool HsmClientCertificateIdentifierHasBeenSet() const
Definition HsmStatus.h:49
void SetHsmConfigurationIdentifier(Aws::String &&value)
Definition HsmStatus.h:66
AWS_REDSHIFT_API HsmStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API HsmStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetHsmClientCertificateIdentifier(const char *value)
Definition HsmStatus.h:52
HsmStatus & WithStatus(const Aws::String &value)
Definition HsmStatus.h:84
HsmStatus & WithStatus(Aws::String &&value)
Definition HsmStatus.h:85
void SetStatus(const char *value)
Definition HsmStatus.h:83
HsmStatus & WithHsmClientCertificateIdentifier(const Aws::String &value)
Definition HsmStatus.h:53
void SetHsmConfigurationIdentifier(const char *value)
Definition HsmStatus.h:67
HsmStatus & WithHsmConfigurationIdentifier(const char *value)
Definition HsmStatus.h:70
AWS_REDSHIFT_API HsmStatus()
const Aws::String & GetHsmClientCertificateIdentifier() const
Definition HsmStatus.h:48
HsmStatus & WithHsmClientCertificateIdentifier(const char *value)
Definition HsmStatus.h:55
HsmStatus & WithHsmConfigurationIdentifier(Aws::String &&value)
Definition HsmStatus.h:69
const Aws::String & GetStatus() const
Definition HsmStatus.h:79
void SetHsmClientCertificateIdentifier(const Aws::String &value)
Definition HsmStatus.h:50
HsmStatus & WithStatus(const char *value)
Definition HsmStatus.h:86
HsmStatus & WithHsmConfigurationIdentifier(const Aws::String &value)
Definition HsmStatus.h:68
const Aws::String & GetHsmConfigurationIdentifier() const
Definition HsmStatus.h:63
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream