AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsRdsDbClusterSnapshotDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityhub/model/AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute.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 SecurityHub
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SECURITYHUB_API AwsRdsDbClusterSnapshotDetails() = default;
40 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const { return m_availabilityZones; }
49 inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
50 template<typename AvailabilityZonesT = Aws::Vector<Aws::String>>
51 void SetAvailabilityZones(AvailabilityZonesT&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::forward<AvailabilityZonesT>(value); }
52 template<typename AvailabilityZonesT = Aws::Vector<Aws::String>>
53 AwsRdsDbClusterSnapshotDetails& WithAvailabilityZones(AvailabilityZonesT&& value) { SetAvailabilityZones(std::forward<AvailabilityZonesT>(value)); return *this;}
54 template<typename AvailabilityZonesT = Aws::String>
55 AwsRdsDbClusterSnapshotDetails& AddAvailabilityZones(AvailabilityZonesT&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value)); return *this; }
57
59
64 inline const Aws::String& GetSnapshotCreateTime() const { return m_snapshotCreateTime; }
65 inline bool SnapshotCreateTimeHasBeenSet() const { return m_snapshotCreateTimeHasBeenSet; }
66 template<typename SnapshotCreateTimeT = Aws::String>
67 void SetSnapshotCreateTime(SnapshotCreateTimeT&& value) { m_snapshotCreateTimeHasBeenSet = true; m_snapshotCreateTime = std::forward<SnapshotCreateTimeT>(value); }
68 template<typename SnapshotCreateTimeT = Aws::String>
69 AwsRdsDbClusterSnapshotDetails& WithSnapshotCreateTime(SnapshotCreateTimeT&& value) { SetSnapshotCreateTime(std::forward<SnapshotCreateTimeT>(value)); return *this;}
71
73
77 inline const Aws::String& GetEngine() const { return m_engine; }
78 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
79 template<typename EngineT = Aws::String>
80 void SetEngine(EngineT&& value) { m_engineHasBeenSet = true; m_engine = std::forward<EngineT>(value); }
81 template<typename EngineT = Aws::String>
82 AwsRdsDbClusterSnapshotDetails& WithEngine(EngineT&& value) { SetEngine(std::forward<EngineT>(value)); return *this;}
84
86
89 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
90 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
91 inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; }
94
96
99 inline const Aws::String& GetStatus() const { return m_status; }
100 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
101 template<typename StatusT = Aws::String>
102 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
103 template<typename StatusT = Aws::String>
104 AwsRdsDbClusterSnapshotDetails& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
106
108
112 inline int GetPort() const { return m_port; }
113 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
114 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
115 inline AwsRdsDbClusterSnapshotDetails& WithPort(int value) { SetPort(value); return *this;}
117
119
122 inline const Aws::String& GetVpcId() const { return m_vpcId; }
123 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
124 template<typename VpcIdT = Aws::String>
125 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::forward<VpcIdT>(value); }
126 template<typename VpcIdT = Aws::String>
127 AwsRdsDbClusterSnapshotDetails& WithVpcId(VpcIdT&& value) { SetVpcId(std::forward<VpcIdT>(value)); return *this;}
129
131
137 inline const Aws::String& GetClusterCreateTime() const { return m_clusterCreateTime; }
138 inline bool ClusterCreateTimeHasBeenSet() const { return m_clusterCreateTimeHasBeenSet; }
139 template<typename ClusterCreateTimeT = Aws::String>
140 void SetClusterCreateTime(ClusterCreateTimeT&& value) { m_clusterCreateTimeHasBeenSet = true; m_clusterCreateTime = std::forward<ClusterCreateTimeT>(value); }
141 template<typename ClusterCreateTimeT = Aws::String>
142 AwsRdsDbClusterSnapshotDetails& WithClusterCreateTime(ClusterCreateTimeT&& value) { SetClusterCreateTime(std::forward<ClusterCreateTimeT>(value)); return *this;}
144
146
149 inline const Aws::String& GetMasterUsername() const { return m_masterUsername; }
150 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
151 template<typename MasterUsernameT = Aws::String>
152 void SetMasterUsername(MasterUsernameT&& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = std::forward<MasterUsernameT>(value); }
153 template<typename MasterUsernameT = Aws::String>
154 AwsRdsDbClusterSnapshotDetails& WithMasterUsername(MasterUsernameT&& value) { SetMasterUsername(std::forward<MasterUsernameT>(value)); return *this;}
156
158
161 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
162 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
163 template<typename EngineVersionT = Aws::String>
164 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::forward<EngineVersionT>(value); }
165 template<typename EngineVersionT = Aws::String>
166 AwsRdsDbClusterSnapshotDetails& WithEngineVersion(EngineVersionT&& value) { SetEngineVersion(std::forward<EngineVersionT>(value)); return *this;}
168
170
173 inline const Aws::String& GetLicenseModel() const { return m_licenseModel; }
174 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; }
175 template<typename LicenseModelT = Aws::String>
176 void SetLicenseModel(LicenseModelT&& value) { m_licenseModelHasBeenSet = true; m_licenseModel = std::forward<LicenseModelT>(value); }
177 template<typename LicenseModelT = Aws::String>
178 AwsRdsDbClusterSnapshotDetails& WithLicenseModel(LicenseModelT&& value) { SetLicenseModel(std::forward<LicenseModelT>(value)); return *this;}
180
182
185 inline const Aws::String& GetSnapshotType() const { return m_snapshotType; }
186 inline bool SnapshotTypeHasBeenSet() const { return m_snapshotTypeHasBeenSet; }
187 template<typename SnapshotTypeT = Aws::String>
188 void SetSnapshotType(SnapshotTypeT&& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = std::forward<SnapshotTypeT>(value); }
189 template<typename SnapshotTypeT = Aws::String>
190 AwsRdsDbClusterSnapshotDetails& WithSnapshotType(SnapshotTypeT&& value) { SetSnapshotType(std::forward<SnapshotTypeT>(value)); return *this;}
192
194
197 inline int GetPercentProgress() const { return m_percentProgress; }
198 inline bool PercentProgressHasBeenSet() const { return m_percentProgressHasBeenSet; }
199 inline void SetPercentProgress(int value) { m_percentProgressHasBeenSet = true; m_percentProgress = value; }
202
204
207 inline bool GetStorageEncrypted() const { return m_storageEncrypted; }
208 inline bool StorageEncryptedHasBeenSet() const { return m_storageEncryptedHasBeenSet; }
209 inline void SetStorageEncrypted(bool value) { m_storageEncryptedHasBeenSet = true; m_storageEncrypted = value; }
212
214
218 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
219 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
220 template<typename KmsKeyIdT = Aws::String>
221 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
222 template<typename KmsKeyIdT = Aws::String>
223 AwsRdsDbClusterSnapshotDetails& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
225
227
230 inline const Aws::String& GetDbClusterIdentifier() const { return m_dbClusterIdentifier; }
231 inline bool DbClusterIdentifierHasBeenSet() const { return m_dbClusterIdentifierHasBeenSet; }
232 template<typename DbClusterIdentifierT = Aws::String>
233 void SetDbClusterIdentifier(DbClusterIdentifierT&& value) { m_dbClusterIdentifierHasBeenSet = true; m_dbClusterIdentifier = std::forward<DbClusterIdentifierT>(value); }
234 template<typename DbClusterIdentifierT = Aws::String>
235 AwsRdsDbClusterSnapshotDetails& WithDbClusterIdentifier(DbClusterIdentifierT&& value) { SetDbClusterIdentifier(std::forward<DbClusterIdentifierT>(value)); return *this;}
237
239
242 inline const Aws::String& GetDbClusterSnapshotIdentifier() const { return m_dbClusterSnapshotIdentifier; }
243 inline bool DbClusterSnapshotIdentifierHasBeenSet() const { return m_dbClusterSnapshotIdentifierHasBeenSet; }
244 template<typename DbClusterSnapshotIdentifierT = Aws::String>
245 void SetDbClusterSnapshotIdentifier(DbClusterSnapshotIdentifierT&& value) { m_dbClusterSnapshotIdentifierHasBeenSet = true; m_dbClusterSnapshotIdentifier = std::forward<DbClusterSnapshotIdentifierT>(value); }
246 template<typename DbClusterSnapshotIdentifierT = Aws::String>
247 AwsRdsDbClusterSnapshotDetails& WithDbClusterSnapshotIdentifier(DbClusterSnapshotIdentifierT&& value) { SetDbClusterSnapshotIdentifier(std::forward<DbClusterSnapshotIdentifierT>(value)); return *this;}
249
251
254 inline bool GetIamDatabaseAuthenticationEnabled() const { return m_iamDatabaseAuthenticationEnabled; }
255 inline bool IamDatabaseAuthenticationEnabledHasBeenSet() const { return m_iamDatabaseAuthenticationEnabledHasBeenSet; }
256 inline void SetIamDatabaseAuthenticationEnabled(bool value) { m_iamDatabaseAuthenticationEnabledHasBeenSet = true; m_iamDatabaseAuthenticationEnabled = value; }
259
261
264 inline const Aws::Vector<AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute>& GetDbClusterSnapshotAttributes() const { return m_dbClusterSnapshotAttributes; }
265 inline bool DbClusterSnapshotAttributesHasBeenSet() const { return m_dbClusterSnapshotAttributesHasBeenSet; }
266 template<typename DbClusterSnapshotAttributesT = Aws::Vector<AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute>>
267 void SetDbClusterSnapshotAttributes(DbClusterSnapshotAttributesT&& value) { m_dbClusterSnapshotAttributesHasBeenSet = true; m_dbClusterSnapshotAttributes = std::forward<DbClusterSnapshotAttributesT>(value); }
268 template<typename DbClusterSnapshotAttributesT = Aws::Vector<AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute>>
269 AwsRdsDbClusterSnapshotDetails& WithDbClusterSnapshotAttributes(DbClusterSnapshotAttributesT&& value) { SetDbClusterSnapshotAttributes(std::forward<DbClusterSnapshotAttributesT>(value)); return *this;}
270 template<typename DbClusterSnapshotAttributesT = AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute>
271 AwsRdsDbClusterSnapshotDetails& AddDbClusterSnapshotAttributes(DbClusterSnapshotAttributesT&& value) { m_dbClusterSnapshotAttributesHasBeenSet = true; m_dbClusterSnapshotAttributes.emplace_back(std::forward<DbClusterSnapshotAttributesT>(value)); return *this; }
273 private:
274
275 Aws::Vector<Aws::String> m_availabilityZones;
276 bool m_availabilityZonesHasBeenSet = false;
277
278 Aws::String m_snapshotCreateTime;
279 bool m_snapshotCreateTimeHasBeenSet = false;
280
281 Aws::String m_engine;
282 bool m_engineHasBeenSet = false;
283
284 int m_allocatedStorage{0};
285 bool m_allocatedStorageHasBeenSet = false;
286
287 Aws::String m_status;
288 bool m_statusHasBeenSet = false;
289
290 int m_port{0};
291 bool m_portHasBeenSet = false;
292
293 Aws::String m_vpcId;
294 bool m_vpcIdHasBeenSet = false;
295
296 Aws::String m_clusterCreateTime;
297 bool m_clusterCreateTimeHasBeenSet = false;
298
299 Aws::String m_masterUsername;
300 bool m_masterUsernameHasBeenSet = false;
301
302 Aws::String m_engineVersion;
303 bool m_engineVersionHasBeenSet = false;
304
305 Aws::String m_licenseModel;
306 bool m_licenseModelHasBeenSet = false;
307
308 Aws::String m_snapshotType;
309 bool m_snapshotTypeHasBeenSet = false;
310
311 int m_percentProgress{0};
312 bool m_percentProgressHasBeenSet = false;
313
314 bool m_storageEncrypted{false};
315 bool m_storageEncryptedHasBeenSet = false;
316
317 Aws::String m_kmsKeyId;
318 bool m_kmsKeyIdHasBeenSet = false;
319
320 Aws::String m_dbClusterIdentifier;
321 bool m_dbClusterIdentifierHasBeenSet = false;
322
323 Aws::String m_dbClusterSnapshotIdentifier;
324 bool m_dbClusterSnapshotIdentifierHasBeenSet = false;
325
326 bool m_iamDatabaseAuthenticationEnabled{false};
327 bool m_iamDatabaseAuthenticationEnabledHasBeenSet = false;
328
330 bool m_dbClusterSnapshotAttributesHasBeenSet = false;
331 };
332
333} // namespace Model
334} // namespace SecurityHub
335} // namespace Aws
AwsRdsDbClusterSnapshotDetails & WithLicenseModel(LicenseModelT &&value)
AwsRdsDbClusterSnapshotDetails & WithAvailabilityZones(AvailabilityZonesT &&value)
AwsRdsDbClusterSnapshotDetails & WithKmsKeyId(KmsKeyIdT &&value)
AwsRdsDbClusterSnapshotDetails & WithStatus(StatusT &&value)
AWS_SECURITYHUB_API AwsRdsDbClusterSnapshotDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDbClusterSnapshotIdentifier(DbClusterSnapshotIdentifierT &&value)
AwsRdsDbClusterSnapshotDetails & WithSnapshotType(SnapshotTypeT &&value)
AwsRdsDbClusterSnapshotDetails & WithDbClusterSnapshotIdentifier(DbClusterSnapshotIdentifierT &&value)
AwsRdsDbClusterSnapshotDetails & WithStorageEncrypted(bool value)
AwsRdsDbClusterSnapshotDetails & WithDbClusterIdentifier(DbClusterIdentifierT &&value)
AwsRdsDbClusterSnapshotDetails & WithEngine(EngineT &&value)
void SetDbClusterSnapshotAttributes(DbClusterSnapshotAttributesT &&value)
AwsRdsDbClusterSnapshotDetails & AddAvailabilityZones(AvailabilityZonesT &&value)
AwsRdsDbClusterSnapshotDetails & AddDbClusterSnapshotAttributes(DbClusterSnapshotAttributesT &&value)
AwsRdsDbClusterSnapshotDetails & WithClusterCreateTime(ClusterCreateTimeT &&value)
AwsRdsDbClusterSnapshotDetails & WithDbClusterSnapshotAttributes(DbClusterSnapshotAttributesT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsRdsDbClusterSnapshotDetails & WithIamDatabaseAuthenticationEnabled(bool value)
AwsRdsDbClusterSnapshotDetails & WithEngineVersion(EngineVersionT &&value)
AWS_SECURITYHUB_API AwsRdsDbClusterSnapshotDetails(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbClusterSnapshotDetails & WithAllocatedStorage(int value)
const Aws::Vector< AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute > & GetDbClusterSnapshotAttributes() const
AWS_SECURITYHUB_API AwsRdsDbClusterSnapshotDetails()=default
AwsRdsDbClusterSnapshotDetails & WithVpcId(VpcIdT &&value)
AwsRdsDbClusterSnapshotDetails & WithMasterUsername(MasterUsernameT &&value)
AwsRdsDbClusterSnapshotDetails & WithSnapshotCreateTime(SnapshotCreateTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue