AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsDmsReplicationInstanceDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/AwsDmsReplicationInstanceReplicationSubnetGroupDetails.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/securityhub/model/AwsDmsReplicationInstanceVpcSecurityGroupsDetails.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SecurityHub
25{
26namespace Model
27{
28
38 {
39 public:
40 AWS_SECURITYHUB_API AwsDmsReplicationInstanceDetails();
43 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline int GetAllocatedStorage() const{ return m_allocatedStorage; }
52 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
53 inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; }
56
58
62 inline bool GetAutoMinorVersionUpgrade() const{ return m_autoMinorVersionUpgrade; }
63 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
64 inline void SetAutoMinorVersionUpgrade(bool value) { m_autoMinorVersionUpgradeHasBeenSet = true; m_autoMinorVersionUpgrade = value; }
67
69
74 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
75 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
76 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
77 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
78 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
80 inline AwsDmsReplicationInstanceDetails& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
81 inline AwsDmsReplicationInstanceDetails& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
83
85
90 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
91 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
92 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
93 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
94 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
96 inline AwsDmsReplicationInstanceDetails& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
97 inline AwsDmsReplicationInstanceDetails& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
99
101
108 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
109 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
110 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
111 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
112 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
113 inline AwsDmsReplicationInstanceDetails& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
114 inline AwsDmsReplicationInstanceDetails& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
115 inline AwsDmsReplicationInstanceDetails& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
117
119
124 inline bool GetMultiAZ() const{ return m_multiAZ; }
125 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
126 inline void SetMultiAZ(bool value) { m_multiAZHasBeenSet = true; m_multiAZ = value; }
127 inline AwsDmsReplicationInstanceDetails& WithMultiAZ(bool value) { SetMultiAZ(value); return *this;}
129
131
135 inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; }
136 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
137 inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; }
138 inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); }
139 inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); }
144
146
152 inline bool GetPubliclyAccessible() const{ return m_publiclyAccessible; }
153 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
154 inline void SetPubliclyAccessible(bool value) { m_publiclyAccessibleHasBeenSet = true; m_publiclyAccessible = value; }
157
159
163 inline const Aws::String& GetReplicationInstanceClass() const{ return m_replicationInstanceClass; }
164 inline bool ReplicationInstanceClassHasBeenSet() const { return m_replicationInstanceClassHasBeenSet; }
165 inline void SetReplicationInstanceClass(const Aws::String& value) { m_replicationInstanceClassHasBeenSet = true; m_replicationInstanceClass = value; }
166 inline void SetReplicationInstanceClass(Aws::String&& value) { m_replicationInstanceClassHasBeenSet = true; m_replicationInstanceClass = std::move(value); }
167 inline void SetReplicationInstanceClass(const char* value) { m_replicationInstanceClassHasBeenSet = true; m_replicationInstanceClass.assign(value); }
172
174
177 inline const Aws::String& GetReplicationInstanceIdentifier() const{ return m_replicationInstanceIdentifier; }
178 inline bool ReplicationInstanceIdentifierHasBeenSet() const { return m_replicationInstanceIdentifierHasBeenSet; }
179 inline void SetReplicationInstanceIdentifier(const Aws::String& value) { m_replicationInstanceIdentifierHasBeenSet = true; m_replicationInstanceIdentifier = value; }
180 inline void SetReplicationInstanceIdentifier(Aws::String&& value) { m_replicationInstanceIdentifierHasBeenSet = true; m_replicationInstanceIdentifier = std::move(value); }
181 inline void SetReplicationInstanceIdentifier(const char* value) { m_replicationInstanceIdentifierHasBeenSet = true; m_replicationInstanceIdentifier.assign(value); }
186
188
191 inline const AwsDmsReplicationInstanceReplicationSubnetGroupDetails& GetReplicationSubnetGroup() const{ return m_replicationSubnetGroup; }
192 inline bool ReplicationSubnetGroupHasBeenSet() const { return m_replicationSubnetGroupHasBeenSet; }
193 inline void SetReplicationSubnetGroup(const AwsDmsReplicationInstanceReplicationSubnetGroupDetails& value) { m_replicationSubnetGroupHasBeenSet = true; m_replicationSubnetGroup = value; }
194 inline void SetReplicationSubnetGroup(AwsDmsReplicationInstanceReplicationSubnetGroupDetails&& value) { m_replicationSubnetGroupHasBeenSet = true; m_replicationSubnetGroup = std::move(value); }
198
200
205 inline bool VpcSecurityGroupsHasBeenSet() const { return m_vpcSecurityGroupsHasBeenSet; }
206 inline void SetVpcSecurityGroups(const Aws::Vector<AwsDmsReplicationInstanceVpcSecurityGroupsDetails>& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups = value; }
207 inline void SetVpcSecurityGroups(Aws::Vector<AwsDmsReplicationInstanceVpcSecurityGroupsDetails>&& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups = std::move(value); }
210 inline AwsDmsReplicationInstanceDetails& AddVpcSecurityGroups(const AwsDmsReplicationInstanceVpcSecurityGroupsDetails& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups.push_back(value); return *this; }
211 inline AwsDmsReplicationInstanceDetails& AddVpcSecurityGroups(AwsDmsReplicationInstanceVpcSecurityGroupsDetails&& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups.push_back(std::move(value)); return *this; }
213 private:
214
215 int m_allocatedStorage;
216 bool m_allocatedStorageHasBeenSet = false;
217
218 bool m_autoMinorVersionUpgrade;
219 bool m_autoMinorVersionUpgradeHasBeenSet = false;
220
221 Aws::String m_availabilityZone;
222 bool m_availabilityZoneHasBeenSet = false;
223
224 Aws::String m_engineVersion;
225 bool m_engineVersionHasBeenSet = false;
226
227 Aws::String m_kmsKeyId;
228 bool m_kmsKeyIdHasBeenSet = false;
229
230 bool m_multiAZ;
231 bool m_multiAZHasBeenSet = false;
232
233 Aws::String m_preferredMaintenanceWindow;
234 bool m_preferredMaintenanceWindowHasBeenSet = false;
235
236 bool m_publiclyAccessible;
237 bool m_publiclyAccessibleHasBeenSet = false;
238
239 Aws::String m_replicationInstanceClass;
240 bool m_replicationInstanceClassHasBeenSet = false;
241
242 Aws::String m_replicationInstanceIdentifier;
243 bool m_replicationInstanceIdentifierHasBeenSet = false;
244
246 bool m_replicationSubnetGroupHasBeenSet = false;
247
249 bool m_vpcSecurityGroupsHasBeenSet = false;
250 };
251
252} // namespace Model
253} // namespace SecurityHub
254} // namespace Aws
AwsDmsReplicationInstanceDetails & WithAvailabilityZone(const Aws::String &value)
void SetReplicationSubnetGroup(AwsDmsReplicationInstanceReplicationSubnetGroupDetails &&value)
AwsDmsReplicationInstanceDetails & WithReplicationInstanceClass(Aws::String &&value)
AwsDmsReplicationInstanceDetails & WithReplicationInstanceClass(const char *value)
AwsDmsReplicationInstanceDetails & AddVpcSecurityGroups(const AwsDmsReplicationInstanceVpcSecurityGroupsDetails &value)
AwsDmsReplicationInstanceDetails & WithVpcSecurityGroups(Aws::Vector< AwsDmsReplicationInstanceVpcSecurityGroupsDetails > &&value)
AwsDmsReplicationInstanceDetails & WithPreferredMaintenanceWindow(Aws::String &&value)
AWS_SECURITYHUB_API AwsDmsReplicationInstanceDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AwsDmsReplicationInstanceVpcSecurityGroupsDetails > & GetVpcSecurityGroups() const
AwsDmsReplicationInstanceDetails & WithKmsKeyId(const char *value)
AwsDmsReplicationInstanceDetails & WithReplicationInstanceIdentifier(Aws::String &&value)
void SetReplicationSubnetGroup(const AwsDmsReplicationInstanceReplicationSubnetGroupDetails &value)
AwsDmsReplicationInstanceDetails & WithVpcSecurityGroups(const Aws::Vector< AwsDmsReplicationInstanceVpcSecurityGroupsDetails > &value)
AWS_SECURITYHUB_API AwsDmsReplicationInstanceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsDmsReplicationInstanceDetails & AddVpcSecurityGroups(AwsDmsReplicationInstanceVpcSecurityGroupsDetails &&value)
AwsDmsReplicationInstanceDetails & WithAutoMinorVersionUpgrade(bool value)
AwsDmsReplicationInstanceDetails & WithEngineVersion(const Aws::String &value)
AwsDmsReplicationInstanceDetails & WithPreferredMaintenanceWindow(const char *value)
AwsDmsReplicationInstanceDetails & WithReplicationInstanceIdentifier(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsDmsReplicationInstanceDetails & WithReplicationInstanceClass(const Aws::String &value)
void SetVpcSecurityGroups(const Aws::Vector< AwsDmsReplicationInstanceVpcSecurityGroupsDetails > &value)
AwsDmsReplicationInstanceDetails & WithEngineVersion(Aws::String &&value)
AwsDmsReplicationInstanceDetails & WithKmsKeyId(const Aws::String &value)
AwsDmsReplicationInstanceDetails & WithKmsKeyId(Aws::String &&value)
AwsDmsReplicationInstanceDetails & WithAvailabilityZone(Aws::String &&value)
AwsDmsReplicationInstanceDetails & WithPubliclyAccessible(bool value)
void SetVpcSecurityGroups(Aws::Vector< AwsDmsReplicationInstanceVpcSecurityGroupsDetails > &&value)
AwsDmsReplicationInstanceDetails & WithReplicationInstanceIdentifier(const char *value)
const AwsDmsReplicationInstanceReplicationSubnetGroupDetails & GetReplicationSubnetGroup() const
AwsDmsReplicationInstanceDetails & WithEngineVersion(const char *value)
AwsDmsReplicationInstanceDetails & WithPreferredMaintenanceWindow(const Aws::String &value)
AwsDmsReplicationInstanceDetails & WithReplicationSubnetGroup(const AwsDmsReplicationInstanceReplicationSubnetGroupDetails &value)
AwsDmsReplicationInstanceDetails & WithAvailabilityZone(const char *value)
AwsDmsReplicationInstanceDetails & WithReplicationSubnetGroup(AwsDmsReplicationInstanceReplicationSubnetGroupDetails &&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