AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartReplicationRequest.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/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DatabaseMigrationService
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_DATABASEMIGRATIONSERVICE_API StartReplicationRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "StartReplication"; }
35
36 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
37
38 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
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); }
52 inline StartReplicationRequest& WithReplicationConfigArn(Aws::String&& value) { SetReplicationConfigArn(std::move(value)); return *this;}
53 inline StartReplicationRequest& WithReplicationConfigArn(const char* value) { SetReplicationConfigArn(value); return *this;}
55
57
60 inline const Aws::String& GetStartReplicationType() const{ return m_startReplicationType; }
61 inline bool StartReplicationTypeHasBeenSet() const { return m_startReplicationTypeHasBeenSet; }
62 inline void SetStartReplicationType(const Aws::String& value) { m_startReplicationTypeHasBeenSet = true; m_startReplicationType = value; }
63 inline void SetStartReplicationType(Aws::String&& value) { m_startReplicationTypeHasBeenSet = true; m_startReplicationType = std::move(value); }
64 inline void SetStartReplicationType(const char* value) { m_startReplicationTypeHasBeenSet = true; m_startReplicationType.assign(value); }
66 inline StartReplicationRequest& WithStartReplicationType(Aws::String&& value) { SetStartReplicationType(std::move(value)); return *this;}
67 inline StartReplicationRequest& WithStartReplicationType(const char* value) { SetStartReplicationType(value); return *this;}
69
71
77 inline const Aws::Utils::DateTime& GetCdcStartTime() const{ return m_cdcStartTime; }
78 inline bool CdcStartTimeHasBeenSet() const { return m_cdcStartTimeHasBeenSet; }
79 inline void SetCdcStartTime(const Aws::Utils::DateTime& value) { m_cdcStartTimeHasBeenSet = true; m_cdcStartTime = value; }
80 inline void SetCdcStartTime(Aws::Utils::DateTime&& value) { m_cdcStartTimeHasBeenSet = true; m_cdcStartTime = std::move(value); }
82 inline StartReplicationRequest& WithCdcStartTime(Aws::Utils::DateTime&& value) { SetCdcStartTime(std::move(value)); return *this;}
84
86
92 inline const Aws::String& GetCdcStartPosition() const{ return m_cdcStartPosition; }
93 inline bool CdcStartPositionHasBeenSet() const { return m_cdcStartPositionHasBeenSet; }
94 inline void SetCdcStartPosition(const Aws::String& value) { m_cdcStartPositionHasBeenSet = true; m_cdcStartPosition = value; }
95 inline void SetCdcStartPosition(Aws::String&& value) { m_cdcStartPositionHasBeenSet = true; m_cdcStartPosition = std::move(value); }
96 inline void SetCdcStartPosition(const char* value) { m_cdcStartPositionHasBeenSet = true; m_cdcStartPosition.assign(value); }
97 inline StartReplicationRequest& WithCdcStartPosition(const Aws::String& value) { SetCdcStartPosition(value); return *this;}
98 inline StartReplicationRequest& WithCdcStartPosition(Aws::String&& value) { SetCdcStartPosition(std::move(value)); return *this;}
99 inline StartReplicationRequest& WithCdcStartPosition(const char* value) { SetCdcStartPosition(value); return *this;}
101
103
107 inline const Aws::String& GetCdcStopPosition() const{ return m_cdcStopPosition; }
108 inline bool CdcStopPositionHasBeenSet() const { return m_cdcStopPositionHasBeenSet; }
109 inline void SetCdcStopPosition(const Aws::String& value) { m_cdcStopPositionHasBeenSet = true; m_cdcStopPosition = value; }
110 inline void SetCdcStopPosition(Aws::String&& value) { m_cdcStopPositionHasBeenSet = true; m_cdcStopPosition = std::move(value); }
111 inline void SetCdcStopPosition(const char* value) { m_cdcStopPositionHasBeenSet = true; m_cdcStopPosition.assign(value); }
112 inline StartReplicationRequest& WithCdcStopPosition(const Aws::String& value) { SetCdcStopPosition(value); return *this;}
113 inline StartReplicationRequest& WithCdcStopPosition(Aws::String&& value) { SetCdcStopPosition(std::move(value)); return *this;}
114 inline StartReplicationRequest& WithCdcStopPosition(const char* value) { SetCdcStopPosition(value); return *this;}
116 private:
117
118 Aws::String m_replicationConfigArn;
119 bool m_replicationConfigArnHasBeenSet = false;
120
121 Aws::String m_startReplicationType;
122 bool m_startReplicationTypeHasBeenSet = false;
123
124 Aws::Utils::DateTime m_cdcStartTime;
125 bool m_cdcStartTimeHasBeenSet = false;
126
127 Aws::String m_cdcStartPosition;
128 bool m_cdcStartPositionHasBeenSet = false;
129
130 Aws::String m_cdcStopPosition;
131 bool m_cdcStopPositionHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace DatabaseMigrationService
136} // namespace Aws
StartReplicationRequest & WithReplicationConfigArn(Aws::String &&value)
StartReplicationRequest & WithCdcStartPosition(const char *value)
StartReplicationRequest & WithStartReplicationType(const Aws::String &value)
StartReplicationRequest & WithReplicationConfigArn(const Aws::String &value)
StartReplicationRequest & WithCdcStartTime(const Aws::Utils::DateTime &value)
StartReplicationRequest & WithCdcStopPosition(Aws::String &&value)
StartReplicationRequest & WithCdcStartTime(Aws::Utils::DateTime &&value)
StartReplicationRequest & WithCdcStopPosition(const Aws::String &value)
StartReplicationRequest & WithStartReplicationType(const char *value)
StartReplicationRequest & WithReplicationConfigArn(const char *value)
StartReplicationRequest & WithCdcStartPosition(Aws::String &&value)
StartReplicationRequest & WithCdcStartPosition(const Aws::String &value)
StartReplicationRequest & WithStartReplicationType(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
StartReplicationRequest & WithCdcStopPosition(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DATABASEMIGRATIONSERVICE_API StartReplicationRequest()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String