AWS SDK for C++  1.9.108
AWS SDK for C++
Certificate.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace RDS
23 {
24 namespace Model
25 {
26 
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 
46  inline const Aws::String& GetCertificateIdentifier() const{ return m_certificateIdentifier; }
47 
51  inline bool CertificateIdentifierHasBeenSet() const { return m_certificateIdentifierHasBeenSet; }
52 
56  inline void SetCertificateIdentifier(const Aws::String& value) { m_certificateIdentifierHasBeenSet = true; m_certificateIdentifier = value; }
57 
61  inline void SetCertificateIdentifier(Aws::String&& value) { m_certificateIdentifierHasBeenSet = true; m_certificateIdentifier = std::move(value); }
62 
66  inline void SetCertificateIdentifier(const char* value) { m_certificateIdentifierHasBeenSet = true; m_certificateIdentifier.assign(value); }
67 
71  inline Certificate& WithCertificateIdentifier(const Aws::String& value) { SetCertificateIdentifier(value); return *this;}
72 
76  inline Certificate& WithCertificateIdentifier(Aws::String&& value) { SetCertificateIdentifier(std::move(value)); return *this;}
77 
81  inline Certificate& WithCertificateIdentifier(const char* value) { SetCertificateIdentifier(value); return *this;}
82 
83 
87  inline const Aws::String& GetCertificateType() const{ return m_certificateType; }
88 
92  inline bool CertificateTypeHasBeenSet() const { return m_certificateTypeHasBeenSet; }
93 
97  inline void SetCertificateType(const Aws::String& value) { m_certificateTypeHasBeenSet = true; m_certificateType = value; }
98 
102  inline void SetCertificateType(Aws::String&& value) { m_certificateTypeHasBeenSet = true; m_certificateType = std::move(value); }
103 
107  inline void SetCertificateType(const char* value) { m_certificateTypeHasBeenSet = true; m_certificateType.assign(value); }
108 
112  inline Certificate& WithCertificateType(const Aws::String& value) { SetCertificateType(value); return *this;}
113 
117  inline Certificate& WithCertificateType(Aws::String&& value) { SetCertificateType(std::move(value)); return *this;}
118 
122  inline Certificate& WithCertificateType(const char* value) { SetCertificateType(value); return *this;}
123 
124 
128  inline const Aws::String& GetThumbprint() const{ return m_thumbprint; }
129 
133  inline bool ThumbprintHasBeenSet() const { return m_thumbprintHasBeenSet; }
134 
138  inline void SetThumbprint(const Aws::String& value) { m_thumbprintHasBeenSet = true; m_thumbprint = value; }
139 
143  inline void SetThumbprint(Aws::String&& value) { m_thumbprintHasBeenSet = true; m_thumbprint = std::move(value); }
144 
148  inline void SetThumbprint(const char* value) { m_thumbprintHasBeenSet = true; m_thumbprint.assign(value); }
149 
153  inline Certificate& WithThumbprint(const Aws::String& value) { SetThumbprint(value); return *this;}
154 
158  inline Certificate& WithThumbprint(Aws::String&& value) { SetThumbprint(std::move(value)); return *this;}
159 
163  inline Certificate& WithThumbprint(const char* value) { SetThumbprint(value); return *this;}
164 
165 
169  inline const Aws::Utils::DateTime& GetValidFrom() const{ return m_validFrom; }
170 
174  inline bool ValidFromHasBeenSet() const { return m_validFromHasBeenSet; }
175 
179  inline void SetValidFrom(const Aws::Utils::DateTime& value) { m_validFromHasBeenSet = true; m_validFrom = value; }
180 
184  inline void SetValidFrom(Aws::Utils::DateTime&& value) { m_validFromHasBeenSet = true; m_validFrom = std::move(value); }
185 
189  inline Certificate& WithValidFrom(const Aws::Utils::DateTime& value) { SetValidFrom(value); return *this;}
190 
194  inline Certificate& WithValidFrom(Aws::Utils::DateTime&& value) { SetValidFrom(std::move(value)); return *this;}
195 
196 
200  inline const Aws::Utils::DateTime& GetValidTill() const{ return m_validTill; }
201 
205  inline bool ValidTillHasBeenSet() const { return m_validTillHasBeenSet; }
206 
210  inline void SetValidTill(const Aws::Utils::DateTime& value) { m_validTillHasBeenSet = true; m_validTill = value; }
211 
215  inline void SetValidTill(Aws::Utils::DateTime&& value) { m_validTillHasBeenSet = true; m_validTill = std::move(value); }
216 
220  inline Certificate& WithValidTill(const Aws::Utils::DateTime& value) { SetValidTill(value); return *this;}
221 
225  inline Certificate& WithValidTill(Aws::Utils::DateTime&& value) { SetValidTill(std::move(value)); return *this;}
226 
227 
231  inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
232 
236  inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
237 
241  inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
242 
246  inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
247 
251  inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
252 
256  inline Certificate& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
257 
261  inline Certificate& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
262 
266  inline Certificate& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
267 
268 
272  inline bool GetCustomerOverride() const{ return m_customerOverride; }
273 
277  inline bool CustomerOverrideHasBeenSet() const { return m_customerOverrideHasBeenSet; }
278 
282  inline void SetCustomerOverride(bool value) { m_customerOverrideHasBeenSet = true; m_customerOverride = value; }
283 
287  inline Certificate& WithCustomerOverride(bool value) { SetCustomerOverride(value); return *this;}
288 
289 
294  inline const Aws::Utils::DateTime& GetCustomerOverrideValidTill() const{ return m_customerOverrideValidTill; }
295 
300  inline bool CustomerOverrideValidTillHasBeenSet() const { return m_customerOverrideValidTillHasBeenSet; }
301 
306  inline void SetCustomerOverrideValidTill(const Aws::Utils::DateTime& value) { m_customerOverrideValidTillHasBeenSet = true; m_customerOverrideValidTill = value; }
307 
312  inline void SetCustomerOverrideValidTill(Aws::Utils::DateTime&& value) { m_customerOverrideValidTillHasBeenSet = true; m_customerOverrideValidTill = std::move(value); }
313 
318  inline Certificate& WithCustomerOverrideValidTill(const Aws::Utils::DateTime& value) { SetCustomerOverrideValidTill(value); return *this;}
319 
324  inline Certificate& WithCustomerOverrideValidTill(Aws::Utils::DateTime&& value) { SetCustomerOverrideValidTill(std::move(value)); return *this;}
325 
326  private:
327 
328  Aws::String m_certificateIdentifier;
329  bool m_certificateIdentifierHasBeenSet;
330 
331  Aws::String m_certificateType;
332  bool m_certificateTypeHasBeenSet;
333 
334  Aws::String m_thumbprint;
335  bool m_thumbprintHasBeenSet;
336 
337  Aws::Utils::DateTime m_validFrom;
338  bool m_validFromHasBeenSet;
339 
340  Aws::Utils::DateTime m_validTill;
341  bool m_validTillHasBeenSet;
342 
343  Aws::String m_certificateArn;
344  bool m_certificateArnHasBeenSet;
345 
346  bool m_customerOverride;
347  bool m_customerOverrideHasBeenSet;
348 
349  Aws::Utils::DateTime m_customerOverrideValidTill;
350  bool m_customerOverrideValidTillHasBeenSet;
351  };
352 
353 } // namespace Model
354 } // namespace RDS
355 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::RDS::Model::Certificate::SetValidTill
void SetValidTill(Aws::Utils::DateTime &&value)
Definition: Certificate.h:215
Aws::RDS::Model::Certificate::GetValidTill
const Aws::Utils::DateTime & GetValidTill() const
Definition: Certificate.h:200
Aws::RDS::Model::Certificate::Certificate
Certificate()
Aws::RDS::Model::Certificate::GetCertificateArn
const Aws::String & GetCertificateArn() const
Definition: Certificate.h:231
Aws::RDS::Model::Certificate::SetThumbprint
void SetThumbprint(const char *value)
Definition: Certificate.h:148
Aws::RDS::Model::Certificate::operator=
Certificate & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::Certificate
Definition: Certificate.h:33
Aws::RDS::Model::Certificate::WithCertificateArn
Certificate & WithCertificateArn(Aws::String &&value)
Definition: Certificate.h:261
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
DateTime.h
Aws::RDS::Model::Certificate::CustomerOverrideHasBeenSet
bool CustomerOverrideHasBeenSet() const
Definition: Certificate.h:277
Aws::RDS::Model::Certificate::WithCustomerOverride
Certificate & WithCustomerOverride(bool value)
Definition: Certificate.h:287
Aws::RDS::Model::Certificate::SetThumbprint
void SetThumbprint(const Aws::String &value)
Definition: Certificate.h:138
AWSStreamFwd.h
Aws::RDS::Model::Certificate::ValidFromHasBeenSet
bool ValidFromHasBeenSet() const
Definition: Certificate.h:174
Aws::RDS::Model::Certificate::SetCertificateArn
void SetCertificateArn(const char *value)
Definition: Certificate.h:251
Aws::RDS::Model::Certificate::GetCustomerOverride
bool GetCustomerOverride() const
Definition: Certificate.h:272
Aws::RDS::Model::Certificate::WithCertificateIdentifier
Certificate & WithCertificateIdentifier(const Aws::String &value)
Definition: Certificate.h:71
Aws::RDS::Model::Certificate::CertificateIdentifierHasBeenSet
bool CertificateIdentifierHasBeenSet() const
Definition: Certificate.h:51
Aws::RDS::Model::Certificate::WithCustomerOverrideValidTill
Certificate & WithCustomerOverrideValidTill(const Aws::Utils::DateTime &value)
Definition: Certificate.h:318
Aws::RDS::Model::Certificate::SetCustomerOverrideValidTill
void SetCustomerOverrideValidTill(const Aws::Utils::DateTime &value)
Definition: Certificate.h:306
Aws::RDS::Model::Certificate::ThumbprintHasBeenSet
bool ThumbprintHasBeenSet() const
Definition: Certificate.h:133
Aws::RDS::Model::Certificate::WithCertificateArn
Certificate & WithCertificateArn(const Aws::String &value)
Definition: Certificate.h:256
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::RDS::Model::Certificate::CertificateTypeHasBeenSet
bool CertificateTypeHasBeenSet() const
Definition: Certificate.h:92
Aws::RDS::Model::Certificate::SetCertificateType
void SetCertificateType(const Aws::String &value)
Definition: Certificate.h:97
Aws::RDS::Model::Certificate::Certificate
Certificate(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::Certificate::CustomerOverrideValidTillHasBeenSet
bool CustomerOverrideValidTillHasBeenSet() const
Definition: Certificate.h:300
Aws::RDS::Model::Certificate::WithValidFrom
Certificate & WithValidFrom(Aws::Utils::DateTime &&value)
Definition: Certificate.h:194
RDS_EXPORTS.h
Aws::RDS::Model::Certificate::WithCertificateIdentifier
Certificate & WithCertificateIdentifier(Aws::String &&value)
Definition: Certificate.h:76
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::Certificate::GetCertificateIdentifier
const Aws::String & GetCertificateIdentifier() const
Definition: Certificate.h:46
Aws::RDS::Model::Certificate::SetValidFrom
void SetValidFrom(Aws::Utils::DateTime &&value)
Definition: Certificate.h:184
Aws::RDS::Model::Certificate::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::RDS::Model::Certificate::SetCertificateIdentifier
void SetCertificateIdentifier(const char *value)
Definition: Certificate.h:66
Aws::RDS::Model::Certificate::WithValidFrom
Certificate & WithValidFrom(const Aws::Utils::DateTime &value)
Definition: Certificate.h:189
Aws::RDS::Model::Certificate::GetValidFrom
const Aws::Utils::DateTime & GetValidFrom() const
Definition: Certificate.h:169
AWSString.h
Aws::RDS::Model::Certificate::SetValidFrom
void SetValidFrom(const Aws::Utils::DateTime &value)
Definition: Certificate.h:179
Aws::RDS::Model::Certificate::WithCertificateType
Certificate & WithCertificateType(const char *value)
Definition: Certificate.h:122
Aws::RDS::Model::Certificate::WithThumbprint
Certificate & WithThumbprint(const Aws::String &value)
Definition: Certificate.h:153
Aws::RDS::Model::Certificate::WithThumbprint
Certificate & WithThumbprint(const char *value)
Definition: Certificate.h:163
Aws::RDS::Model::Certificate::SetValidTill
void SetValidTill(const Aws::Utils::DateTime &value)
Definition: Certificate.h:210
Aws::RDS::Model::Certificate::SetCertificateType
void SetCertificateType(const char *value)
Definition: Certificate.h:107
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::Certificate::WithValidTill
Certificate & WithValidTill(const Aws::Utils::DateTime &value)
Definition: Certificate.h:220
Aws::RDS::Model::Certificate::WithThumbprint
Certificate & WithThumbprint(Aws::String &&value)
Definition: Certificate.h:158
Aws::RDS::Model::Certificate::SetCertificateArn
void SetCertificateArn(const Aws::String &value)
Definition: Certificate.h:241
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::Certificate::SetCustomerOverride
void SetCustomerOverride(bool value)
Definition: Certificate.h:282
Aws::RDS::Model::Certificate::SetCertificateIdentifier
void SetCertificateIdentifier(Aws::String &&value)
Definition: Certificate.h:61
Aws::RDS::Model::Certificate::SetCertificateType
void SetCertificateType(Aws::String &&value)
Definition: Certificate.h:102
Aws::RDS::Model::Certificate::CertificateArnHasBeenSet
bool CertificateArnHasBeenSet() const
Definition: Certificate.h:236
Aws::RDS::Model::Certificate::WithCertificateType
Certificate & WithCertificateType(const Aws::String &value)
Definition: Certificate.h:112
Aws::RDS::Model::Certificate::SetCertificateArn
void SetCertificateArn(Aws::String &&value)
Definition: Certificate.h:246
Aws::RDS::Model::Certificate::WithCertificateType
Certificate & WithCertificateType(Aws::String &&value)
Definition: Certificate.h:117
Aws::RDS::Model::Certificate::GetCustomerOverrideValidTill
const Aws::Utils::DateTime & GetCustomerOverrideValidTill() const
Definition: Certificate.h:294
Aws::RDS::Model::Certificate::WithCertificateIdentifier
Certificate & WithCertificateIdentifier(const char *value)
Definition: Certificate.h:81
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::Certificate::GetCertificateType
const Aws::String & GetCertificateType() const
Definition: Certificate.h:87
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::Certificate::GetThumbprint
const Aws::String & GetThumbprint() const
Definition: Certificate.h:128
Aws::RDS::Model::Certificate::WithCertificateArn
Certificate & WithCertificateArn(const char *value)
Definition: Certificate.h:266
Aws::RDS::Model::Certificate::WithCustomerOverrideValidTill
Certificate & WithCustomerOverrideValidTill(Aws::Utils::DateTime &&value)
Definition: Certificate.h:324
Aws::RDS::Model::Certificate::SetCertificateIdentifier
void SetCertificateIdentifier(const Aws::String &value)
Definition: Certificate.h:56
Aws::RDS::Model::Certificate::SetCustomerOverrideValidTill
void SetCustomerOverrideValidTill(Aws::Utils::DateTime &&value)
Definition: Certificate.h:312
Aws::RDS::Model::Certificate::ValidTillHasBeenSet
bool ValidTillHasBeenSet() const
Definition: Certificate.h:205
Aws::RDS::Model::Certificate::WithValidTill
Certificate & WithValidTill(Aws::Utils::DateTime &&value)
Definition: Certificate.h:225
Aws::RDS::Model::Certificate::SetThumbprint
void SetThumbprint(Aws::String &&value)
Definition: Certificate.h:143
Aws::RDS::Model::Certificate::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const