AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
51 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
52 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
53 inline EngineVersion& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
54 inline EngineVersion& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
55 inline EngineVersion& WithVersion(const char* value) { SetVersion(value); return *this;}
57
59
64 inline const Aws::String& GetLifecycle() const{ return m_lifecycle; }
65 inline bool LifecycleHasBeenSet() const { return m_lifecycleHasBeenSet; }
66 inline void SetLifecycle(const Aws::String& value) { m_lifecycleHasBeenSet = true; m_lifecycle = value; }
67 inline void SetLifecycle(Aws::String&& value) { m_lifecycleHasBeenSet = true; m_lifecycle = std::move(value); }
68 inline void SetLifecycle(const char* value) { m_lifecycleHasBeenSet = true; m_lifecycle.assign(value); }
69 inline EngineVersion& WithLifecycle(const Aws::String& value) { SetLifecycle(value); return *this;}
70 inline EngineVersion& WithLifecycle(Aws::String&& value) { SetLifecycle(std::move(value)); return *this;}
71 inline EngineVersion& WithLifecycle(const char* value) { SetLifecycle(value); return *this;}
73
75
78 inline const ReleaseStatusValues& GetReleaseStatus() const{ return m_releaseStatus; }
79 inline bool ReleaseStatusHasBeenSet() const { return m_releaseStatusHasBeenSet; }
80 inline void SetReleaseStatus(const ReleaseStatusValues& value) { m_releaseStatusHasBeenSet = true; m_releaseStatus = value; }
81 inline void SetReleaseStatus(ReleaseStatusValues&& value) { m_releaseStatusHasBeenSet = true; m_releaseStatus = std::move(value); }
82 inline EngineVersion& WithReleaseStatus(const ReleaseStatusValues& value) { SetReleaseStatus(value); return *this;}
83 inline EngineVersion& WithReleaseStatus(ReleaseStatusValues&& value) { SetReleaseStatus(std::move(value)); return *this;}
85
87
90 inline const Aws::Utils::DateTime& GetLaunchDate() const{ return m_launchDate; }
91 inline bool LaunchDateHasBeenSet() const { return m_launchDateHasBeenSet; }
92 inline void SetLaunchDate(const Aws::Utils::DateTime& value) { m_launchDateHasBeenSet = true; m_launchDate = value; }
93 inline void SetLaunchDate(Aws::Utils::DateTime&& value) { m_launchDateHasBeenSet = true; m_launchDate = std::move(value); }
94 inline EngineVersion& WithLaunchDate(const Aws::Utils::DateTime& value) { SetLaunchDate(value); return *this;}
95 inline EngineVersion& WithLaunchDate(Aws::Utils::DateTime&& value) { SetLaunchDate(std::move(value)); return *this;}
97
99
104 inline const Aws::Utils::DateTime& GetAutoUpgradeDate() const{ return m_autoUpgradeDate; }
105 inline bool AutoUpgradeDateHasBeenSet() const { return m_autoUpgradeDateHasBeenSet; }
106 inline void SetAutoUpgradeDate(const Aws::Utils::DateTime& value) { m_autoUpgradeDateHasBeenSet = true; m_autoUpgradeDate = value; }
107 inline void SetAutoUpgradeDate(Aws::Utils::DateTime&& value) { m_autoUpgradeDateHasBeenSet = true; m_autoUpgradeDate = std::move(value); }
108 inline EngineVersion& WithAutoUpgradeDate(const Aws::Utils::DateTime& value) { SetAutoUpgradeDate(value); return *this;}
109 inline EngineVersion& WithAutoUpgradeDate(Aws::Utils::DateTime&& value) { SetAutoUpgradeDate(std::move(value)); return *this;}
111
113
117 inline const Aws::Utils::DateTime& GetDeprecationDate() const{ return m_deprecationDate; }
118 inline bool DeprecationDateHasBeenSet() const { return m_deprecationDateHasBeenSet; }
119 inline void SetDeprecationDate(const Aws::Utils::DateTime& value) { m_deprecationDateHasBeenSet = true; m_deprecationDate = value; }
120 inline void SetDeprecationDate(Aws::Utils::DateTime&& value) { m_deprecationDateHasBeenSet = true; m_deprecationDate = std::move(value); }
121 inline EngineVersion& WithDeprecationDate(const Aws::Utils::DateTime& value) { SetDeprecationDate(value); return *this;}
122 inline EngineVersion& WithDeprecationDate(Aws::Utils::DateTime&& value) { SetDeprecationDate(std::move(value)); return *this;}
124
126
130 inline const Aws::Utils::DateTime& GetForceUpgradeDate() const{ return m_forceUpgradeDate; }
131 inline bool ForceUpgradeDateHasBeenSet() const { return m_forceUpgradeDateHasBeenSet; }
132 inline void SetForceUpgradeDate(const Aws::Utils::DateTime& value) { m_forceUpgradeDateHasBeenSet = true; m_forceUpgradeDate = value; }
133 inline void SetForceUpgradeDate(Aws::Utils::DateTime&& value) { m_forceUpgradeDateHasBeenSet = true; m_forceUpgradeDate = std::move(value); }
134 inline EngineVersion& WithForceUpgradeDate(const Aws::Utils::DateTime& value) { SetForceUpgradeDate(value); return *this;}
135 inline EngineVersion& WithForceUpgradeDate(Aws::Utils::DateTime&& value) { SetForceUpgradeDate(std::move(value)); return *this;}
137
139
142 inline const Aws::Vector<Aws::String>& GetAvailableUpgrades() const{ return m_availableUpgrades; }
143 inline bool AvailableUpgradesHasBeenSet() const { return m_availableUpgradesHasBeenSet; }
144 inline void SetAvailableUpgrades(const Aws::Vector<Aws::String>& value) { m_availableUpgradesHasBeenSet = true; m_availableUpgrades = value; }
145 inline void SetAvailableUpgrades(Aws::Vector<Aws::String>&& value) { m_availableUpgradesHasBeenSet = true; m_availableUpgrades = std::move(value); }
147 inline EngineVersion& WithAvailableUpgrades(Aws::Vector<Aws::String>&& value) { SetAvailableUpgrades(std::move(value)); return *this;}
148 inline EngineVersion& AddAvailableUpgrades(const Aws::String& value) { m_availableUpgradesHasBeenSet = true; m_availableUpgrades.push_back(value); return *this; }
149 inline EngineVersion& AddAvailableUpgrades(Aws::String&& value) { m_availableUpgradesHasBeenSet = true; m_availableUpgrades.push_back(std::move(value)); return *this; }
150 inline EngineVersion& AddAvailableUpgrades(const char* value) { m_availableUpgradesHasBeenSet = true; m_availableUpgrades.push_back(value); return *this; }
152 private:
153
154 Aws::String m_version;
155 bool m_versionHasBeenSet = false;
156
157 Aws::String m_lifecycle;
158 bool m_lifecycleHasBeenSet = false;
159
160 ReleaseStatusValues m_releaseStatus;
161 bool m_releaseStatusHasBeenSet = false;
162
163 Aws::Utils::DateTime m_launchDate;
164 bool m_launchDateHasBeenSet = false;
165
166 Aws::Utils::DateTime m_autoUpgradeDate;
167 bool m_autoUpgradeDateHasBeenSet = false;
168
169 Aws::Utils::DateTime m_deprecationDate;
170 bool m_deprecationDateHasBeenSet = false;
171
172 Aws::Utils::DateTime m_forceUpgradeDate;
173 bool m_forceUpgradeDateHasBeenSet = false;
174
175 Aws::Vector<Aws::String> m_availableUpgrades;
176 bool m_availableUpgradesHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace DatabaseMigrationService
181} // namespace Aws
EngineVersion & WithAvailableUpgrades(const Aws::Vector< Aws::String > &value)
EngineVersion & WithAutoUpgradeDate(Aws::Utils::DateTime &&value)
void SetAvailableUpgrades(Aws::Vector< Aws::String > &&value)
EngineVersion & AddAvailableUpgrades(Aws::String &&value)
void SetDeprecationDate(Aws::Utils::DateTime &&value)
EngineVersion & AddAvailableUpgrades(const char *value)
void SetForceUpgradeDate(const Aws::Utils::DateTime &value)
void SetDeprecationDate(const Aws::Utils::DateTime &value)
EngineVersion & WithLifecycle(Aws::String &&value)
EngineVersion & WithAvailableUpgrades(Aws::Vector< Aws::String > &&value)
EngineVersion & WithVersion(const char *value)
AWS_DATABASEMIGRATIONSERVICE_API EngineVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLaunchDate(const Aws::Utils::DateTime &value)
void SetAutoUpgradeDate(Aws::Utils::DateTime &&value)
EngineVersion & WithVersion(const Aws::String &value)
EngineVersion & WithLifecycle(const Aws::String &value)
void SetReleaseStatus(const ReleaseStatusValues &value)
const Aws::Utils::DateTime & GetAutoUpgradeDate() const
const Aws::Utils::DateTime & GetLaunchDate() const
EngineVersion & WithAutoUpgradeDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetForceUpgradeDate() const
EngineVersion & WithLaunchDate(Aws::Utils::DateTime &&value)
void SetAutoUpgradeDate(const Aws::Utils::DateTime &value)
AWS_DATABASEMIGRATIONSERVICE_API EngineVersion()
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
EngineVersion & WithReleaseStatus(ReleaseStatusValues &&value)
EngineVersion & WithReleaseStatus(const ReleaseStatusValues &value)
const Aws::Utils::DateTime & GetDeprecationDate() const
EngineVersion & WithVersion(Aws::String &&value)
EngineVersion & WithLifecycle(const char *value)
EngineVersion & WithForceUpgradeDate(Aws::Utils::DateTime &&value)
AWS_DATABASEMIGRATIONSERVICE_API EngineVersion(Aws::Utils::Json::JsonView jsonValue)
EngineVersion & WithDeprecationDate(const Aws::Utils::DateTime &value)
const ReleaseStatusValues & GetReleaseStatus() const
const Aws::Vector< Aws::String > & GetAvailableUpgrades() const
void SetReleaseStatus(ReleaseStatusValues &&value)
EngineVersion & WithLaunchDate(const Aws::Utils::DateTime &value)
EngineVersion & AddAvailableUpgrades(const Aws::String &value)
void SetAvailableUpgrades(const Aws::Vector< Aws::String > &value)
void SetForceUpgradeDate(Aws::Utils::DateTime &&value)
EngineVersion & WithForceUpgradeDate(const Aws::Utils::DateTime &value)
EngineVersion & WithDeprecationDate(Aws::Utils::DateTime &&value)
void SetLaunchDate(Aws::Utils::DateTime &&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