AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SourceDataSetting.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DatabaseMigrationService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DATABASEMIGRATIONSERVICE_API SourceDataSetting() = default;
37 AWS_DATABASEMIGRATIONSERVICE_API SourceDataSetting(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DATABASEMIGRATIONSERVICE_API SourceDataSetting& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetCDCStartPosition() const { return m_cDCStartPosition; }
48 inline bool CDCStartPositionHasBeenSet() const { return m_cDCStartPositionHasBeenSet; }
49 template<typename CDCStartPositionT = Aws::String>
50 void SetCDCStartPosition(CDCStartPositionT&& value) { m_cDCStartPositionHasBeenSet = true; m_cDCStartPosition = std::forward<CDCStartPositionT>(value); }
51 template<typename CDCStartPositionT = Aws::String>
52 SourceDataSetting& WithCDCStartPosition(CDCStartPositionT&& value) { SetCDCStartPosition(std::forward<CDCStartPositionT>(value)); return *this;}
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) { m_cDCStartTimeHasBeenSet = true; m_cDCStartTime = std::forward<CDCStartTimeT>(value); }
63 template<typename CDCStartTimeT = Aws::Utils::DateTime>
64 SourceDataSetting& WithCDCStartTime(CDCStartTimeT&& value) { SetCDCStartTime(std::forward<CDCStartTimeT>(value)); return *this;}
66
68
71 inline const Aws::Utils::DateTime& GetCDCStopTime() const { return m_cDCStopTime; }
72 inline bool CDCStopTimeHasBeenSet() const { return m_cDCStopTimeHasBeenSet; }
73 template<typename CDCStopTimeT = Aws::Utils::DateTime>
74 void SetCDCStopTime(CDCStopTimeT&& value) { m_cDCStopTimeHasBeenSet = true; m_cDCStopTime = std::forward<CDCStopTimeT>(value); }
75 template<typename CDCStopTimeT = Aws::Utils::DateTime>
76 SourceDataSetting& WithCDCStopTime(CDCStopTimeT&& value) { SetCDCStopTime(std::forward<CDCStopTimeT>(value)); return *this;}
78
80
84 inline const Aws::String& GetSlotName() const { return m_slotName; }
85 inline bool SlotNameHasBeenSet() const { return m_slotNameHasBeenSet; }
86 template<typename SlotNameT = Aws::String>
87 void SetSlotName(SlotNameT&& value) { m_slotNameHasBeenSet = true; m_slotName = std::forward<SlotNameT>(value); }
88 template<typename SlotNameT = Aws::String>
89 SourceDataSetting& WithSlotName(SlotNameT&& value) { SetSlotName(std::forward<SlotNameT>(value)); return *this;}
91 private:
92
93 Aws::String m_cDCStartPosition;
94 bool m_cDCStartPositionHasBeenSet = false;
95
96 Aws::Utils::DateTime m_cDCStartTime{};
97 bool m_cDCStartTimeHasBeenSet = false;
98
99 Aws::Utils::DateTime m_cDCStopTime{};
100 bool m_cDCStopTimeHasBeenSet = false;
101
102 Aws::String m_slotName;
103 bool m_slotNameHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace DatabaseMigrationService
108} // 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