AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ModifyReplicationConfigRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dms/DatabaseMigrationServiceRequest.h>
9#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
10#include <aws/dms/model/ComputeConfig.h>
11#include <aws/dms/model/MigrationTypeValue.h>
12
13#include <utility>
14
15namespace Aws {
16namespace DatabaseMigrationService {
17namespace Model {
18
25 public:
26 AWS_DATABASEMIGRATIONSERVICE_API ModifyReplicationConfigRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "ModifyReplicationConfig"; }
33
34 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
35
36 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
39
42 inline const Aws::String& GetReplicationConfigArn() const { return m_replicationConfigArn; }
43 inline bool ReplicationConfigArnHasBeenSet() const { return m_replicationConfigArnHasBeenSet; }
44 template <typename ReplicationConfigArnT = Aws::String>
45 void SetReplicationConfigArn(ReplicationConfigArnT&& value) {
46 m_replicationConfigArnHasBeenSet = true;
47 m_replicationConfigArn = std::forward<ReplicationConfigArnT>(value);
48 }
49 template <typename ReplicationConfigArnT = Aws::String>
51 SetReplicationConfigArn(std::forward<ReplicationConfigArnT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetReplicationConfigIdentifier() const { return m_replicationConfigIdentifier; }
61 inline bool ReplicationConfigIdentifierHasBeenSet() const { return m_replicationConfigIdentifierHasBeenSet; }
62 template <typename ReplicationConfigIdentifierT = Aws::String>
63 void SetReplicationConfigIdentifier(ReplicationConfigIdentifierT&& value) {
64 m_replicationConfigIdentifierHasBeenSet = true;
65 m_replicationConfigIdentifier = std::forward<ReplicationConfigIdentifierT>(value);
66 }
67 template <typename ReplicationConfigIdentifierT = Aws::String>
68 ModifyReplicationConfigRequest& WithReplicationConfigIdentifier(ReplicationConfigIdentifierT&& value) {
69 SetReplicationConfigIdentifier(std::forward<ReplicationConfigIdentifierT>(value));
70 return *this;
71 }
73
75
78 inline MigrationTypeValue GetReplicationType() const { return m_replicationType; }
79 inline bool ReplicationTypeHasBeenSet() const { return m_replicationTypeHasBeenSet; }
81 m_replicationTypeHasBeenSet = true;
82 m_replicationType = value;
83 }
85 SetReplicationType(value);
86 return *this;
87 }
89
91
94 inline const Aws::String& GetTableMappings() const { return m_tableMappings; }
95 inline bool TableMappingsHasBeenSet() const { return m_tableMappingsHasBeenSet; }
96 template <typename TableMappingsT = Aws::String>
97 void SetTableMappings(TableMappingsT&& value) {
98 m_tableMappingsHasBeenSet = true;
99 m_tableMappings = std::forward<TableMappingsT>(value);
100 }
101 template <typename TableMappingsT = Aws::String>
103 SetTableMappings(std::forward<TableMappingsT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetReplicationSettings() const { return m_replicationSettings; }
113 inline bool ReplicationSettingsHasBeenSet() const { return m_replicationSettingsHasBeenSet; }
114 template <typename ReplicationSettingsT = Aws::String>
115 void SetReplicationSettings(ReplicationSettingsT&& value) {
116 m_replicationSettingsHasBeenSet = true;
117 m_replicationSettings = std::forward<ReplicationSettingsT>(value);
118 }
119 template <typename ReplicationSettingsT = Aws::String>
121 SetReplicationSettings(std::forward<ReplicationSettingsT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::String& GetSupplementalSettings() const { return m_supplementalSettings; }
131 inline bool SupplementalSettingsHasBeenSet() const { return m_supplementalSettingsHasBeenSet; }
132 template <typename SupplementalSettingsT = Aws::String>
133 void SetSupplementalSettings(SupplementalSettingsT&& value) {
134 m_supplementalSettingsHasBeenSet = true;
135 m_supplementalSettings = std::forward<SupplementalSettingsT>(value);
136 }
137 template <typename SupplementalSettingsT = Aws::String>
139 SetSupplementalSettings(std::forward<SupplementalSettingsT>(value));
140 return *this;
141 }
143
145
148 inline const ComputeConfig& GetComputeConfig() const { return m_computeConfig; }
149 inline bool ComputeConfigHasBeenSet() const { return m_computeConfigHasBeenSet; }
150 template <typename ComputeConfigT = ComputeConfig>
151 void SetComputeConfig(ComputeConfigT&& value) {
152 m_computeConfigHasBeenSet = true;
153 m_computeConfig = std::forward<ComputeConfigT>(value);
154 }
155 template <typename ComputeConfigT = ComputeConfig>
157 SetComputeConfig(std::forward<ComputeConfigT>(value));
158 return *this;
159 }
161
163
167 inline const Aws::String& GetSourceEndpointArn() const { return m_sourceEndpointArn; }
168 inline bool SourceEndpointArnHasBeenSet() const { return m_sourceEndpointArnHasBeenSet; }
169 template <typename SourceEndpointArnT = Aws::String>
170 void SetSourceEndpointArn(SourceEndpointArnT&& value) {
171 m_sourceEndpointArnHasBeenSet = true;
172 m_sourceEndpointArn = std::forward<SourceEndpointArnT>(value);
173 }
174 template <typename SourceEndpointArnT = Aws::String>
176 SetSourceEndpointArn(std::forward<SourceEndpointArnT>(value));
177 return *this;
178 }
180
182
186 inline const Aws::String& GetTargetEndpointArn() const { return m_targetEndpointArn; }
187 inline bool TargetEndpointArnHasBeenSet() const { return m_targetEndpointArnHasBeenSet; }
188 template <typename TargetEndpointArnT = Aws::String>
189 void SetTargetEndpointArn(TargetEndpointArnT&& value) {
190 m_targetEndpointArnHasBeenSet = true;
191 m_targetEndpointArn = std::forward<TargetEndpointArnT>(value);
192 }
193 template <typename TargetEndpointArnT = Aws::String>
195 SetTargetEndpointArn(std::forward<TargetEndpointArnT>(value));
196 return *this;
197 }
199 private:
200 Aws::String m_replicationConfigArn;
201
202 Aws::String m_replicationConfigIdentifier;
203
205
206 Aws::String m_tableMappings;
207
208 Aws::String m_replicationSettings;
209
210 Aws::String m_supplementalSettings;
211
212 ComputeConfig m_computeConfig;
213
214 Aws::String m_sourceEndpointArn;
215
216 Aws::String m_targetEndpointArn;
217 bool m_replicationConfigArnHasBeenSet = false;
218 bool m_replicationConfigIdentifierHasBeenSet = false;
219 bool m_replicationTypeHasBeenSet = false;
220 bool m_tableMappingsHasBeenSet = false;
221 bool m_replicationSettingsHasBeenSet = false;
222 bool m_supplementalSettingsHasBeenSet = false;
223 bool m_computeConfigHasBeenSet = false;
224 bool m_sourceEndpointArnHasBeenSet = false;
225 bool m_targetEndpointArnHasBeenSet = false;
226};
227
228} // namespace Model
229} // namespace DatabaseMigrationService
230} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
ModifyReplicationConfigRequest & WithTargetEndpointArn(TargetEndpointArnT &&value)
ModifyReplicationConfigRequest & WithReplicationSettings(ReplicationSettingsT &&value)
ModifyReplicationConfigRequest & WithTableMappings(TableMappingsT &&value)
ModifyReplicationConfigRequest & WithReplicationConfigIdentifier(ReplicationConfigIdentifierT &&value)
ModifyReplicationConfigRequest & WithComputeConfig(ComputeConfigT &&value)
ModifyReplicationConfigRequest & WithReplicationType(MigrationTypeValue value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DATABASEMIGRATIONSERVICE_API ModifyReplicationConfigRequest()=default
ModifyReplicationConfigRequest & WithReplicationConfigArn(ReplicationConfigArnT &&value)
ModifyReplicationConfigRequest & WithSupplementalSettings(SupplementalSettingsT &&value)
ModifyReplicationConfigRequest & WithSourceEndpointArn(SourceEndpointArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String