AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyReplicationInstanceRequest.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/dms/DatabaseMigrationServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DatabaseMigrationService
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_DATABASEMIGRATIONSERVICE_API ModifyReplicationInstanceRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ModifyReplicationInstance"; }
35
36 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
37
38 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
45 inline const Aws::String& GetReplicationInstanceArn() const{ return m_replicationInstanceArn; }
46 inline bool ReplicationInstanceArnHasBeenSet() const { return m_replicationInstanceArnHasBeenSet; }
47 inline void SetReplicationInstanceArn(const Aws::String& value) { m_replicationInstanceArnHasBeenSet = true; m_replicationInstanceArn = value; }
48 inline void SetReplicationInstanceArn(Aws::String&& value) { m_replicationInstanceArnHasBeenSet = true; m_replicationInstanceArn = std::move(value); }
49 inline void SetReplicationInstanceArn(const char* value) { m_replicationInstanceArnHasBeenSet = true; m_replicationInstanceArn.assign(value); }
54
56
60 inline int GetAllocatedStorage() const{ return m_allocatedStorage; }
61 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
62 inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; }
65
67
71 inline bool GetApplyImmediately() const{ return m_applyImmediately; }
72 inline bool ApplyImmediatelyHasBeenSet() const { return m_applyImmediatelyHasBeenSet; }
73 inline void SetApplyImmediately(bool value) { m_applyImmediatelyHasBeenSet = true; m_applyImmediately = value; }
76
78
87 inline const Aws::String& GetReplicationInstanceClass() const{ return m_replicationInstanceClass; }
88 inline bool ReplicationInstanceClassHasBeenSet() const { return m_replicationInstanceClassHasBeenSet; }
89 inline void SetReplicationInstanceClass(const Aws::String& value) { m_replicationInstanceClassHasBeenSet = true; m_replicationInstanceClass = value; }
90 inline void SetReplicationInstanceClass(Aws::String&& value) { m_replicationInstanceClassHasBeenSet = true; m_replicationInstanceClass = std::move(value); }
91 inline void SetReplicationInstanceClass(const char* value) { m_replicationInstanceClassHasBeenSet = true; m_replicationInstanceClass.assign(value); }
96
98
103 inline const Aws::Vector<Aws::String>& GetVpcSecurityGroupIds() const{ return m_vpcSecurityGroupIds; }
104 inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; }
105 inline void SetVpcSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = value; }
106 inline void SetVpcSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::move(value); }
109 inline ModifyReplicationInstanceRequest& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
110 inline ModifyReplicationInstanceRequest& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; }
111 inline ModifyReplicationInstanceRequest& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; }
113
115
125 inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; }
126 inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; }
127 inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; }
128 inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); }
129 inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); }
134
136
141 inline bool GetMultiAZ() const{ return m_multiAZ; }
142 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
143 inline void SetMultiAZ(bool value) { m_multiAZHasBeenSet = true; m_multiAZ = value; }
144 inline ModifyReplicationInstanceRequest& WithMultiAZ(bool value) { SetMultiAZ(value); return *this;}
146
148
153 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
154 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
155 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
156 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
157 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
159 inline ModifyReplicationInstanceRequest& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
160 inline ModifyReplicationInstanceRequest& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
162
164
171 inline bool GetAllowMajorVersionUpgrade() const{ return m_allowMajorVersionUpgrade; }
172 inline bool AllowMajorVersionUpgradeHasBeenSet() const { return m_allowMajorVersionUpgradeHasBeenSet; }
173 inline void SetAllowMajorVersionUpgrade(bool value) { m_allowMajorVersionUpgradeHasBeenSet = true; m_allowMajorVersionUpgrade = value; }
176
178
188 inline bool GetAutoMinorVersionUpgrade() const{ return m_autoMinorVersionUpgrade; }
189 inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; }
190 inline void SetAutoMinorVersionUpgrade(bool value) { m_autoMinorVersionUpgradeHasBeenSet = true; m_autoMinorVersionUpgrade = value; }
193
195
199 inline const Aws::String& GetReplicationInstanceIdentifier() const{ return m_replicationInstanceIdentifier; }
200 inline bool ReplicationInstanceIdentifierHasBeenSet() const { return m_replicationInstanceIdentifierHasBeenSet; }
201 inline void SetReplicationInstanceIdentifier(const Aws::String& value) { m_replicationInstanceIdentifierHasBeenSet = true; m_replicationInstanceIdentifier = value; }
202 inline void SetReplicationInstanceIdentifier(Aws::String&& value) { m_replicationInstanceIdentifierHasBeenSet = true; m_replicationInstanceIdentifier = std::move(value); }
203 inline void SetReplicationInstanceIdentifier(const char* value) { m_replicationInstanceIdentifierHasBeenSet = true; m_replicationInstanceIdentifier.assign(value); }
208
210
215 inline const Aws::String& GetNetworkType() const{ return m_networkType; }
216 inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
217 inline void SetNetworkType(const Aws::String& value) { m_networkTypeHasBeenSet = true; m_networkType = value; }
218 inline void SetNetworkType(Aws::String&& value) { m_networkTypeHasBeenSet = true; m_networkType = std::move(value); }
219 inline void SetNetworkType(const char* value) { m_networkTypeHasBeenSet = true; m_networkType.assign(value); }
220 inline ModifyReplicationInstanceRequest& WithNetworkType(const Aws::String& value) { SetNetworkType(value); return *this;}
221 inline ModifyReplicationInstanceRequest& WithNetworkType(Aws::String&& value) { SetNetworkType(std::move(value)); return *this;}
222 inline ModifyReplicationInstanceRequest& WithNetworkType(const char* value) { SetNetworkType(value); return *this;}
224 private:
225
226 Aws::String m_replicationInstanceArn;
227 bool m_replicationInstanceArnHasBeenSet = false;
228
229 int m_allocatedStorage;
230 bool m_allocatedStorageHasBeenSet = false;
231
232 bool m_applyImmediately;
233 bool m_applyImmediatelyHasBeenSet = false;
234
235 Aws::String m_replicationInstanceClass;
236 bool m_replicationInstanceClassHasBeenSet = false;
237
238 Aws::Vector<Aws::String> m_vpcSecurityGroupIds;
239 bool m_vpcSecurityGroupIdsHasBeenSet = false;
240
241 Aws::String m_preferredMaintenanceWindow;
242 bool m_preferredMaintenanceWindowHasBeenSet = false;
243
244 bool m_multiAZ;
245 bool m_multiAZHasBeenSet = false;
246
247 Aws::String m_engineVersion;
248 bool m_engineVersionHasBeenSet = false;
249
250 bool m_allowMajorVersionUpgrade;
251 bool m_allowMajorVersionUpgradeHasBeenSet = false;
252
253 bool m_autoMinorVersionUpgrade;
254 bool m_autoMinorVersionUpgradeHasBeenSet = false;
255
256 Aws::String m_replicationInstanceIdentifier;
257 bool m_replicationInstanceIdentifierHasBeenSet = false;
258
259 Aws::String m_networkType;
260 bool m_networkTypeHasBeenSet = false;
261 };
262
263} // namespace Model
264} // namespace DatabaseMigrationService
265} // namespace Aws
ModifyReplicationInstanceRequest & WithReplicationInstanceIdentifier(Aws::String &&value)
ModifyReplicationInstanceRequest & WithReplicationInstanceClass(const char *value)
ModifyReplicationInstanceRequest & WithReplicationInstanceArn(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ModifyReplicationInstanceRequest & WithReplicationInstanceIdentifier(const Aws::String &value)
ModifyReplicationInstanceRequest & WithEngineVersion(const Aws::String &value)
ModifyReplicationInstanceRequest & WithVpcSecurityGroupIds(Aws::Vector< Aws::String > &&value)
ModifyReplicationInstanceRequest & WithNetworkType(const Aws::String &value)
ModifyReplicationInstanceRequest & WithReplicationInstanceIdentifier(const char *value)
ModifyReplicationInstanceRequest & WithReplicationInstanceClass(Aws::String &&value)
ModifyReplicationInstanceRequest & WithPreferredMaintenanceWindow(Aws::String &&value)
ModifyReplicationInstanceRequest & WithPreferredMaintenanceWindow(const char *value)
ModifyReplicationInstanceRequest & AddVpcSecurityGroupIds(const Aws::String &value)
ModifyReplicationInstanceRequest & WithPreferredMaintenanceWindow(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
ModifyReplicationInstanceRequest & WithVpcSecurityGroupIds(const Aws::Vector< Aws::String > &value)
ModifyReplicationInstanceRequest & WithReplicationInstanceArn(const char *value)
ModifyReplicationInstanceRequest & AddVpcSecurityGroupIds(Aws::String &&value)
ModifyReplicationInstanceRequest & WithReplicationInstanceArn(Aws::String &&value)
ModifyReplicationInstanceRequest & WithReplicationInstanceClass(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector