AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyReplicationConfigRequest.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/dms/model/MigrationTypeValue.h>
11#include <aws/dms/model/ComputeConfig.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DatabaseMigrationService
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_DATABASEMIGRATIONSERVICE_API ModifyReplicationConfigRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ModifyReplicationConfig"; }
36
37 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
38
39 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
46 inline const Aws::String& GetReplicationConfigArn() const{ return m_replicationConfigArn; }
47 inline bool ReplicationConfigArnHasBeenSet() const { return m_replicationConfigArnHasBeenSet; }
48 inline void SetReplicationConfigArn(const Aws::String& value) { m_replicationConfigArnHasBeenSet = true; m_replicationConfigArn = value; }
49 inline void SetReplicationConfigArn(Aws::String&& value) { m_replicationConfigArnHasBeenSet = true; m_replicationConfigArn = std::move(value); }
50 inline void SetReplicationConfigArn(const char* value) { m_replicationConfigArnHasBeenSet = true; m_replicationConfigArn.assign(value); }
53 inline ModifyReplicationConfigRequest& WithReplicationConfigArn(const char* value) { SetReplicationConfigArn(value); return *this;}
55
57
60 inline const Aws::String& GetReplicationConfigIdentifier() const{ return m_replicationConfigIdentifier; }
61 inline bool ReplicationConfigIdentifierHasBeenSet() const { return m_replicationConfigIdentifierHasBeenSet; }
62 inline void SetReplicationConfigIdentifier(const Aws::String& value) { m_replicationConfigIdentifierHasBeenSet = true; m_replicationConfigIdentifier = value; }
63 inline void SetReplicationConfigIdentifier(Aws::String&& value) { m_replicationConfigIdentifierHasBeenSet = true; m_replicationConfigIdentifier = std::move(value); }
64 inline void SetReplicationConfigIdentifier(const char* value) { m_replicationConfigIdentifierHasBeenSet = true; m_replicationConfigIdentifier.assign(value); }
69
71
74 inline const MigrationTypeValue& GetReplicationType() const{ return m_replicationType; }
75 inline bool ReplicationTypeHasBeenSet() const { return m_replicationTypeHasBeenSet; }
76 inline void SetReplicationType(const MigrationTypeValue& value) { m_replicationTypeHasBeenSet = true; m_replicationType = value; }
77 inline void SetReplicationType(MigrationTypeValue&& value) { m_replicationTypeHasBeenSet = true; m_replicationType = std::move(value); }
81
83
86 inline const Aws::String& GetTableMappings() const{ return m_tableMappings; }
87 inline bool TableMappingsHasBeenSet() const { return m_tableMappingsHasBeenSet; }
88 inline void SetTableMappings(const Aws::String& value) { m_tableMappingsHasBeenSet = true; m_tableMappings = value; }
89 inline void SetTableMappings(Aws::String&& value) { m_tableMappingsHasBeenSet = true; m_tableMappings = std::move(value); }
90 inline void SetTableMappings(const char* value) { m_tableMappingsHasBeenSet = true; m_tableMappings.assign(value); }
92 inline ModifyReplicationConfigRequest& WithTableMappings(Aws::String&& value) { SetTableMappings(std::move(value)); return *this;}
93 inline ModifyReplicationConfigRequest& WithTableMappings(const char* value) { SetTableMappings(value); return *this;}
95
97
100 inline const Aws::String& GetReplicationSettings() const{ return m_replicationSettings; }
101 inline bool ReplicationSettingsHasBeenSet() const { return m_replicationSettingsHasBeenSet; }
102 inline void SetReplicationSettings(const Aws::String& value) { m_replicationSettingsHasBeenSet = true; m_replicationSettings = value; }
103 inline void SetReplicationSettings(Aws::String&& value) { m_replicationSettingsHasBeenSet = true; m_replicationSettings = std::move(value); }
104 inline void SetReplicationSettings(const char* value) { m_replicationSettingsHasBeenSet = true; m_replicationSettings.assign(value); }
107 inline ModifyReplicationConfigRequest& WithReplicationSettings(const char* value) { SetReplicationSettings(value); return *this;}
109
111
114 inline const Aws::String& GetSupplementalSettings() const{ return m_supplementalSettings; }
115 inline bool SupplementalSettingsHasBeenSet() const { return m_supplementalSettingsHasBeenSet; }
116 inline void SetSupplementalSettings(const Aws::String& value) { m_supplementalSettingsHasBeenSet = true; m_supplementalSettings = value; }
117 inline void SetSupplementalSettings(Aws::String&& value) { m_supplementalSettingsHasBeenSet = true; m_supplementalSettings = std::move(value); }
118 inline void SetSupplementalSettings(const char* value) { m_supplementalSettingsHasBeenSet = true; m_supplementalSettings.assign(value); }
121 inline ModifyReplicationConfigRequest& WithSupplementalSettings(const char* value) { SetSupplementalSettings(value); return *this;}
123
125
128 inline const ComputeConfig& GetComputeConfig() const{ return m_computeConfig; }
129 inline bool ComputeConfigHasBeenSet() const { return m_computeConfigHasBeenSet; }
130 inline void SetComputeConfig(const ComputeConfig& value) { m_computeConfigHasBeenSet = true; m_computeConfig = value; }
131 inline void SetComputeConfig(ComputeConfig&& value) { m_computeConfigHasBeenSet = true; m_computeConfig = std::move(value); }
133 inline ModifyReplicationConfigRequest& WithComputeConfig(ComputeConfig&& value) { SetComputeConfig(std::move(value)); return *this;}
135
137
141 inline const Aws::String& GetSourceEndpointArn() const{ return m_sourceEndpointArn; }
142 inline bool SourceEndpointArnHasBeenSet() const { return m_sourceEndpointArnHasBeenSet; }
143 inline void SetSourceEndpointArn(const Aws::String& value) { m_sourceEndpointArnHasBeenSet = true; m_sourceEndpointArn = value; }
144 inline void SetSourceEndpointArn(Aws::String&& value) { m_sourceEndpointArnHasBeenSet = true; m_sourceEndpointArn = std::move(value); }
145 inline void SetSourceEndpointArn(const char* value) { m_sourceEndpointArnHasBeenSet = true; m_sourceEndpointArn.assign(value); }
148 inline ModifyReplicationConfigRequest& WithSourceEndpointArn(const char* value) { SetSourceEndpointArn(value); return *this;}
150
152
156 inline const Aws::String& GetTargetEndpointArn() const{ return m_targetEndpointArn; }
157 inline bool TargetEndpointArnHasBeenSet() const { return m_targetEndpointArnHasBeenSet; }
158 inline void SetTargetEndpointArn(const Aws::String& value) { m_targetEndpointArnHasBeenSet = true; m_targetEndpointArn = value; }
159 inline void SetTargetEndpointArn(Aws::String&& value) { m_targetEndpointArnHasBeenSet = true; m_targetEndpointArn = std::move(value); }
160 inline void SetTargetEndpointArn(const char* value) { m_targetEndpointArnHasBeenSet = true; m_targetEndpointArn.assign(value); }
163 inline ModifyReplicationConfigRequest& WithTargetEndpointArn(const char* value) { SetTargetEndpointArn(value); return *this;}
165 private:
166
167 Aws::String m_replicationConfigArn;
168 bool m_replicationConfigArnHasBeenSet = false;
169
170 Aws::String m_replicationConfigIdentifier;
171 bool m_replicationConfigIdentifierHasBeenSet = false;
172
173 MigrationTypeValue m_replicationType;
174 bool m_replicationTypeHasBeenSet = false;
175
176 Aws::String m_tableMappings;
177 bool m_tableMappingsHasBeenSet = false;
178
179 Aws::String m_replicationSettings;
180 bool m_replicationSettingsHasBeenSet = false;
181
182 Aws::String m_supplementalSettings;
183 bool m_supplementalSettingsHasBeenSet = false;
184
185 ComputeConfig m_computeConfig;
186 bool m_computeConfigHasBeenSet = false;
187
188 Aws::String m_sourceEndpointArn;
189 bool m_sourceEndpointArnHasBeenSet = false;
190
191 Aws::String m_targetEndpointArn;
192 bool m_targetEndpointArnHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace DatabaseMigrationService
197} // namespace Aws
ModifyReplicationConfigRequest & WithReplicationConfigArn(const Aws::String &value)
ModifyReplicationConfigRequest & WithReplicationConfigIdentifier(Aws::String &&value)
ModifyReplicationConfigRequest & WithComputeConfig(ComputeConfig &&value)
ModifyReplicationConfigRequest & WithTargetEndpointArn(const Aws::String &value)
ModifyReplicationConfigRequest & WithReplicationSettings(const Aws::String &value)
ModifyReplicationConfigRequest & WithTableMappings(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
ModifyReplicationConfigRequest & WithReplicationType(const MigrationTypeValue &value)
ModifyReplicationConfigRequest & WithTargetEndpointArn(Aws::String &&value)
ModifyReplicationConfigRequest & WithReplicationConfigArn(const char *value)
ModifyReplicationConfigRequest & WithSourceEndpointArn(Aws::String &&value)
ModifyReplicationConfigRequest & WithReplicationSettings(const char *value)
ModifyReplicationConfigRequest & WithSupplementalSettings(Aws::String &&value)
ModifyReplicationConfigRequest & WithReplicationSettings(Aws::String &&value)
ModifyReplicationConfigRequest & WithSourceEndpointArn(const Aws::String &value)
ModifyReplicationConfigRequest & WithTableMappings(const Aws::String &value)
ModifyReplicationConfigRequest & WithReplicationConfigIdentifier(const Aws::String &value)
ModifyReplicationConfigRequest & WithSupplementalSettings(const char *value)
ModifyReplicationConfigRequest & WithReplicationConfigArn(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ModifyReplicationConfigRequest & WithSupplementalSettings(const Aws::String &value)
ModifyReplicationConfigRequest & WithComputeConfig(const ComputeConfig &value)
ModifyReplicationConfigRequest & WithReplicationConfigIdentifier(const char *value)
ModifyReplicationConfigRequest & WithReplicationType(MigrationTypeValue &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String