AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpgradeTarget.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace RDS
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_RDS_API UpgradeTarget();
37 AWS_RDS_API UpgradeTarget(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_RDS_API UpgradeTarget& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const Aws::String& GetEngine() const{ return m_engine; }
49 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
50 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
51 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
52 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
53 inline UpgradeTarget& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
54 inline UpgradeTarget& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
55 inline UpgradeTarget& WithEngine(const char* value) { SetEngine(value); return *this;}
57
59
62 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
63 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
64 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
65 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
66 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
67 inline UpgradeTarget& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
68 inline UpgradeTarget& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
69 inline UpgradeTarget& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
71
73
76 inline const Aws::String& GetDescription() const{ return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
79 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
80 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
81 inline UpgradeTarget& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
82 inline UpgradeTarget& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
83 inline UpgradeTarget& WithDescription(const char* value) { SetDescription(value); return *this;}
85
87
92 inline bool GetAutoUpgrade() const{ return m_autoUpgrade; }
93 inline bool AutoUpgradeHasBeenSet() const { return m_autoUpgradeHasBeenSet; }
94 inline void SetAutoUpgrade(bool value) { m_autoUpgradeHasBeenSet = true; m_autoUpgrade = value; }
95 inline UpgradeTarget& WithAutoUpgrade(bool value) { SetAutoUpgrade(value); return *this;}
97
99
103 inline bool GetIsMajorVersionUpgrade() const{ return m_isMajorVersionUpgrade; }
104 inline bool IsMajorVersionUpgradeHasBeenSet() const { return m_isMajorVersionUpgradeHasBeenSet; }
105 inline void SetIsMajorVersionUpgrade(bool value) { m_isMajorVersionUpgradeHasBeenSet = true; m_isMajorVersionUpgrade = value; }
106 inline UpgradeTarget& WithIsMajorVersionUpgrade(bool value) { SetIsMajorVersionUpgrade(value); return *this;}
108
110
113 inline const Aws::Vector<Aws::String>& GetSupportedEngineModes() const{ return m_supportedEngineModes; }
114 inline bool SupportedEngineModesHasBeenSet() const { return m_supportedEngineModesHasBeenSet; }
115 inline void SetSupportedEngineModes(const Aws::Vector<Aws::String>& value) { m_supportedEngineModesHasBeenSet = true; m_supportedEngineModes = value; }
116 inline void SetSupportedEngineModes(Aws::Vector<Aws::String>&& value) { m_supportedEngineModesHasBeenSet = true; m_supportedEngineModes = std::move(value); }
119 inline UpgradeTarget& AddSupportedEngineModes(const Aws::String& value) { m_supportedEngineModesHasBeenSet = true; m_supportedEngineModes.push_back(value); return *this; }
120 inline UpgradeTarget& AddSupportedEngineModes(Aws::String&& value) { m_supportedEngineModesHasBeenSet = true; m_supportedEngineModes.push_back(std::move(value)); return *this; }
121 inline UpgradeTarget& AddSupportedEngineModes(const char* value) { m_supportedEngineModesHasBeenSet = true; m_supportedEngineModes.push_back(value); return *this; }
123
125
129 inline bool GetSupportsParallelQuery() const{ return m_supportsParallelQuery; }
130 inline bool SupportsParallelQueryHasBeenSet() const { return m_supportsParallelQueryHasBeenSet; }
131 inline void SetSupportsParallelQuery(bool value) { m_supportsParallelQueryHasBeenSet = true; m_supportsParallelQuery = value; }
132 inline UpgradeTarget& WithSupportsParallelQuery(bool value) { SetSupportsParallelQuery(value); return *this;}
134
136
140 inline bool GetSupportsGlobalDatabases() const{ return m_supportsGlobalDatabases; }
141 inline bool SupportsGlobalDatabasesHasBeenSet() const { return m_supportsGlobalDatabasesHasBeenSet; }
142 inline void SetSupportsGlobalDatabases(bool value) { m_supportsGlobalDatabasesHasBeenSet = true; m_supportsGlobalDatabases = value; }
143 inline UpgradeTarget& WithSupportsGlobalDatabases(bool value) { SetSupportsGlobalDatabases(value); return *this;}
145
147
151 inline bool GetSupportsBabelfish() const{ return m_supportsBabelfish; }
152 inline bool SupportsBabelfishHasBeenSet() const { return m_supportsBabelfishHasBeenSet; }
153 inline void SetSupportsBabelfish(bool value) { m_supportsBabelfishHasBeenSet = true; m_supportsBabelfish = value; }
154 inline UpgradeTarget& WithSupportsBabelfish(bool value) { SetSupportsBabelfish(value); return *this;}
156
158
162 inline bool GetSupportsLimitlessDatabase() const{ return m_supportsLimitlessDatabase; }
163 inline bool SupportsLimitlessDatabaseHasBeenSet() const { return m_supportsLimitlessDatabaseHasBeenSet; }
164 inline void SetSupportsLimitlessDatabase(bool value) { m_supportsLimitlessDatabaseHasBeenSet = true; m_supportsLimitlessDatabase = value; }
167
169
175 inline bool GetSupportsLocalWriteForwarding() const{ return m_supportsLocalWriteForwarding; }
176 inline bool SupportsLocalWriteForwardingHasBeenSet() const { return m_supportsLocalWriteForwardingHasBeenSet; }
177 inline void SetSupportsLocalWriteForwarding(bool value) { m_supportsLocalWriteForwardingHasBeenSet = true; m_supportsLocalWriteForwarding = value; }
180
182
186 inline bool GetSupportsIntegrations() const{ return m_supportsIntegrations; }
187 inline bool SupportsIntegrationsHasBeenSet() const { return m_supportsIntegrationsHasBeenSet; }
188 inline void SetSupportsIntegrations(bool value) { m_supportsIntegrationsHasBeenSet = true; m_supportsIntegrations = value; }
189 inline UpgradeTarget& WithSupportsIntegrations(bool value) { SetSupportsIntegrations(value); return *this;}
191 private:
192
193 Aws::String m_engine;
194 bool m_engineHasBeenSet = false;
195
196 Aws::String m_engineVersion;
197 bool m_engineVersionHasBeenSet = false;
198
199 Aws::String m_description;
200 bool m_descriptionHasBeenSet = false;
201
202 bool m_autoUpgrade;
203 bool m_autoUpgradeHasBeenSet = false;
204
205 bool m_isMajorVersionUpgrade;
206 bool m_isMajorVersionUpgradeHasBeenSet = false;
207
208 Aws::Vector<Aws::String> m_supportedEngineModes;
209 bool m_supportedEngineModesHasBeenSet = false;
210
211 bool m_supportsParallelQuery;
212 bool m_supportsParallelQueryHasBeenSet = false;
213
214 bool m_supportsGlobalDatabases;
215 bool m_supportsGlobalDatabasesHasBeenSet = false;
216
217 bool m_supportsBabelfish;
218 bool m_supportsBabelfishHasBeenSet = false;
219
220 bool m_supportsLimitlessDatabase;
221 bool m_supportsLimitlessDatabaseHasBeenSet = false;
222
223 bool m_supportsLocalWriteForwarding;
224 bool m_supportsLocalWriteForwardingHasBeenSet = false;
225
226 bool m_supportsIntegrations;
227 bool m_supportsIntegrationsHasBeenSet = false;
228 };
229
230} // namespace Model
231} // namespace RDS
232} // namespace Aws
UpgradeTarget & WithDescription(const char *value)
void SetEngineVersion(const char *value)
const Aws::Vector< Aws::String > & GetSupportedEngineModes() const
void SetSupportsParallelQuery(bool value)
bool SupportedEngineModesHasBeenSet() const
void SetSupportsGlobalDatabases(bool value)
bool SupportsLimitlessDatabaseHasBeenSet() const
void SetDescription(const char *value)
UpgradeTarget & WithSupportsIntegrations(bool value)
void SetIsMajorVersionUpgrade(bool value)
const Aws::String & GetDescription() const
bool SupportsIntegrationsHasBeenSet() const
UpgradeTarget & WithSupportedEngineModes(Aws::Vector< Aws::String > &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetDescription(const Aws::String &value)
AWS_RDS_API UpgradeTarget & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
UpgradeTarget & WithEngine(Aws::String &&value)
UpgradeTarget & WithSupportedEngineModes(const Aws::Vector< Aws::String > &value)
bool GetSupportsLocalWriteForwarding() const
void SetEngine(const char *value)
UpgradeTarget & WithSupportsBabelfish(bool value)
void SetSupportsLocalWriteForwarding(bool value)
UpgradeTarget & WithSupportsLocalWriteForwarding(bool value)
void SetSupportsBabelfish(bool value)
UpgradeTarget & WithSupportsLimitlessDatabase(bool value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
UpgradeTarget & WithEngine(const char *value)
UpgradeTarget & WithEngineVersion(Aws::String &&value)
void SetEngine(const Aws::String &value)
void SetEngineVersion(const Aws::String &value)
void SetSupportedEngineModes(const Aws::Vector< Aws::String > &value)
AWS_RDS_API UpgradeTarget(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSupportsIntegrations(bool value)
UpgradeTarget & WithSupportsParallelQuery(bool value)
UpgradeTarget & WithDescription(const Aws::String &value)
bool SupportsParallelQueryHasBeenSet() const
void SetSupportedEngineModes(Aws::Vector< Aws::String > &&value)
const Aws::String & GetEngine() const
UpgradeTarget & AddSupportedEngineModes(Aws::String &&value)
const Aws::String & GetEngineVersion() const
UpgradeTarget & WithIsMajorVersionUpgrade(bool value)
UpgradeTarget & WithDescription(Aws::String &&value)
void SetDescription(Aws::String &&value)
UpgradeTarget & WithEngine(const Aws::String &value)
UpgradeTarget & AddSupportedEngineModes(const Aws::String &value)
UpgradeTarget & WithEngineVersion(const Aws::String &value)
UpgradeTarget & WithSupportsGlobalDatabases(bool value)
bool SupportsGlobalDatabasesHasBeenSet() const
void SetSupportsLimitlessDatabase(bool value)
UpgradeTarget & AddSupportedEngineModes(const char *value)
UpgradeTarget & WithAutoUpgrade(bool value)
bool IsMajorVersionUpgradeHasBeenSet() const
UpgradeTarget & WithEngineVersion(const char *value)
bool SupportsLocalWriteForwardingHasBeenSet() const
void SetEngineVersion(Aws::String &&value)
void SetEngine(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream