AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HsmClientCertificate.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
36 {
37 public:
38 AWS_REDSHIFT_API HsmClientCertificate();
39 AWS_REDSHIFT_API HsmClientCertificate(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_REDSHIFT_API HsmClientCertificate& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
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
47
50 inline const Aws::String& GetHsmClientCertificateIdentifier() const{ return m_hsmClientCertificateIdentifier; }
51 inline bool HsmClientCertificateIdentifierHasBeenSet() const { return m_hsmClientCertificateIdentifierHasBeenSet; }
52 inline void SetHsmClientCertificateIdentifier(const Aws::String& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = value; }
53 inline void SetHsmClientCertificateIdentifier(Aws::String&& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = std::move(value); }
54 inline void SetHsmClientCertificateIdentifier(const char* value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier.assign(value); }
59
61
65 inline const Aws::String& GetHsmClientCertificatePublicKey() const{ return m_hsmClientCertificatePublicKey; }
66 inline bool HsmClientCertificatePublicKeyHasBeenSet() const { return m_hsmClientCertificatePublicKeyHasBeenSet; }
67 inline void SetHsmClientCertificatePublicKey(const Aws::String& value) { m_hsmClientCertificatePublicKeyHasBeenSet = true; m_hsmClientCertificatePublicKey = value; }
68 inline void SetHsmClientCertificatePublicKey(Aws::String&& value) { m_hsmClientCertificatePublicKeyHasBeenSet = true; m_hsmClientCertificatePublicKey = std::move(value); }
69 inline void SetHsmClientCertificatePublicKey(const char* value) { m_hsmClientCertificatePublicKeyHasBeenSet = true; m_hsmClientCertificatePublicKey.assign(value); }
74
76
79 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
80 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
81 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
82 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
83 inline HsmClientCertificate& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
84 inline HsmClientCertificate& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
85 inline HsmClientCertificate& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
86 inline HsmClientCertificate& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
88 private:
89
90 Aws::String m_hsmClientCertificateIdentifier;
91 bool m_hsmClientCertificateIdentifierHasBeenSet = false;
92
93 Aws::String m_hsmClientCertificatePublicKey;
94 bool m_hsmClientCertificatePublicKeyHasBeenSet = false;
95
96 Aws::Vector<Tag> m_tags;
97 bool m_tagsHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Redshift
102} // namespace Aws
const Aws::String & GetHsmClientCertificateIdentifier() const
void SetHsmClientCertificatePublicKey(Aws::String &&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