AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EngineVersion.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dms/model/ReleaseStatusValues.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DatabaseMigrationService
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_DATABASEMIGRATIONSERVICE_API EngineVersion() = default;
39 AWS_DATABASEMIGRATIONSERVICE_API EngineVersion(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DATABASEMIGRATIONSERVICE_API EngineVersion& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetVersion() const { return m_version; }
49 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
50 template<typename VersionT = Aws::String>
51 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
52 template<typename VersionT = Aws::String>
53 EngineVersion& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
55
57
62 inline const Aws::String& GetLifecycle() const { return m_lifecycle; }
63 inline bool LifecycleHasBeenSet() const { return m_lifecycleHasBeenSet; }
64 template<typename LifecycleT = Aws::String>
65 void SetLifecycle(LifecycleT&& value) { m_lifecycleHasBeenSet = true; m_lifecycle = std::forward<LifecycleT>(value); }
66 template<typename LifecycleT = Aws::String>
67 EngineVersion& WithLifecycle(LifecycleT&& value) { SetLifecycle(std::forward<LifecycleT>(value)); return *this;}
69
71
74 inline ReleaseStatusValues GetReleaseStatus() const { return m_releaseStatus; }
75 inline bool ReleaseStatusHasBeenSet() const { return m_releaseStatusHasBeenSet; }
76 inline void SetReleaseStatus(ReleaseStatusValues value) { m_releaseStatusHasBeenSet = true; m_releaseStatus = value; }
79
81
84 inline const Aws::Utils::DateTime& GetLaunchDate() const { return m_launchDate; }
85 inline bool LaunchDateHasBeenSet() const { return m_launchDateHasBeenSet; }
86 template<typename LaunchDateT = Aws::Utils::DateTime>
87 void SetLaunchDate(LaunchDateT&& value) { m_launchDateHasBeenSet = true; m_launchDate = std::forward<LaunchDateT>(value); }
88 template<typename LaunchDateT = Aws::Utils::DateTime>
89 EngineVersion& WithLaunchDate(LaunchDateT&& value) { SetLaunchDate(std::forward<LaunchDateT>(value)); return *this;}
91
93
98 inline const Aws::Utils::DateTime& GetAutoUpgradeDate() const { return m_autoUpgradeDate; }
99 inline bool AutoUpgradeDateHasBeenSet() const { return m_autoUpgradeDateHasBeenSet; }
100 template<typename AutoUpgradeDateT = Aws::Utils::DateTime>
101 void SetAutoUpgradeDate(AutoUpgradeDateT&& value) { m_autoUpgradeDateHasBeenSet = true; m_autoUpgradeDate = std::forward<AutoUpgradeDateT>(value); }
102 template<typename AutoUpgradeDateT = Aws::Utils::DateTime>
103 EngineVersion& WithAutoUpgradeDate(AutoUpgradeDateT&& value) { SetAutoUpgradeDate(std::forward<AutoUpgradeDateT>(value)); return *this;}
105
107
111 inline const Aws::Utils::DateTime& GetDeprecationDate() const { return m_deprecationDate; }
112 inline bool DeprecationDateHasBeenSet() const { return m_deprecationDateHasBeenSet; }
113 template<typename DeprecationDateT = Aws::Utils::DateTime>
114 void SetDeprecationDate(DeprecationDateT&& value) { m_deprecationDateHasBeenSet = true; m_deprecationDate = std::forward<DeprecationDateT>(value); }
115 template<typename DeprecationDateT = Aws::Utils::DateTime>
116 EngineVersion& WithDeprecationDate(DeprecationDateT&& value) { SetDeprecationDate(std::forward<DeprecationDateT>(value)); return *this;}
118
120
124 inline const Aws::Utils::DateTime& GetForceUpgradeDate() const { return m_forceUpgradeDate; }
125 inline bool ForceUpgradeDateHasBeenSet() const { return m_forceUpgradeDateHasBeenSet; }
126 template<typename ForceUpgradeDateT = Aws::Utils::DateTime>
127 void SetForceUpgradeDate(ForceUpgradeDateT&& value) { m_forceUpgradeDateHasBeenSet = true; m_forceUpgradeDate = std::forward<ForceUpgradeDateT>(value); }
128 template<typename ForceUpgradeDateT = Aws::Utils::DateTime>
129 EngineVersion& WithForceUpgradeDate(ForceUpgradeDateT&& value) { SetForceUpgradeDate(std::forward<ForceUpgradeDateT>(value)); return *this;}
131
133
136 inline const Aws::Vector<Aws::String>& GetAvailableUpgrades() const { return m_availableUpgrades; }
137 inline bool AvailableUpgradesHasBeenSet() const { return m_availableUpgradesHasBeenSet; }
138 template<typename AvailableUpgradesT = Aws::Vector<Aws::String>>
139 void SetAvailableUpgrades(AvailableUpgradesT&& value) { m_availableUpgradesHasBeenSet = true; m_availableUpgrades = std::forward<AvailableUpgradesT>(value); }
140 template<typename AvailableUpgradesT = Aws::Vector<Aws::String>>
141 EngineVersion& WithAvailableUpgrades(AvailableUpgradesT&& value) { SetAvailableUpgrades(std::forward<AvailableUpgradesT>(value)); return *this;}
142 template<typename AvailableUpgradesT = Aws::String>
143 EngineVersion& AddAvailableUpgrades(AvailableUpgradesT&& value) { m_availableUpgradesHasBeenSet = true; m_availableUpgrades.emplace_back(std::forward<AvailableUpgradesT>(value)); return *this; }
145 private:
146
147 Aws::String m_version;
148 bool m_versionHasBeenSet = false;
149
150 Aws::String m_lifecycle;
151 bool m_lifecycleHasBeenSet = false;
152
154 bool m_releaseStatusHasBeenSet = false;
155
156 Aws::Utils::DateTime m_launchDate{};
157 bool m_launchDateHasBeenSet = false;
158
159 Aws::Utils::DateTime m_autoUpgradeDate{};
160 bool m_autoUpgradeDateHasBeenSet = false;
161
162 Aws::Utils::DateTime m_deprecationDate{};
163 bool m_deprecationDateHasBeenSet = false;
164
165 Aws::Utils::DateTime m_forceUpgradeDate{};
166 bool m_forceUpgradeDateHasBeenSet = false;
167
168 Aws::Vector<Aws::String> m_availableUpgrades;
169 bool m_availableUpgradesHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace DatabaseMigrationService
174} // namespace Aws
EngineVersion & WithDeprecationDate(DeprecationDateT &&value)
void SetReleaseStatus(ReleaseStatusValues value)
EngineVersion & AddAvailableUpgrades(AvailableUpgradesT &&value)
EngineVersion & WithVersion(VersionT &&value)
EngineVersion & WithReleaseStatus(ReleaseStatusValues value)
EngineVersion & WithForceUpgradeDate(ForceUpgradeDateT &&value)
AWS_DATABASEMIGRATIONSERVICE_API EngineVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAutoUpgradeDate(AutoUpgradeDateT &&value)
void SetDeprecationDate(DeprecationDateT &&value)
void SetAvailableUpgrades(AvailableUpgradesT &&value)
const Aws::Utils::DateTime & GetAutoUpgradeDate() const
EngineVersion & WithAvailableUpgrades(AvailableUpgradesT &&value)
const Aws::Utils::DateTime & GetLaunchDate() const
const Aws::Utils::DateTime & GetForceUpgradeDate() const
EngineVersion & WithLifecycle(LifecycleT &&value)
EngineVersion & WithAutoUpgradeDate(AutoUpgradeDateT &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATABASEMIGRATIONSERVICE_API EngineVersion()=default
const Aws::Utils::DateTime & GetDeprecationDate() const
AWS_DATABASEMIGRATIONSERVICE_API EngineVersion(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetAvailableUpgrades() const
void SetForceUpgradeDate(ForceUpgradeDateT &&value)
EngineVersion & WithLaunchDate(LaunchDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue