AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename HsmClientCertificateIdentifierT = Aws::String>
53 void SetHsmClientCertificateIdentifier(HsmClientCertificateIdentifierT&& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = std::forward<HsmClientCertificateIdentifierT>(value); }
54 template<typename HsmClientCertificateIdentifierT = Aws::String>
55 HsmClientCertificate& WithHsmClientCertificateIdentifier(HsmClientCertificateIdentifierT&& value) { SetHsmClientCertificateIdentifier(std::forward<HsmClientCertificateIdentifierT>(value)); return *this;}
57
59
63 inline const Aws::String& GetHsmClientCertificatePublicKey() const { return m_hsmClientCertificatePublicKey; }
64 inline bool HsmClientCertificatePublicKeyHasBeenSet() const { return m_hsmClientCertificatePublicKeyHasBeenSet; }
65 template<typename HsmClientCertificatePublicKeyT = Aws::String>
66 void SetHsmClientCertificatePublicKey(HsmClientCertificatePublicKeyT&& value) { m_hsmClientCertificatePublicKeyHasBeenSet = true; m_hsmClientCertificatePublicKey = std::forward<HsmClientCertificatePublicKeyT>(value); }
67 template<typename HsmClientCertificatePublicKeyT = Aws::String>
68 HsmClientCertificate& WithHsmClientCertificatePublicKey(HsmClientCertificatePublicKeyT&& value) { SetHsmClientCertificatePublicKey(std::forward<HsmClientCertificatePublicKeyT>(value)); return *this;}
70
72
75 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
76 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
77 template<typename TagsT = Aws::Vector<Tag>>
78 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
79 template<typename TagsT = Aws::Vector<Tag>>
80 HsmClientCertificate& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
81 template<typename TagsT = Tag>
82 HsmClientCertificate& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
84 private:
85
86 Aws::String m_hsmClientCertificateIdentifier;
87 bool m_hsmClientCertificateIdentifierHasBeenSet = false;
88
89 Aws::String m_hsmClientCertificatePublicKey;
90 bool m_hsmClientCertificatePublicKeyHasBeenSet = false;
91
92 Aws::Vector<Tag> m_tags;
93 bool m_tagsHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Redshift
98} // namespace Aws
void SetHsmClientCertificateIdentifier(HsmClientCertificateIdentifierT &&value)
const Aws::String & GetHsmClientCertificateIdentifier() const
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetHsmClientCertificatePublicKey() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
HsmClientCertificate & AddTags(TagsT &&value)
HsmClientCertificate & WithHsmClientCertificateIdentifier(HsmClientCertificateIdentifierT &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetHsmClientCertificatePublicKey(HsmClientCertificatePublicKeyT &&value)
AWS_REDSHIFT_API HsmClientCertificate()=default
HsmClientCertificate & WithHsmClientCertificatePublicKey(HsmClientCertificatePublicKeyT &&value)
AWS_REDSHIFT_API HsmClientCertificate(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API HsmClientCertificate & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
HsmClientCertificate & WithTags(TagsT &&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