AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCDCStartPosition(const Aws::String& value) { m_cDCStartPositionHasBeenSet = true; m_cDCStartPosition = value; }
50 inline void SetCDCStartPosition(Aws::String&& value) { m_cDCStartPositionHasBeenSet = true; m_cDCStartPosition = std::move(value); }
51 inline void SetCDCStartPosition(const char* value) { m_cDCStartPositionHasBeenSet = true; m_cDCStartPosition.assign(value); }
52 inline SourceDataSetting& WithCDCStartPosition(const Aws::String& value) { SetCDCStartPosition(value); return *this;}
53 inline SourceDataSetting& WithCDCStartPosition(Aws::String&& value) { SetCDCStartPosition(std::move(value)); return *this;}
54 inline SourceDataSetting& WithCDCStartPosition(const char* value) { SetCDCStartPosition(value); return *this;}
56
58
61 inline const Aws::Utils::DateTime& GetCDCStartTime() const{ return m_cDCStartTime; }
62 inline bool CDCStartTimeHasBeenSet() const { return m_cDCStartTimeHasBeenSet; }
63 inline void SetCDCStartTime(const Aws::Utils::DateTime& value) { m_cDCStartTimeHasBeenSet = true; m_cDCStartTime = value; }
64 inline void SetCDCStartTime(Aws::Utils::DateTime&& value) { m_cDCStartTimeHasBeenSet = true; m_cDCStartTime = std::move(value); }
65 inline SourceDataSetting& WithCDCStartTime(const Aws::Utils::DateTime& value) { SetCDCStartTime(value); return *this;}
66 inline SourceDataSetting& WithCDCStartTime(Aws::Utils::DateTime&& value) { SetCDCStartTime(std::move(value)); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetCDCStopTime() const{ return m_cDCStopTime; }
74 inline bool CDCStopTimeHasBeenSet() const { return m_cDCStopTimeHasBeenSet; }
75 inline void SetCDCStopTime(const Aws::Utils::DateTime& value) { m_cDCStopTimeHasBeenSet = true; m_cDCStopTime = value; }
76 inline void SetCDCStopTime(Aws::Utils::DateTime&& value) { m_cDCStopTimeHasBeenSet = true; m_cDCStopTime = std::move(value); }
77 inline SourceDataSetting& WithCDCStopTime(const Aws::Utils::DateTime& value) { SetCDCStopTime(value); return *this;}
78 inline SourceDataSetting& WithCDCStopTime(Aws::Utils::DateTime&& value) { SetCDCStopTime(std::move(value)); return *this;}
80
82
86 inline const Aws::String& GetSlotName() const{ return m_slotName; }
87 inline bool SlotNameHasBeenSet() const { return m_slotNameHasBeenSet; }
88 inline void SetSlotName(const Aws::String& value) { m_slotNameHasBeenSet = true; m_slotName = value; }
89 inline void SetSlotName(Aws::String&& value) { m_slotNameHasBeenSet = true; m_slotName = std::move(value); }
90 inline void SetSlotName(const char* value) { m_slotNameHasBeenSet = true; m_slotName.assign(value); }
91 inline SourceDataSetting& WithSlotName(const Aws::String& value) { SetSlotName(value); return *this;}
92 inline SourceDataSetting& WithSlotName(Aws::String&& value) { SetSlotName(std::move(value)); return *this;}
93 inline SourceDataSetting& WithSlotName(const char* value) { SetSlotName(value); return *this;}
95 private:
96
97 Aws::String m_cDCStartPosition;
98 bool m_cDCStartPositionHasBeenSet = false;
99
100 Aws::Utils::DateTime m_cDCStartTime;
101 bool m_cDCStartTimeHasBeenSet = false;
102
103 Aws::Utils::DateTime m_cDCStopTime;
104 bool m_cDCStopTimeHasBeenSet = false;
105
106 Aws::String m_slotName;
107 bool m_slotNameHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace DatabaseMigrationService
112} // namespace Aws
SourceDataSetting & WithCDCStartPosition(Aws::String &&value)
void SetCDCStartTime(const Aws::Utils::DateTime &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCDCStopTime(const Aws::Utils::DateTime &value)
SourceDataSetting & WithCDCStartTime(const Aws::Utils::DateTime &value)
SourceDataSetting & WithCDCStopTime(const Aws::Utils::DateTime &value)
SourceDataSetting & WithCDCStartPosition(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API SourceDataSetting()
AWS_DATABASEMIGRATIONSERVICE_API SourceDataSetting & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCDCStartTime() const
const Aws::Utils::DateTime & GetCDCStopTime() const
SourceDataSetting & WithSlotName(const char *value)
SourceDataSetting & WithCDCStartPosition(const char *value)
SourceDataSetting & WithCDCStartTime(Aws::Utils::DateTime &&value)
SourceDataSetting & WithCDCStopTime(Aws::Utils::DateTime &&value)
SourceDataSetting & WithSlotName(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API SourceDataSetting(Aws::Utils::Json::JsonView jsonValue)
SourceDataSetting & WithSlotName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue