AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyReplicationTaskRequest.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/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DatabaseMigrationService
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_DATABASEMIGRATIONSERVICE_API ModifyReplicationTaskRequest();
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 "ModifyReplicationTask"; }
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& GetReplicationTaskArn() const{ return m_replicationTaskArn; }
47 inline bool ReplicationTaskArnHasBeenSet() const { return m_replicationTaskArnHasBeenSet; }
48 inline void SetReplicationTaskArn(const Aws::String& value) { m_replicationTaskArnHasBeenSet = true; m_replicationTaskArn = value; }
49 inline void SetReplicationTaskArn(Aws::String&& value) { m_replicationTaskArnHasBeenSet = true; m_replicationTaskArn = std::move(value); }
50 inline void SetReplicationTaskArn(const char* value) { m_replicationTaskArnHasBeenSet = true; m_replicationTaskArn.assign(value); }
52 inline ModifyReplicationTaskRequest& WithReplicationTaskArn(Aws::String&& value) { SetReplicationTaskArn(std::move(value)); return *this;}
53 inline ModifyReplicationTaskRequest& WithReplicationTaskArn(const char* value) { SetReplicationTaskArn(value); return *this;}
55
57
63 inline const Aws::String& GetReplicationTaskIdentifier() const{ return m_replicationTaskIdentifier; }
64 inline bool ReplicationTaskIdentifierHasBeenSet() const { return m_replicationTaskIdentifierHasBeenSet; }
65 inline void SetReplicationTaskIdentifier(const Aws::String& value) { m_replicationTaskIdentifierHasBeenSet = true; m_replicationTaskIdentifier = value; }
66 inline void SetReplicationTaskIdentifier(Aws::String&& value) { m_replicationTaskIdentifierHasBeenSet = true; m_replicationTaskIdentifier = std::move(value); }
67 inline void SetReplicationTaskIdentifier(const char* value) { m_replicationTaskIdentifierHasBeenSet = true; m_replicationTaskIdentifier.assign(value); }
72
74
78 inline const MigrationTypeValue& GetMigrationType() const{ return m_migrationType; }
79 inline bool MigrationTypeHasBeenSet() const { return m_migrationTypeHasBeenSet; }
80 inline void SetMigrationType(const MigrationTypeValue& value) { m_migrationTypeHasBeenSet = true; m_migrationType = value; }
81 inline void SetMigrationType(MigrationTypeValue&& value) { m_migrationTypeHasBeenSet = true; m_migrationType = std::move(value); }
83 inline ModifyReplicationTaskRequest& WithMigrationType(MigrationTypeValue&& value) { SetMigrationType(std::move(value)); return *this;}
85
87
93 inline const Aws::String& GetTableMappings() const{ return m_tableMappings; }
94 inline bool TableMappingsHasBeenSet() const { return m_tableMappingsHasBeenSet; }
95 inline void SetTableMappings(const Aws::String& value) { m_tableMappingsHasBeenSet = true; m_tableMappings = value; }
96 inline void SetTableMappings(Aws::String&& value) { m_tableMappingsHasBeenSet = true; m_tableMappings = std::move(value); }
97 inline void SetTableMappings(const char* value) { m_tableMappingsHasBeenSet = true; m_tableMappings.assign(value); }
98 inline ModifyReplicationTaskRequest& WithTableMappings(const Aws::String& value) { SetTableMappings(value); return *this;}
99 inline ModifyReplicationTaskRequest& WithTableMappings(Aws::String&& value) { SetTableMappings(std::move(value)); return *this;}
100 inline ModifyReplicationTaskRequest& WithTableMappings(const char* value) { SetTableMappings(value); return *this;}
102
104
108 inline const Aws::String& GetReplicationTaskSettings() const{ return m_replicationTaskSettings; }
109 inline bool ReplicationTaskSettingsHasBeenSet() const { return m_replicationTaskSettingsHasBeenSet; }
110 inline void SetReplicationTaskSettings(const Aws::String& value) { m_replicationTaskSettingsHasBeenSet = true; m_replicationTaskSettings = value; }
111 inline void SetReplicationTaskSettings(Aws::String&& value) { m_replicationTaskSettingsHasBeenSet = true; m_replicationTaskSettings = std::move(value); }
112 inline void SetReplicationTaskSettings(const char* value) { m_replicationTaskSettingsHasBeenSet = true; m_replicationTaskSettings.assign(value); }
117
119
125 inline const Aws::Utils::DateTime& GetCdcStartTime() const{ return m_cdcStartTime; }
126 inline bool CdcStartTimeHasBeenSet() const { return m_cdcStartTimeHasBeenSet; }
127 inline void SetCdcStartTime(const Aws::Utils::DateTime& value) { m_cdcStartTimeHasBeenSet = true; m_cdcStartTime = value; }
128 inline void SetCdcStartTime(Aws::Utils::DateTime&& value) { m_cdcStartTimeHasBeenSet = true; m_cdcStartTime = std::move(value); }
130 inline ModifyReplicationTaskRequest& WithCdcStartTime(Aws::Utils::DateTime&& value) { SetCdcStartTime(std::move(value)); return *this;}
132
134
151 inline const Aws::String& GetCdcStartPosition() const{ return m_cdcStartPosition; }
152 inline bool CdcStartPositionHasBeenSet() const { return m_cdcStartPositionHasBeenSet; }
153 inline void SetCdcStartPosition(const Aws::String& value) { m_cdcStartPositionHasBeenSet = true; m_cdcStartPosition = value; }
154 inline void SetCdcStartPosition(Aws::String&& value) { m_cdcStartPositionHasBeenSet = true; m_cdcStartPosition = std::move(value); }
155 inline void SetCdcStartPosition(const char* value) { m_cdcStartPositionHasBeenSet = true; m_cdcStartPosition.assign(value); }
157 inline ModifyReplicationTaskRequest& WithCdcStartPosition(Aws::String&& value) { SetCdcStartPosition(std::move(value)); return *this;}
158 inline ModifyReplicationTaskRequest& WithCdcStartPosition(const char* value) { SetCdcStartPosition(value); return *this;}
160
162
168 inline const Aws::String& GetCdcStopPosition() const{ return m_cdcStopPosition; }
169 inline bool CdcStopPositionHasBeenSet() const { return m_cdcStopPositionHasBeenSet; }
170 inline void SetCdcStopPosition(const Aws::String& value) { m_cdcStopPositionHasBeenSet = true; m_cdcStopPosition = value; }
171 inline void SetCdcStopPosition(Aws::String&& value) { m_cdcStopPositionHasBeenSet = true; m_cdcStopPosition = std::move(value); }
172 inline void SetCdcStopPosition(const char* value) { m_cdcStopPositionHasBeenSet = true; m_cdcStopPosition.assign(value); }
174 inline ModifyReplicationTaskRequest& WithCdcStopPosition(Aws::String&& value) { SetCdcStopPosition(std::move(value)); return *this;}
175 inline ModifyReplicationTaskRequest& WithCdcStopPosition(const char* value) { SetCdcStopPosition(value); return *this;}
177
179
186 inline const Aws::String& GetTaskData() const{ return m_taskData; }
187 inline bool TaskDataHasBeenSet() const { return m_taskDataHasBeenSet; }
188 inline void SetTaskData(const Aws::String& value) { m_taskDataHasBeenSet = true; m_taskData = value; }
189 inline void SetTaskData(Aws::String&& value) { m_taskDataHasBeenSet = true; m_taskData = std::move(value); }
190 inline void SetTaskData(const char* value) { m_taskDataHasBeenSet = true; m_taskData.assign(value); }
191 inline ModifyReplicationTaskRequest& WithTaskData(const Aws::String& value) { SetTaskData(value); return *this;}
192 inline ModifyReplicationTaskRequest& WithTaskData(Aws::String&& value) { SetTaskData(std::move(value)); return *this;}
193 inline ModifyReplicationTaskRequest& WithTaskData(const char* value) { SetTaskData(value); return *this;}
195 private:
196
197 Aws::String m_replicationTaskArn;
198 bool m_replicationTaskArnHasBeenSet = false;
199
200 Aws::String m_replicationTaskIdentifier;
201 bool m_replicationTaskIdentifierHasBeenSet = false;
202
203 MigrationTypeValue m_migrationType;
204 bool m_migrationTypeHasBeenSet = false;
205
206 Aws::String m_tableMappings;
207 bool m_tableMappingsHasBeenSet = false;
208
209 Aws::String m_replicationTaskSettings;
210 bool m_replicationTaskSettingsHasBeenSet = false;
211
212 Aws::Utils::DateTime m_cdcStartTime;
213 bool m_cdcStartTimeHasBeenSet = false;
214
215 Aws::String m_cdcStartPosition;
216 bool m_cdcStartPositionHasBeenSet = false;
217
218 Aws::String m_cdcStopPosition;
219 bool m_cdcStopPositionHasBeenSet = false;
220
221 Aws::String m_taskData;
222 bool m_taskDataHasBeenSet = false;
223 };
224
225} // namespace Model
226} // namespace DatabaseMigrationService
227} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ModifyReplicationTaskRequest & WithReplicationTaskIdentifier(const char *value)
ModifyReplicationTaskRequest & WithCdcStopPosition(Aws::String &&value)
ModifyReplicationTaskRequest & WithCdcStartPosition(Aws::String &&value)
ModifyReplicationTaskRequest & WithTableMappings(Aws::String &&value)
ModifyReplicationTaskRequest & WithCdcStopPosition(const Aws::String &value)
ModifyReplicationTaskRequest & WithReplicationTaskSettings(Aws::String &&value)
ModifyReplicationTaskRequest & WithMigrationType(MigrationTypeValue &&value)
ModifyReplicationTaskRequest & WithMigrationType(const MigrationTypeValue &value)
ModifyReplicationTaskRequest & WithReplicationTaskSettings(const Aws::String &value)
ModifyReplicationTaskRequest & WithReplicationTaskArn(Aws::String &&value)
ModifyReplicationTaskRequest & WithReplicationTaskIdentifier(Aws::String &&value)
ModifyReplicationTaskRequest & WithReplicationTaskIdentifier(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
ModifyReplicationTaskRequest & WithReplicationTaskSettings(const char *value)
ModifyReplicationTaskRequest & WithCdcStartTime(Aws::Utils::DateTime &&value)
ModifyReplicationTaskRequest & WithReplicationTaskArn(const Aws::String &value)
ModifyReplicationTaskRequest & WithCdcStartPosition(const Aws::String &value)
ModifyReplicationTaskRequest & WithReplicationTaskArn(const char *value)
ModifyReplicationTaskRequest & WithTableMappings(const Aws::String &value)
ModifyReplicationTaskRequest & WithCdcStartTime(const Aws::Utils::DateTime &value)
ModifyReplicationTaskRequest & WithTaskData(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String