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/docdb/DocDB_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 DocDB
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DOCDB_API Certificate();
37 AWS_DOCDB_API Certificate(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_DOCDB_API Certificate& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_DOCDB_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_DOCDB_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
49 inline const Aws::String& GetCertificateIdentifier() const{ return m_certificateIdentifier; }
50 inline bool CertificateIdentifierHasBeenSet() const { return m_certificateIdentifierHasBeenSet; }
51 inline void SetCertificateIdentifier(const Aws::String& value) { m_certificateIdentifierHasBeenSet = true; m_certificateIdentifier = value; }
52 inline void SetCertificateIdentifier(Aws::String&& value) { m_certificateIdentifierHasBeenSet = true; m_certificateIdentifier = std::move(value); }
53 inline void SetCertificateIdentifier(const char* value) { m_certificateIdentifierHasBeenSet = true; m_certificateIdentifier.assign(value); }
54 inline Certificate& WithCertificateIdentifier(const Aws::String& value) { SetCertificateIdentifier(value); return *this;}
55 inline Certificate& WithCertificateIdentifier(Aws::String&& value) { SetCertificateIdentifier(std::move(value)); return *this;}
56 inline Certificate& WithCertificateIdentifier(const char* value) { SetCertificateIdentifier(value); return *this;}
58
60
63 inline const Aws::String& GetCertificateType() const{ return m_certificateType; }
64 inline bool CertificateTypeHasBeenSet() const { return m_certificateTypeHasBeenSet; }
65 inline void SetCertificateType(const Aws::String& value) { m_certificateTypeHasBeenSet = true; m_certificateType = value; }
66 inline void SetCertificateType(Aws::String&& value) { m_certificateTypeHasBeenSet = true; m_certificateType = std::move(value); }
67 inline void SetCertificateType(const char* value) { m_certificateTypeHasBeenSet = true; m_certificateType.assign(value); }
68 inline Certificate& WithCertificateType(const Aws::String& value) { SetCertificateType(value); return *this;}
69 inline Certificate& WithCertificateType(Aws::String&& value) { SetCertificateType(std::move(value)); return *this;}
70 inline Certificate& WithCertificateType(const char* value) { SetCertificateType(value); return *this;}
72
74
77 inline const Aws::String& GetThumbprint() const{ return m_thumbprint; }
78 inline bool ThumbprintHasBeenSet() const { return m_thumbprintHasBeenSet; }
79 inline void SetThumbprint(const Aws::String& value) { m_thumbprintHasBeenSet = true; m_thumbprint = value; }
80 inline void SetThumbprint(Aws::String&& value) { m_thumbprintHasBeenSet = true; m_thumbprint = std::move(value); }
81 inline void SetThumbprint(const char* value) { m_thumbprintHasBeenSet = true; m_thumbprint.assign(value); }
82 inline Certificate& WithThumbprint(const Aws::String& value) { SetThumbprint(value); return *this;}
83 inline Certificate& WithThumbprint(Aws::String&& value) { SetThumbprint(std::move(value)); return *this;}
84 inline Certificate& WithThumbprint(const char* value) { SetThumbprint(value); return *this;}
86
88
92 inline const Aws::Utils::DateTime& GetValidFrom() const{ return m_validFrom; }
93 inline bool ValidFromHasBeenSet() const { return m_validFromHasBeenSet; }
94 inline void SetValidFrom(const Aws::Utils::DateTime& value) { m_validFromHasBeenSet = true; m_validFrom = value; }
95 inline void SetValidFrom(Aws::Utils::DateTime&& value) { m_validFromHasBeenSet = true; m_validFrom = std::move(value); }
96 inline Certificate& WithValidFrom(const Aws::Utils::DateTime& value) { SetValidFrom(value); return *this;}
97 inline Certificate& WithValidFrom(Aws::Utils::DateTime&& value) { SetValidFrom(std::move(value)); return *this;}
99
101
105 inline const Aws::Utils::DateTime& GetValidTill() const{ return m_validTill; }
106 inline bool ValidTillHasBeenSet() const { return m_validTillHasBeenSet; }
107 inline void SetValidTill(const Aws::Utils::DateTime& value) { m_validTillHasBeenSet = true; m_validTill = value; }
108 inline void SetValidTill(Aws::Utils::DateTime&& value) { m_validTillHasBeenSet = true; m_validTill = std::move(value); }
109 inline Certificate& WithValidTill(const Aws::Utils::DateTime& value) { SetValidTill(value); return *this;}
110 inline Certificate& WithValidTill(Aws::Utils::DateTime&& value) { SetValidTill(std::move(value)); return *this;}
112
114
118 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
119 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
120 inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
121 inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
122 inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
123 inline Certificate& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
124 inline Certificate& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
125 inline Certificate& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
127 private:
128
129 Aws::String m_certificateIdentifier;
130 bool m_certificateIdentifierHasBeenSet = false;
131
132 Aws::String m_certificateType;
133 bool m_certificateTypeHasBeenSet = false;
134
135 Aws::String m_thumbprint;
136 bool m_thumbprintHasBeenSet = false;
137
138 Aws::Utils::DateTime m_validFrom;
139 bool m_validFromHasBeenSet = false;
140
141 Aws::Utils::DateTime m_validTill;
142 bool m_validTillHasBeenSet = false;
143
144 Aws::String m_certificateArn;
145 bool m_certificateArnHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace DocDB
150} // namespace Aws
void SetValidTill(const Aws::Utils::DateTime &value)
Certificate & WithValidTill(Aws::Utils::DateTime &&value)
Certificate & WithCertificateType(const Aws::String &value)
Definition Certificate.h:68
Certificate & WithValidFrom(Aws::Utils::DateTime &&value)
Definition Certificate.h:97
void SetCertificateArn(const Aws::String &value)
Certificate & WithCertificateIdentifier(const Aws::String &value)
Definition Certificate.h:54
const Aws::String & GetThumbprint() const
Definition Certificate.h:77
void SetCertificateArn(Aws::String &&value)
Certificate & WithValidFrom(const Aws::Utils::DateTime &value)
Definition Certificate.h:96
void SetCertificateType(const char *value)
Definition Certificate.h:67
Certificate & WithCertificateArn(const Aws::String &value)
Certificate & WithCertificateIdentifier(const char *value)
Definition Certificate.h:56
void SetThumbprint(Aws::String &&value)
Definition Certificate.h:80
Certificate & WithThumbprint(const char *value)
Definition Certificate.h:84
Certificate & WithThumbprint(const Aws::String &value)
Definition Certificate.h:82
AWS_DOCDB_API Certificate & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Certificate & WithCertificateArn(const char *value)
void SetThumbprint(const char *value)
Definition Certificate.h:81
void SetValidFrom(Aws::Utils::DateTime &&value)
Definition Certificate.h:95
void SetCertificateIdentifier(const char *value)
Definition Certificate.h:53
const Aws::String & GetCertificateArn() const
const Aws::Utils::DateTime & GetValidTill() const
AWS_DOCDB_API Certificate(const Aws::Utils::Xml::XmlNode &xmlNode)
Certificate & WithCertificateType(Aws::String &&value)
Definition Certificate.h:69
Certificate & WithCertificateArn(Aws::String &&value)
void SetCertificateArn(const char *value)
const Aws::Utils::DateTime & GetValidFrom() const
Definition Certificate.h:92
const Aws::String & GetCertificateIdentifier() const
Definition Certificate.h:49
void SetCertificateType(const Aws::String &value)
Definition Certificate.h:65
Certificate & WithValidTill(const Aws::Utils::DateTime &value)
void SetThumbprint(const Aws::String &value)
Definition Certificate.h:79
Certificate & WithCertificateIdentifier(Aws::String &&value)
Definition Certificate.h:55
void SetCertificateType(Aws::String &&value)
Definition Certificate.h:66
void SetValidFrom(const Aws::Utils::DateTime &value)
Definition Certificate.h:94
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetValidTill(Aws::Utils::DateTime &&value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool CertificateIdentifierHasBeenSet() const
Definition Certificate.h:50
void SetCertificateIdentifier(const Aws::String &value)
Definition Certificate.h:51
void SetCertificateIdentifier(Aws::String &&value)
Definition Certificate.h:52
Certificate & WithThumbprint(Aws::String &&value)
Definition Certificate.h:83
const Aws::String & GetCertificateType() const
Definition Certificate.h:63
bool CertificateTypeHasBeenSet() const
Definition Certificate.h:64
Certificate & WithCertificateType(const char *value)
Definition Certificate.h:70
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream