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/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/Array.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DatabaseMigrationService
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_DATABASEMIGRATIONSERVICE_API Certificate();
38 AWS_DATABASEMIGRATIONSERVICE_API Certificate(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATABASEMIGRATIONSERVICE_API Certificate& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
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::Utils::DateTime& GetCertificateCreationDate() const{ return m_certificateCreationDate; }
64 inline bool CertificateCreationDateHasBeenSet() const { return m_certificateCreationDateHasBeenSet; }
65 inline void SetCertificateCreationDate(const Aws::Utils::DateTime& value) { m_certificateCreationDateHasBeenSet = true; m_certificateCreationDate = value; }
66 inline void SetCertificateCreationDate(Aws::Utils::DateTime&& value) { m_certificateCreationDateHasBeenSet = true; m_certificateCreationDate = std::move(value); }
70
72
76 inline const Aws::String& GetCertificatePem() const{ return m_certificatePem; }
77 inline bool CertificatePemHasBeenSet() const { return m_certificatePemHasBeenSet; }
78 inline void SetCertificatePem(const Aws::String& value) { m_certificatePemHasBeenSet = true; m_certificatePem = value; }
79 inline void SetCertificatePem(Aws::String&& value) { m_certificatePemHasBeenSet = true; m_certificatePem = std::move(value); }
80 inline void SetCertificatePem(const char* value) { m_certificatePemHasBeenSet = true; m_certificatePem.assign(value); }
81 inline Certificate& WithCertificatePem(const Aws::String& value) { SetCertificatePem(value); return *this;}
82 inline Certificate& WithCertificatePem(Aws::String&& value) { SetCertificatePem(std::move(value)); return *this;}
83 inline Certificate& WithCertificatePem(const char* value) { SetCertificatePem(value); return *this;}
85
87
91 inline const Aws::Utils::ByteBuffer& GetCertificateWallet() const{ return m_certificateWallet; }
92 inline bool CertificateWalletHasBeenSet() const { return m_certificateWalletHasBeenSet; }
93 inline void SetCertificateWallet(const Aws::Utils::ByteBuffer& value) { m_certificateWalletHasBeenSet = true; m_certificateWallet = value; }
94 inline void SetCertificateWallet(Aws::Utils::ByteBuffer&& value) { m_certificateWalletHasBeenSet = true; m_certificateWallet = std::move(value); }
96 inline Certificate& WithCertificateWallet(Aws::Utils::ByteBuffer&& value) { SetCertificateWallet(std::move(value)); return *this;}
98
100
103 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
104 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
105 inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
106 inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
107 inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
108 inline Certificate& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
109 inline Certificate& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
110 inline Certificate& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
112
114
117 inline const Aws::String& GetCertificateOwner() const{ return m_certificateOwner; }
118 inline bool CertificateOwnerHasBeenSet() const { return m_certificateOwnerHasBeenSet; }
119 inline void SetCertificateOwner(const Aws::String& value) { m_certificateOwnerHasBeenSet = true; m_certificateOwner = value; }
120 inline void SetCertificateOwner(Aws::String&& value) { m_certificateOwnerHasBeenSet = true; m_certificateOwner = std::move(value); }
121 inline void SetCertificateOwner(const char* value) { m_certificateOwnerHasBeenSet = true; m_certificateOwner.assign(value); }
122 inline Certificate& WithCertificateOwner(const Aws::String& value) { SetCertificateOwner(value); return *this;}
123 inline Certificate& WithCertificateOwner(Aws::String&& value) { SetCertificateOwner(std::move(value)); return *this;}
124 inline Certificate& WithCertificateOwner(const char* value) { SetCertificateOwner(value); return *this;}
126
128
131 inline const Aws::Utils::DateTime& GetValidFromDate() const{ return m_validFromDate; }
132 inline bool ValidFromDateHasBeenSet() const { return m_validFromDateHasBeenSet; }
133 inline void SetValidFromDate(const Aws::Utils::DateTime& value) { m_validFromDateHasBeenSet = true; m_validFromDate = value; }
134 inline void SetValidFromDate(Aws::Utils::DateTime&& value) { m_validFromDateHasBeenSet = true; m_validFromDate = std::move(value); }
135 inline Certificate& WithValidFromDate(const Aws::Utils::DateTime& value) { SetValidFromDate(value); return *this;}
136 inline Certificate& WithValidFromDate(Aws::Utils::DateTime&& value) { SetValidFromDate(std::move(value)); return *this;}
138
140
143 inline const Aws::Utils::DateTime& GetValidToDate() const{ return m_validToDate; }
144 inline bool ValidToDateHasBeenSet() const { return m_validToDateHasBeenSet; }
145 inline void SetValidToDate(const Aws::Utils::DateTime& value) { m_validToDateHasBeenSet = true; m_validToDate = value; }
146 inline void SetValidToDate(Aws::Utils::DateTime&& value) { m_validToDateHasBeenSet = true; m_validToDate = std::move(value); }
147 inline Certificate& WithValidToDate(const Aws::Utils::DateTime& value) { SetValidToDate(value); return *this;}
148 inline Certificate& WithValidToDate(Aws::Utils::DateTime&& value) { SetValidToDate(std::move(value)); return *this;}
150
152
155 inline const Aws::String& GetSigningAlgorithm() const{ return m_signingAlgorithm; }
156 inline bool SigningAlgorithmHasBeenSet() const { return m_signingAlgorithmHasBeenSet; }
157 inline void SetSigningAlgorithm(const Aws::String& value) { m_signingAlgorithmHasBeenSet = true; m_signingAlgorithm = value; }
158 inline void SetSigningAlgorithm(Aws::String&& value) { m_signingAlgorithmHasBeenSet = true; m_signingAlgorithm = std::move(value); }
159 inline void SetSigningAlgorithm(const char* value) { m_signingAlgorithmHasBeenSet = true; m_signingAlgorithm.assign(value); }
160 inline Certificate& WithSigningAlgorithm(const Aws::String& value) { SetSigningAlgorithm(value); return *this;}
161 inline Certificate& WithSigningAlgorithm(Aws::String&& value) { SetSigningAlgorithm(std::move(value)); return *this;}
162 inline Certificate& WithSigningAlgorithm(const char* value) { SetSigningAlgorithm(value); return *this;}
164
166
169 inline int GetKeyLength() const{ return m_keyLength; }
170 inline bool KeyLengthHasBeenSet() const { return m_keyLengthHasBeenSet; }
171 inline void SetKeyLength(int value) { m_keyLengthHasBeenSet = true; m_keyLength = value; }
172 inline Certificate& WithKeyLength(int value) { SetKeyLength(value); return *this;}
174 private:
175
176 Aws::String m_certificateIdentifier;
177 bool m_certificateIdentifierHasBeenSet = false;
178
179 Aws::Utils::DateTime m_certificateCreationDate;
180 bool m_certificateCreationDateHasBeenSet = false;
181
182 Aws::String m_certificatePem;
183 bool m_certificatePemHasBeenSet = false;
184
185 Aws::Utils::ByteBuffer m_certificateWallet;
186 bool m_certificateWalletHasBeenSet = false;
187
188 Aws::String m_certificateArn;
189 bool m_certificateArnHasBeenSet = false;
190
191 Aws::String m_certificateOwner;
192 bool m_certificateOwnerHasBeenSet = false;
193
194 Aws::Utils::DateTime m_validFromDate;
195 bool m_validFromDateHasBeenSet = false;
196
197 Aws::Utils::DateTime m_validToDate;
198 bool m_validToDateHasBeenSet = false;
199
200 Aws::String m_signingAlgorithm;
201 bool m_signingAlgorithmHasBeenSet = false;
202
203 int m_keyLength;
204 bool m_keyLengthHasBeenSet = false;
205 };
206
207} // namespace Model
208} // namespace DatabaseMigrationService
209} // namespace Aws
Certificate & WithValidToDate(Aws::Utils::DateTime &&value)
void SetCertificateIdentifier(Aws::String &&value)
Definition Certificate.h:52
Certificate & WithCertificateOwner(Aws::String &&value)
const Aws::String & GetCertificateOwner() const
void SetValidFromDate(Aws::Utils::DateTime &&value)
Certificate & WithCertificateWallet(Aws::Utils::ByteBuffer &&value)
Definition Certificate.h:96
Certificate & WithValidFromDate(const Aws::Utils::DateTime &value)
const Aws::String & GetCertificatePem() const
Definition Certificate.h:76
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
Certificate & WithCertificateArn(Aws::String &&value)
Certificate & WithCertificateArn(const Aws::String &value)
Certificate & WithCertificateWallet(const Aws::Utils::ByteBuffer &value)
Definition Certificate.h:95
void SetValidToDate(const Aws::Utils::DateTime &value)
Certificate & WithSigningAlgorithm(Aws::String &&value)
void SetCertificateWallet(Aws::Utils::ByteBuffer &&value)
Definition Certificate.h:94
Certificate & WithCertificateIdentifier(Aws::String &&value)
Definition Certificate.h:55
const Aws::Utils::ByteBuffer & GetCertificateWallet() const
Definition Certificate.h:91
void SetCertificatePem(const Aws::String &value)
Definition Certificate.h:78
void SetCertificateCreationDate(const Aws::Utils::DateTime &value)
Definition Certificate.h:65
Certificate & WithCertificateCreationDate(const Aws::Utils::DateTime &value)
Definition Certificate.h:67
Certificate & WithValidToDate(const Aws::Utils::DateTime &value)
void SetValidToDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetValidToDate() const
const Aws::Utils::DateTime & GetValidFromDate() const
AWS_DATABASEMIGRATIONSERVICE_API Certificate(Aws::Utils::Json::JsonView jsonValue)
void SetCertificateArn(const Aws::String &value)
void SetCertificateIdentifier(const Aws::String &value)
Definition Certificate.h:51
Certificate & WithCertificatePem(Aws::String &&value)
Definition Certificate.h:82
Certificate & WithValidFromDate(Aws::Utils::DateTime &&value)
Certificate & WithSigningAlgorithm(const Aws::String &value)
Certificate & WithCertificateArn(const char *value)
const Aws::String & GetCertificateIdentifier() const
Definition Certificate.h:49
Certificate & WithCertificatePem(const Aws::String &value)
Definition Certificate.h:81
AWS_DATABASEMIGRATIONSERVICE_API Certificate & operator=(Aws::Utils::Json::JsonView jsonValue)
Certificate & WithCertificateIdentifier(const Aws::String &value)
Definition Certificate.h:54
Certificate & WithSigningAlgorithm(const char *value)
const Aws::Utils::DateTime & GetCertificateCreationDate() const
Definition Certificate.h:63
void SetCertificateOwner(const Aws::String &value)
void SetSigningAlgorithm(const Aws::String &value)
Certificate & WithCertificateCreationDate(Aws::Utils::DateTime &&value)
Definition Certificate.h:68
void SetValidFromDate(const Aws::Utils::DateTime &value)
Certificate & WithCertificateOwner(const char *value)
Certificate & WithCertificatePem(const char *value)
Definition Certificate.h:83
Certificate & WithCertificateIdentifier(const char *value)
Definition Certificate.h:56
void SetCertificateWallet(const Aws::Utils::ByteBuffer &value)
Definition Certificate.h:93
const Aws::String & GetSigningAlgorithm() const
AWS_DATABASEMIGRATIONSERVICE_API Certificate()
Certificate & WithCertificateOwner(const Aws::String &value)
void SetCertificateCreationDate(Aws::Utils::DateTime &&value)
Definition Certificate.h:66
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue