AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Certificate.h
1
6#pragma once
7#include <aws/rds/RDS_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/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace RDS
23{
24namespace Model
25{
26
40 {
41 public:
42 AWS_RDS_API Certificate();
43 AWS_RDS_API Certificate(const Aws::Utils::Xml::XmlNode& xmlNode);
44 AWS_RDS_API Certificate& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
45
46 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
47 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
48
49
51
54 inline const Aws::String& GetCertificateIdentifier() const{ return m_certificateIdentifier; }
55 inline bool CertificateIdentifierHasBeenSet() const { return m_certificateIdentifierHasBeenSet; }
56 inline void SetCertificateIdentifier(const Aws::String& value) { m_certificateIdentifierHasBeenSet = true; m_certificateIdentifier = value; }
57 inline void SetCertificateIdentifier(Aws::String&& value) { m_certificateIdentifierHasBeenSet = true; m_certificateIdentifier = std::move(value); }
58 inline void SetCertificateIdentifier(const char* value) { m_certificateIdentifierHasBeenSet = true; m_certificateIdentifier.assign(value); }
59 inline Certificate& WithCertificateIdentifier(const Aws::String& value) { SetCertificateIdentifier(value); return *this;}
60 inline Certificate& WithCertificateIdentifier(Aws::String&& value) { SetCertificateIdentifier(std::move(value)); return *this;}
61 inline Certificate& WithCertificateIdentifier(const char* value) { SetCertificateIdentifier(value); return *this;}
63
65
68 inline const Aws::String& GetCertificateType() const{ return m_certificateType; }
69 inline bool CertificateTypeHasBeenSet() const { return m_certificateTypeHasBeenSet; }
70 inline void SetCertificateType(const Aws::String& value) { m_certificateTypeHasBeenSet = true; m_certificateType = value; }
71 inline void SetCertificateType(Aws::String&& value) { m_certificateTypeHasBeenSet = true; m_certificateType = std::move(value); }
72 inline void SetCertificateType(const char* value) { m_certificateTypeHasBeenSet = true; m_certificateType.assign(value); }
73 inline Certificate& WithCertificateType(const Aws::String& value) { SetCertificateType(value); return *this;}
74 inline Certificate& WithCertificateType(Aws::String&& value) { SetCertificateType(std::move(value)); return *this;}
75 inline Certificate& WithCertificateType(const char* value) { SetCertificateType(value); return *this;}
77
79
82 inline const Aws::String& GetThumbprint() const{ return m_thumbprint; }
83 inline bool ThumbprintHasBeenSet() const { return m_thumbprintHasBeenSet; }
84 inline void SetThumbprint(const Aws::String& value) { m_thumbprintHasBeenSet = true; m_thumbprint = value; }
85 inline void SetThumbprint(Aws::String&& value) { m_thumbprintHasBeenSet = true; m_thumbprint = std::move(value); }
86 inline void SetThumbprint(const char* value) { m_thumbprintHasBeenSet = true; m_thumbprint.assign(value); }
87 inline Certificate& WithThumbprint(const Aws::String& value) { SetThumbprint(value); return *this;}
88 inline Certificate& WithThumbprint(Aws::String&& value) { SetThumbprint(std::move(value)); return *this;}
89 inline Certificate& WithThumbprint(const char* value) { SetThumbprint(value); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetValidFrom() const{ return m_validFrom; }
97 inline bool ValidFromHasBeenSet() const { return m_validFromHasBeenSet; }
98 inline void SetValidFrom(const Aws::Utils::DateTime& value) { m_validFromHasBeenSet = true; m_validFrom = value; }
99 inline void SetValidFrom(Aws::Utils::DateTime&& value) { m_validFromHasBeenSet = true; m_validFrom = std::move(value); }
100 inline Certificate& WithValidFrom(const Aws::Utils::DateTime& value) { SetValidFrom(value); return *this;}
101 inline Certificate& WithValidFrom(Aws::Utils::DateTime&& value) { SetValidFrom(std::move(value)); return *this;}
103
105
108 inline const Aws::Utils::DateTime& GetValidTill() const{ return m_validTill; }
109 inline bool ValidTillHasBeenSet() const { return m_validTillHasBeenSet; }
110 inline void SetValidTill(const Aws::Utils::DateTime& value) { m_validTillHasBeenSet = true; m_validTill = value; }
111 inline void SetValidTill(Aws::Utils::DateTime&& value) { m_validTillHasBeenSet = true; m_validTill = std::move(value); }
112 inline Certificate& WithValidTill(const Aws::Utils::DateTime& value) { SetValidTill(value); return *this;}
113 inline Certificate& WithValidTill(Aws::Utils::DateTime&& value) { SetValidTill(std::move(value)); return *this;}
115
117
120 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
121 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
122 inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
123 inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
124 inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
125 inline Certificate& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
126 inline Certificate& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
127 inline Certificate& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
129
131
135 inline bool GetCustomerOverride() const{ return m_customerOverride; }
136 inline bool CustomerOverrideHasBeenSet() const { return m_customerOverrideHasBeenSet; }
137 inline void SetCustomerOverride(bool value) { m_customerOverrideHasBeenSet = true; m_customerOverride = value; }
138 inline Certificate& WithCustomerOverride(bool value) { SetCustomerOverride(value); return *this;}
140
142
146 inline const Aws::Utils::DateTime& GetCustomerOverrideValidTill() const{ return m_customerOverrideValidTill; }
147 inline bool CustomerOverrideValidTillHasBeenSet() const { return m_customerOverrideValidTillHasBeenSet; }
148 inline void SetCustomerOverrideValidTill(const Aws::Utils::DateTime& value) { m_customerOverrideValidTillHasBeenSet = true; m_customerOverrideValidTill = value; }
149 inline void SetCustomerOverrideValidTill(Aws::Utils::DateTime&& value) { m_customerOverrideValidTillHasBeenSet = true; m_customerOverrideValidTill = std::move(value); }
153 private:
154
155 Aws::String m_certificateIdentifier;
156 bool m_certificateIdentifierHasBeenSet = false;
157
158 Aws::String m_certificateType;
159 bool m_certificateTypeHasBeenSet = false;
160
161 Aws::String m_thumbprint;
162 bool m_thumbprintHasBeenSet = false;
163
164 Aws::Utils::DateTime m_validFrom;
165 bool m_validFromHasBeenSet = false;
166
167 Aws::Utils::DateTime m_validTill;
168 bool m_validTillHasBeenSet = false;
169
170 Aws::String m_certificateArn;
171 bool m_certificateArnHasBeenSet = false;
172
173 bool m_customerOverride;
174 bool m_customerOverrideHasBeenSet = false;
175
176 Aws::Utils::DateTime m_customerOverrideValidTill;
177 bool m_customerOverrideValidTillHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace RDS
182} // namespace Aws
void SetCertificateType(const Aws::String &value)
Definition Certificate.h:70
void SetCertificateArn(Aws::String &&value)
Certificate & WithCustomerOverrideValidTill(Aws::Utils::DateTime &&value)
Certificate & WithThumbprint(Aws::String &&value)
Definition Certificate.h:88
const Aws::String & GetCertificateType() const
Definition Certificate.h:68
void SetCertificateType(const char *value)
Definition Certificate.h:72
Certificate & WithValidFrom(Aws::Utils::DateTime &&value)
void SetThumbprint(const Aws::String &value)
Definition Certificate.h:84
Certificate & WithValidTill(const Aws::Utils::DateTime &value)
Certificate & WithValidTill(Aws::Utils::DateTime &&value)
void SetCustomerOverride(bool value)
Certificate & WithCertificateArn(Aws::String &&value)
void SetCertificateIdentifier(const Aws::String &value)
Definition Certificate.h:56
Certificate & WithCertificateIdentifier(const char *value)
Definition Certificate.h:61
bool CertificateArnHasBeenSet() const
bool CustomerOverrideHasBeenSet() const
void SetCertificateIdentifier(Aws::String &&value)
Definition Certificate.h:57
Certificate & WithThumbprint(const Aws::String &value)
Definition Certificate.h:87
void SetCustomerOverrideValidTill(const Aws::Utils::DateTime &value)
Certificate & WithValidFrom(const Aws::Utils::DateTime &value)
void SetThumbprint(const char *value)
Definition Certificate.h:86
const Aws::String & GetCertificateIdentifier() const
Definition Certificate.h:54
void SetCertificateIdentifier(const char *value)
Definition Certificate.h:58
void SetCertificateArn(const char *value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetValidFrom(const Aws::Utils::DateTime &value)
Definition Certificate.h:98
Certificate & WithCertificateType(const Aws::String &value)
Definition Certificate.h:73
const Aws::Utils::DateTime & GetCustomerOverrideValidTill() const
bool CertificateTypeHasBeenSet() const
Definition Certificate.h:69
void SetValidFrom(Aws::Utils::DateTime &&value)
Definition Certificate.h:99
const Aws::String & GetCertificateArn() const
Certificate & WithCustomerOverrideValidTill(const Aws::Utils::DateTime &value)
bool ThumbprintHasBeenSet() const
Definition Certificate.h:83
void SetValidTill(Aws::Utils::DateTime &&value)
void SetThumbprint(Aws::String &&value)
Definition Certificate.h:85
void SetValidTill(const Aws::Utils::DateTime &value)
Certificate & WithCustomerOverride(bool value)
Certificate & WithCertificateIdentifier(Aws::String &&value)
Definition Certificate.h:60
Certificate & WithCertificateArn(const Aws::String &value)
const Aws::String & GetThumbprint() const
Definition Certificate.h:82
void SetCertificateType(Aws::String &&value)
Definition Certificate.h:71
AWS_RDS_API Certificate & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Certificate & WithCertificateIdentifier(const Aws::String &value)
Definition Certificate.h:59
Certificate & WithCertificateArn(const char *value)
Certificate & WithCertificateType(const char *value)
Definition Certificate.h:75
Certificate & WithCertificateType(Aws::String &&value)
Definition Certificate.h:74
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetCertificateArn(const Aws::String &value)
const Aws::Utils::DateTime & GetValidTill() const
const Aws::Utils::DateTime & GetValidFrom() const
Definition Certificate.h:96
Certificate & WithThumbprint(const char *value)
Definition Certificate.h:89
bool CertificateIdentifierHasBeenSet() const
Definition Certificate.h:55
void SetCustomerOverrideValidTill(Aws::Utils::DateTime &&value)
AWS_RDS_API Certificate(const Aws::Utils::Xml::XmlNode &xmlNode)
bool CustomerOverrideValidTillHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream