AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
SourceDataSetting.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DatabaseMigrationService {
21namespace Model {
22
30 public:
31 AWS_DATABASEMIGRATIONSERVICE_API SourceDataSetting() = default;
32 AWS_DATABASEMIGRATIONSERVICE_API SourceDataSetting(Aws::Utils::Json::JsonView jsonValue);
33 AWS_DATABASEMIGRATIONSERVICE_API SourceDataSetting& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetCDCStartPosition() const { return m_cDCStartPosition; }
42 inline bool CDCStartPositionHasBeenSet() const { return m_cDCStartPositionHasBeenSet; }
43 template <typename CDCStartPositionT = Aws::String>
44 void SetCDCStartPosition(CDCStartPositionT&& value) {
45 m_cDCStartPositionHasBeenSet = true;
46 m_cDCStartPosition = std::forward<CDCStartPositionT>(value);
47 }
48 template <typename CDCStartPositionT = Aws::String>
49 SourceDataSetting& WithCDCStartPosition(CDCStartPositionT&& value) {
50 SetCDCStartPosition(std::forward<CDCStartPositionT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::Utils::DateTime& GetCDCStartTime() const { return m_cDCStartTime; }
60 inline bool CDCStartTimeHasBeenSet() const { return m_cDCStartTimeHasBeenSet; }
61 template <typename CDCStartTimeT = Aws::Utils::DateTime>
62 void SetCDCStartTime(CDCStartTimeT&& value) {
63 m_cDCStartTimeHasBeenSet = true;
64 m_cDCStartTime = std::forward<CDCStartTimeT>(value);
65 }
66 template <typename CDCStartTimeT = Aws::Utils::DateTime>
67 SourceDataSetting& WithCDCStartTime(CDCStartTimeT&& value) {
68 SetCDCStartTime(std::forward<CDCStartTimeT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::Utils::DateTime& GetCDCStopTime() const { return m_cDCStopTime; }
78 inline bool CDCStopTimeHasBeenSet() const { return m_cDCStopTimeHasBeenSet; }
79 template <typename CDCStopTimeT = Aws::Utils::DateTime>
80 void SetCDCStopTime(CDCStopTimeT&& value) {
81 m_cDCStopTimeHasBeenSet = true;
82 m_cDCStopTime = std::forward<CDCStopTimeT>(value);
83 }
84 template <typename CDCStopTimeT = Aws::Utils::DateTime>
85 SourceDataSetting& WithCDCStopTime(CDCStopTimeT&& value) {
86 SetCDCStopTime(std::forward<CDCStopTimeT>(value));
87 return *this;
88 }
90
92
96 inline const Aws::String& GetSlotName() const { return m_slotName; }
97 inline bool SlotNameHasBeenSet() const { return m_slotNameHasBeenSet; }
98 template <typename SlotNameT = Aws::String>
99 void SetSlotName(SlotNameT&& value) {
100 m_slotNameHasBeenSet = true;
101 m_slotName = std::forward<SlotNameT>(value);
102 }
103 template <typename SlotNameT = Aws::String>
104 SourceDataSetting& WithSlotName(SlotNameT&& value) {
105 SetSlotName(std::forward<SlotNameT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_cDCStartPosition;
111
112 Aws::Utils::DateTime m_cDCStartTime{};
113
114 Aws::Utils::DateTime m_cDCStopTime{};
115
116 Aws::String m_slotName;
117 bool m_cDCStartPositionHasBeenSet = false;
118 bool m_cDCStartTimeHasBeenSet = false;
119 bool m_cDCStopTimeHasBeenSet = false;
120 bool m_slotNameHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace DatabaseMigrationService
125} // namespace Aws
SourceDataSetting & WithCDCStartTime(CDCStartTimeT &&value)
SourceDataSetting & WithCDCStartPosition(CDCStartPositionT &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
SourceDataSetting & WithSlotName(SlotNameT &&value)
AWS_DATABASEMIGRATIONSERVICE_API SourceDataSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCDCStartTime() const
AWS_DATABASEMIGRATIONSERVICE_API SourceDataSetting()=default
const Aws::Utils::DateTime & GetCDCStopTime() const
AWS_DATABASEMIGRATIONSERVICE_API SourceDataSetting(Aws::Utils::Json::JsonView jsonValue)
SourceDataSetting & WithCDCStopTime(CDCStopTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue