AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartReplicationTaskRequest.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/StartReplicationTaskTypeValue.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 StartReplicationTaskRequest();
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 "StartReplicationTask"; }
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 StartReplicationTaskRequest& WithReplicationTaskArn(Aws::String&& value) { SetReplicationTaskArn(std::move(value)); return *this;}
53 inline StartReplicationTaskRequest& WithReplicationTaskArn(const char* value) { SetReplicationTaskArn(value); return *this;}
55
57
71 inline const StartReplicationTaskTypeValue& GetStartReplicationTaskType() const{ return m_startReplicationTaskType; }
72 inline bool StartReplicationTaskTypeHasBeenSet() const { return m_startReplicationTaskTypeHasBeenSet; }
73 inline void SetStartReplicationTaskType(const StartReplicationTaskTypeValue& value) { m_startReplicationTaskTypeHasBeenSet = true; m_startReplicationTaskType = value; }
74 inline void SetStartReplicationTaskType(StartReplicationTaskTypeValue&& value) { m_startReplicationTaskTypeHasBeenSet = true; m_startReplicationTaskType = std::move(value); }
78
80
86 inline const Aws::Utils::DateTime& GetCdcStartTime() const{ return m_cdcStartTime; }
87 inline bool CdcStartTimeHasBeenSet() const { return m_cdcStartTimeHasBeenSet; }
88 inline void SetCdcStartTime(const Aws::Utils::DateTime& value) { m_cdcStartTimeHasBeenSet = true; m_cdcStartTime = value; }
89 inline void SetCdcStartTime(Aws::Utils::DateTime&& value) { m_cdcStartTimeHasBeenSet = true; m_cdcStartTime = std::move(value); }
91 inline StartReplicationTaskRequest& WithCdcStartTime(Aws::Utils::DateTime&& value) { SetCdcStartTime(std::move(value)); return *this;}
93
95
112 inline const Aws::String& GetCdcStartPosition() const{ return m_cdcStartPosition; }
113 inline bool CdcStartPositionHasBeenSet() const { return m_cdcStartPositionHasBeenSet; }
114 inline void SetCdcStartPosition(const Aws::String& value) { m_cdcStartPositionHasBeenSet = true; m_cdcStartPosition = value; }
115 inline void SetCdcStartPosition(Aws::String&& value) { m_cdcStartPositionHasBeenSet = true; m_cdcStartPosition = std::move(value); }
116 inline void SetCdcStartPosition(const char* value) { m_cdcStartPositionHasBeenSet = true; m_cdcStartPosition.assign(value); }
118 inline StartReplicationTaskRequest& WithCdcStartPosition(Aws::String&& value) { SetCdcStartPosition(std::move(value)); return *this;}
119 inline StartReplicationTaskRequest& WithCdcStartPosition(const char* value) { SetCdcStartPosition(value); return *this;}
121
123
129 inline const Aws::String& GetCdcStopPosition() const{ return m_cdcStopPosition; }
130 inline bool CdcStopPositionHasBeenSet() const { return m_cdcStopPositionHasBeenSet; }
131 inline void SetCdcStopPosition(const Aws::String& value) { m_cdcStopPositionHasBeenSet = true; m_cdcStopPosition = value; }
132 inline void SetCdcStopPosition(Aws::String&& value) { m_cdcStopPositionHasBeenSet = true; m_cdcStopPosition = std::move(value); }
133 inline void SetCdcStopPosition(const char* value) { m_cdcStopPositionHasBeenSet = true; m_cdcStopPosition.assign(value); }
135 inline StartReplicationTaskRequest& WithCdcStopPosition(Aws::String&& value) { SetCdcStopPosition(std::move(value)); return *this;}
136 inline StartReplicationTaskRequest& WithCdcStopPosition(const char* value) { SetCdcStopPosition(value); return *this;}
138 private:
139
140 Aws::String m_replicationTaskArn;
141 bool m_replicationTaskArnHasBeenSet = false;
142
143 StartReplicationTaskTypeValue m_startReplicationTaskType;
144 bool m_startReplicationTaskTypeHasBeenSet = false;
145
146 Aws::Utils::DateTime m_cdcStartTime;
147 bool m_cdcStartTimeHasBeenSet = false;
148
149 Aws::String m_cdcStartPosition;
150 bool m_cdcStartPositionHasBeenSet = false;
151
152 Aws::String m_cdcStopPosition;
153 bool m_cdcStopPositionHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace DatabaseMigrationService
158} // namespace Aws
StartReplicationTaskRequest & WithCdcStartTime(Aws::Utils::DateTime &&value)
StartReplicationTaskRequest & WithReplicationTaskArn(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
StartReplicationTaskRequest & WithCdcStartPosition(Aws::String &&value)
void SetStartReplicationTaskType(const StartReplicationTaskTypeValue &value)
StartReplicationTaskRequest & WithCdcStartPosition(const char *value)
StartReplicationTaskRequest & WithStartReplicationTaskType(StartReplicationTaskTypeValue &&value)
StartReplicationTaskRequest & WithCdcStartTime(const Aws::Utils::DateTime &value)
StartReplicationTaskRequest & WithCdcStopPosition(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartReplicationTaskRequest & WithStartReplicationTaskType(const StartReplicationTaskTypeValue &value)
StartReplicationTaskRequest & WithCdcStopPosition(Aws::String &&value)
const StartReplicationTaskTypeValue & GetStartReplicationTaskType() const
StartReplicationTaskRequest & WithReplicationTaskArn(const char *value)
StartReplicationTaskRequest & WithReplicationTaskArn(Aws::String &&value)
StartReplicationTaskRequest & WithCdcStartPosition(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String