AWS SDK for C++  1.8.71
AWS SDK for C++
ModifyReplicationTaskRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace DatabaseMigrationService
17 {
18 namespace Model
19 {
20 
27  {
28  public:
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::String SerializePayload() const override;
38 
39  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40 
41 
45  inline const Aws::String& GetReplicationTaskArn() const{ return m_replicationTaskArn; }
46 
50  inline bool ReplicationTaskArnHasBeenSet() const { return m_replicationTaskArnHasBeenSet; }
51 
55  inline void SetReplicationTaskArn(const Aws::String& value) { m_replicationTaskArnHasBeenSet = true; m_replicationTaskArn = value; }
56 
60  inline void SetReplicationTaskArn(Aws::String&& value) { m_replicationTaskArnHasBeenSet = true; m_replicationTaskArn = std::move(value); }
61 
65  inline void SetReplicationTaskArn(const char* value) { m_replicationTaskArnHasBeenSet = true; m_replicationTaskArn.assign(value); }
66 
70  inline ModifyReplicationTaskRequest& WithReplicationTaskArn(const Aws::String& value) { SetReplicationTaskArn(value); return *this;}
71 
75  inline ModifyReplicationTaskRequest& WithReplicationTaskArn(Aws::String&& value) { SetReplicationTaskArn(std::move(value)); return *this;}
76 
80  inline ModifyReplicationTaskRequest& WithReplicationTaskArn(const char* value) { SetReplicationTaskArn(value); return *this;}
81 
82 
89  inline const Aws::String& GetReplicationTaskIdentifier() const{ return m_replicationTaskIdentifier; }
90 
97  inline bool ReplicationTaskIdentifierHasBeenSet() const { return m_replicationTaskIdentifierHasBeenSet; }
98 
105  inline void SetReplicationTaskIdentifier(const Aws::String& value) { m_replicationTaskIdentifierHasBeenSet = true; m_replicationTaskIdentifier = value; }
106 
113  inline void SetReplicationTaskIdentifier(Aws::String&& value) { m_replicationTaskIdentifierHasBeenSet = true; m_replicationTaskIdentifier = std::move(value); }
114 
121  inline void SetReplicationTaskIdentifier(const char* value) { m_replicationTaskIdentifierHasBeenSet = true; m_replicationTaskIdentifier.assign(value); }
122 
129  inline ModifyReplicationTaskRequest& WithReplicationTaskIdentifier(const Aws::String& value) { SetReplicationTaskIdentifier(value); return *this;}
130 
137  inline ModifyReplicationTaskRequest& WithReplicationTaskIdentifier(Aws::String&& value) { SetReplicationTaskIdentifier(std::move(value)); return *this;}
138 
145  inline ModifyReplicationTaskRequest& WithReplicationTaskIdentifier(const char* value) { SetReplicationTaskIdentifier(value); return *this;}
146 
147 
152  inline const MigrationTypeValue& GetMigrationType() const{ return m_migrationType; }
153 
158  inline bool MigrationTypeHasBeenSet() const { return m_migrationTypeHasBeenSet; }
159 
164  inline void SetMigrationType(const MigrationTypeValue& value) { m_migrationTypeHasBeenSet = true; m_migrationType = value; }
165 
170  inline void SetMigrationType(MigrationTypeValue&& value) { m_migrationTypeHasBeenSet = true; m_migrationType = std::move(value); }
171 
176  inline ModifyReplicationTaskRequest& WithMigrationType(const MigrationTypeValue& value) { SetMigrationType(value); return *this;}
177 
182  inline ModifyReplicationTaskRequest& WithMigrationType(MigrationTypeValue&& value) { SetMigrationType(std::move(value)); return *this;}
183 
184 
191  inline const Aws::String& GetTableMappings() const{ return m_tableMappings; }
192 
199  inline bool TableMappingsHasBeenSet() const { return m_tableMappingsHasBeenSet; }
200 
207  inline void SetTableMappings(const Aws::String& value) { m_tableMappingsHasBeenSet = true; m_tableMappings = value; }
208 
215  inline void SetTableMappings(Aws::String&& value) { m_tableMappingsHasBeenSet = true; m_tableMappings = std::move(value); }
216 
223  inline void SetTableMappings(const char* value) { m_tableMappingsHasBeenSet = true; m_tableMappings.assign(value); }
224 
231  inline ModifyReplicationTaskRequest& WithTableMappings(const Aws::String& value) { SetTableMappings(value); return *this;}
232 
239  inline ModifyReplicationTaskRequest& WithTableMappings(Aws::String&& value) { SetTableMappings(std::move(value)); return *this;}
240 
247  inline ModifyReplicationTaskRequest& WithTableMappings(const char* value) { SetTableMappings(value); return *this;}
248 
249 
254  inline const Aws::String& GetReplicationTaskSettings() const{ return m_replicationTaskSettings; }
255 
260  inline bool ReplicationTaskSettingsHasBeenSet() const { return m_replicationTaskSettingsHasBeenSet; }
261 
266  inline void SetReplicationTaskSettings(const Aws::String& value) { m_replicationTaskSettingsHasBeenSet = true; m_replicationTaskSettings = value; }
267 
272  inline void SetReplicationTaskSettings(Aws::String&& value) { m_replicationTaskSettingsHasBeenSet = true; m_replicationTaskSettings = std::move(value); }
273 
278  inline void SetReplicationTaskSettings(const char* value) { m_replicationTaskSettingsHasBeenSet = true; m_replicationTaskSettings.assign(value); }
279 
284  inline ModifyReplicationTaskRequest& WithReplicationTaskSettings(const Aws::String& value) { SetReplicationTaskSettings(value); return *this;}
285 
290  inline ModifyReplicationTaskRequest& WithReplicationTaskSettings(Aws::String&& value) { SetReplicationTaskSettings(std::move(value)); return *this;}
291 
296  inline ModifyReplicationTaskRequest& WithReplicationTaskSettings(const char* value) { SetReplicationTaskSettings(value); return *this;}
297 
298 
305  inline const Aws::Utils::DateTime& GetCdcStartTime() const{ return m_cdcStartTime; }
306 
313  inline bool CdcStartTimeHasBeenSet() const { return m_cdcStartTimeHasBeenSet; }
314 
321  inline void SetCdcStartTime(const Aws::Utils::DateTime& value) { m_cdcStartTimeHasBeenSet = true; m_cdcStartTime = value; }
322 
329  inline void SetCdcStartTime(Aws::Utils::DateTime&& value) { m_cdcStartTimeHasBeenSet = true; m_cdcStartTime = std::move(value); }
330 
337  inline ModifyReplicationTaskRequest& WithCdcStartTime(const Aws::Utils::DateTime& value) { SetCdcStartTime(value); return *this;}
338 
345  inline ModifyReplicationTaskRequest& WithCdcStartTime(Aws::Utils::DateTime&& value) { SetCdcStartTime(std::move(value)); return *this;}
346 
347 
366  inline const Aws::String& GetCdcStartPosition() const{ return m_cdcStartPosition; }
367 
386  inline bool CdcStartPositionHasBeenSet() const { return m_cdcStartPositionHasBeenSet; }
387 
406  inline void SetCdcStartPosition(const Aws::String& value) { m_cdcStartPositionHasBeenSet = true; m_cdcStartPosition = value; }
407 
426  inline void SetCdcStartPosition(Aws::String&& value) { m_cdcStartPositionHasBeenSet = true; m_cdcStartPosition = std::move(value); }
427 
446  inline void SetCdcStartPosition(const char* value) { m_cdcStartPositionHasBeenSet = true; m_cdcStartPosition.assign(value); }
447 
466  inline ModifyReplicationTaskRequest& WithCdcStartPosition(const Aws::String& value) { SetCdcStartPosition(value); return *this;}
467 
486  inline ModifyReplicationTaskRequest& WithCdcStartPosition(Aws::String&& value) { SetCdcStartPosition(std::move(value)); return *this;}
487 
506  inline ModifyReplicationTaskRequest& WithCdcStartPosition(const char* value) { SetCdcStartPosition(value); return *this;}
507 
508 
515  inline const Aws::String& GetCdcStopPosition() const{ return m_cdcStopPosition; }
516 
523  inline bool CdcStopPositionHasBeenSet() const { return m_cdcStopPositionHasBeenSet; }
524 
531  inline void SetCdcStopPosition(const Aws::String& value) { m_cdcStopPositionHasBeenSet = true; m_cdcStopPosition = value; }
532 
539  inline void SetCdcStopPosition(Aws::String&& value) { m_cdcStopPositionHasBeenSet = true; m_cdcStopPosition = std::move(value); }
540 
547  inline void SetCdcStopPosition(const char* value) { m_cdcStopPositionHasBeenSet = true; m_cdcStopPosition.assign(value); }
548 
555  inline ModifyReplicationTaskRequest& WithCdcStopPosition(const Aws::String& value) { SetCdcStopPosition(value); return *this;}
556 
563  inline ModifyReplicationTaskRequest& WithCdcStopPosition(Aws::String&& value) { SetCdcStopPosition(std::move(value)); return *this;}
564 
571  inline ModifyReplicationTaskRequest& WithCdcStopPosition(const char* value) { SetCdcStopPosition(value); return *this;}
572 
573 
581  inline const Aws::String& GetTaskData() const{ return m_taskData; }
582 
590  inline bool TaskDataHasBeenSet() const { return m_taskDataHasBeenSet; }
591 
599  inline void SetTaskData(const Aws::String& value) { m_taskDataHasBeenSet = true; m_taskData = value; }
600 
608  inline void SetTaskData(Aws::String&& value) { m_taskDataHasBeenSet = true; m_taskData = std::move(value); }
609 
617  inline void SetTaskData(const char* value) { m_taskDataHasBeenSet = true; m_taskData.assign(value); }
618 
626  inline ModifyReplicationTaskRequest& WithTaskData(const Aws::String& value) { SetTaskData(value); return *this;}
627 
635  inline ModifyReplicationTaskRequest& WithTaskData(Aws::String&& value) { SetTaskData(std::move(value)); return *this;}
636 
644  inline ModifyReplicationTaskRequest& WithTaskData(const char* value) { SetTaskData(value); return *this;}
645 
646  private:
647 
648  Aws::String m_replicationTaskArn;
649  bool m_replicationTaskArnHasBeenSet;
650 
651  Aws::String m_replicationTaskIdentifier;
652  bool m_replicationTaskIdentifierHasBeenSet;
653 
654  MigrationTypeValue m_migrationType;
655  bool m_migrationTypeHasBeenSet;
656 
657  Aws::String m_tableMappings;
658  bool m_tableMappingsHasBeenSet;
659 
660  Aws::String m_replicationTaskSettings;
661  bool m_replicationTaskSettingsHasBeenSet;
662 
663  Aws::Utils::DateTime m_cdcStartTime;
664  bool m_cdcStartTimeHasBeenSet;
665 
666  Aws::String m_cdcStartPosition;
667  bool m_cdcStartPositionHasBeenSet;
668 
669  Aws::String m_cdcStopPosition;
670  bool m_cdcStopPositionHasBeenSet;
671 
672  Aws::String m_taskData;
673  bool m_taskDataHasBeenSet;
674  };
675 
676 } // namespace Model
677 } // namespace DatabaseMigrationService
678 } // namespace Aws
ModifyReplicationTaskRequest & WithReplicationTaskArn(const Aws::String &value)
ModifyReplicationTaskRequest & WithCdcStartPosition(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
ModifyReplicationTaskRequest & WithReplicationTaskArn(const char *value)
ModifyReplicationTaskRequest & WithReplicationTaskIdentifier(const char *value)
ModifyReplicationTaskRequest & WithTaskData(Aws::String &&value)
#define AWS_DATABASEMIGRATIONSERVICE_API
ModifyReplicationTaskRequest & WithReplicationTaskSettings(Aws::String &&value)
ModifyReplicationTaskRequest & WithReplicationTaskSettings(const Aws::String &value)
ModifyReplicationTaskRequest & WithCdcStartPosition(const Aws::String &value)
ModifyReplicationTaskRequest & WithCdcStartTime(Aws::Utils::DateTime &&value)
ModifyReplicationTaskRequest & WithCdcStopPosition(Aws::String &&value)
ModifyReplicationTaskRequest & WithReplicationTaskSettings(const char *value)
ModifyReplicationTaskRequest & WithReplicationTaskArn(Aws::String &&value)
ModifyReplicationTaskRequest & WithCdcStartPosition(Aws::String &&value)
ModifyReplicationTaskRequest & WithTaskData(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ModifyReplicationTaskRequest & WithTableMappings(Aws::String &&value)
ModifyReplicationTaskRequest & WithMigrationType(MigrationTypeValue &&value)
ModifyReplicationTaskRequest & WithCdcStopPosition(const Aws::String &value)
ModifyReplicationTaskRequest & WithReplicationTaskIdentifier(Aws::String &&value)
ModifyReplicationTaskRequest & WithCdcStartTime(const Aws::Utils::DateTime &value)
ModifyReplicationTaskRequest & WithMigrationType(const MigrationTypeValue &value)
ModifyReplicationTaskRequest & WithCdcStopPosition(const char *value)
ModifyReplicationTaskRequest & WithTableMappings(const Aws::String &value)
ModifyReplicationTaskRequest & WithReplicationTaskIdentifier(const Aws::String &value)