AWS SDK for C++

AWS SDK for C++ Version 1.11.831

Loading...
Searching...
No Matches
CloneToRefreshableConfiguration.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/odb/Odb_EXPORTS.h>
10#include <aws/odb/model/CloneType.h>
11#include <aws/odb/model/OpenMode.h>
12#include <aws/odb/model/RefreshableMode.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace odb {
24namespace Model {
25
33 public:
34 AWS_ODB_API CloneToRefreshableConfiguration() = default;
38
40
44 inline const Aws::String& GetSourceAutonomousDatabaseId() const { return m_sourceAutonomousDatabaseId; }
45 inline bool SourceAutonomousDatabaseIdHasBeenSet() const { return m_sourceAutonomousDatabaseIdHasBeenSet; }
46 template <typename SourceAutonomousDatabaseIdT = Aws::String>
47 void SetSourceAutonomousDatabaseId(SourceAutonomousDatabaseIdT&& value) {
48 m_sourceAutonomousDatabaseIdHasBeenSet = true;
49 m_sourceAutonomousDatabaseId = std::forward<SourceAutonomousDatabaseIdT>(value);
50 }
51 template <typename SourceAutonomousDatabaseIdT = Aws::String>
53 SetSourceAutonomousDatabaseId(std::forward<SourceAutonomousDatabaseIdT>(value));
54 return *this;
55 }
57
59
62 inline RefreshableMode GetRefreshableMode() const { return m_refreshableMode; }
63 inline bool RefreshableModeHasBeenSet() const { return m_refreshableModeHasBeenSet; }
65 m_refreshableModeHasBeenSet = true;
66 m_refreshableMode = value;
67 }
69 SetRefreshableMode(value);
70 return *this;
71 }
73
75
79 inline int GetAutoRefreshFrequencyInSeconds() const { return m_autoRefreshFrequencyInSeconds; }
80 inline bool AutoRefreshFrequencyInSecondsHasBeenSet() const { return m_autoRefreshFrequencyInSecondsHasBeenSet; }
81 inline void SetAutoRefreshFrequencyInSeconds(int value) {
82 m_autoRefreshFrequencyInSecondsHasBeenSet = true;
83 m_autoRefreshFrequencyInSeconds = value;
84 }
87 return *this;
88 }
90
92
96 inline int GetAutoRefreshPointLagInSeconds() const { return m_autoRefreshPointLagInSeconds; }
97 inline bool AutoRefreshPointLagInSecondsHasBeenSet() const { return m_autoRefreshPointLagInSecondsHasBeenSet; }
98 inline void SetAutoRefreshPointLagInSeconds(int value) {
99 m_autoRefreshPointLagInSecondsHasBeenSet = true;
100 m_autoRefreshPointLagInSeconds = value;
101 }
104 return *this;
105 }
107
109
113 inline const Aws::Utils::DateTime& GetTimeOfAutoRefreshStart() const { return m_timeOfAutoRefreshStart; }
114 inline bool TimeOfAutoRefreshStartHasBeenSet() const { return m_timeOfAutoRefreshStartHasBeenSet; }
115 template <typename TimeOfAutoRefreshStartT = Aws::Utils::DateTime>
116 void SetTimeOfAutoRefreshStart(TimeOfAutoRefreshStartT&& value) {
117 m_timeOfAutoRefreshStartHasBeenSet = true;
118 m_timeOfAutoRefreshStart = std::forward<TimeOfAutoRefreshStartT>(value);
119 }
120 template <typename TimeOfAutoRefreshStartT = Aws::Utils::DateTime>
122 SetTimeOfAutoRefreshStart(std::forward<TimeOfAutoRefreshStartT>(value));
123 return *this;
124 }
126
128
132 inline OpenMode GetOpenMode() const { return m_openMode; }
133 inline bool OpenModeHasBeenSet() const { return m_openModeHasBeenSet; }
134 inline void SetOpenMode(OpenMode value) {
135 m_openModeHasBeenSet = true;
136 m_openMode = value;
137 }
139 SetOpenMode(value);
140 return *this;
141 }
143
145
148 inline CloneType GetCloneType() const { return m_cloneType; }
149 inline bool CloneTypeHasBeenSet() const { return m_cloneTypeHasBeenSet; }
150 inline void SetCloneType(CloneType value) {
151 m_cloneTypeHasBeenSet = true;
152 m_cloneType = value;
153 }
155 SetCloneType(value);
156 return *this;
157 }
159 private:
160 Aws::String m_sourceAutonomousDatabaseId;
161
162 RefreshableMode m_refreshableMode{RefreshableMode::NOT_SET};
163
164 int m_autoRefreshFrequencyInSeconds{0};
165
166 int m_autoRefreshPointLagInSeconds{0};
167
168 Aws::Utils::DateTime m_timeOfAutoRefreshStart{};
169
170 OpenMode m_openMode{OpenMode::NOT_SET};
171
172 CloneType m_cloneType{CloneType::NOT_SET};
173 bool m_sourceAutonomousDatabaseIdHasBeenSet = false;
174 bool m_refreshableModeHasBeenSet = false;
175 bool m_autoRefreshFrequencyInSecondsHasBeenSet = false;
176 bool m_autoRefreshPointLagInSecondsHasBeenSet = false;
177 bool m_timeOfAutoRefreshStartHasBeenSet = false;
178 bool m_openModeHasBeenSet = false;
179 bool m_cloneTypeHasBeenSet = false;
180};
181
182} // namespace Model
183} // namespace odb
184} // namespace Aws
void SetSourceAutonomousDatabaseId(SourceAutonomousDatabaseIdT &&value)
CloneToRefreshableConfiguration & WithAutoRefreshFrequencyInSeconds(int value)
AWS_ODB_API CloneToRefreshableConfiguration(Aws::Utils::Json::JsonView jsonValue)
CloneToRefreshableConfiguration & WithSourceAutonomousDatabaseId(SourceAutonomousDatabaseIdT &&value)
AWS_ODB_API Aws::Utils::Json::JsonValue Jsonize() const
CloneToRefreshableConfiguration & WithTimeOfAutoRefreshStart(TimeOfAutoRefreshStartT &&value)
CloneToRefreshableConfiguration & WithRefreshableMode(RefreshableMode value)
CloneToRefreshableConfiguration & WithAutoRefreshPointLagInSeconds(int value)
CloneToRefreshableConfiguration & WithOpenMode(OpenMode value)
AWS_ODB_API CloneToRefreshableConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
CloneToRefreshableConfiguration & WithCloneType(CloneType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue