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/neptune/Neptune_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace Neptune
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_NEPTUNE_API UpgradeTarget();
36 AWS_NEPTUNE_API UpgradeTarget(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_NEPTUNE_API UpgradeTarget& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetEngine() const{ return m_engine; }
48 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
49 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
50 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
51 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
52 inline UpgradeTarget& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
53 inline UpgradeTarget& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
54 inline UpgradeTarget& WithEngine(const char* value) { SetEngine(value); return *this;}
56
58
61 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
62 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
63 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
64 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
65 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
66 inline UpgradeTarget& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
67 inline UpgradeTarget& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
68 inline UpgradeTarget& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
70
72
75 inline const Aws::String& GetDescription() const{ return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
78 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
79 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
80 inline UpgradeTarget& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
81 inline UpgradeTarget& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
82 inline UpgradeTarget& WithDescription(const char* value) { SetDescription(value); return *this;}
84
86
90 inline bool GetAutoUpgrade() const{ return m_autoUpgrade; }
91 inline bool AutoUpgradeHasBeenSet() const { return m_autoUpgradeHasBeenSet; }
92 inline void SetAutoUpgrade(bool value) { m_autoUpgradeHasBeenSet = true; m_autoUpgrade = value; }
93 inline UpgradeTarget& WithAutoUpgrade(bool value) { SetAutoUpgrade(value); return *this;}
95
97
101 inline bool GetIsMajorVersionUpgrade() const{ return m_isMajorVersionUpgrade; }
102 inline bool IsMajorVersionUpgradeHasBeenSet() const { return m_isMajorVersionUpgradeHasBeenSet; }
103 inline void SetIsMajorVersionUpgrade(bool value) { m_isMajorVersionUpgradeHasBeenSet = true; m_isMajorVersionUpgrade = value; }
104 inline UpgradeTarget& WithIsMajorVersionUpgrade(bool value) { SetIsMajorVersionUpgrade(value); return *this;}
106
108
112 inline bool GetSupportsGlobalDatabases() const{ return m_supportsGlobalDatabases; }
113 inline bool SupportsGlobalDatabasesHasBeenSet() const { return m_supportsGlobalDatabasesHasBeenSet; }
114 inline void SetSupportsGlobalDatabases(bool value) { m_supportsGlobalDatabasesHasBeenSet = true; m_supportsGlobalDatabases = value; }
115 inline UpgradeTarget& WithSupportsGlobalDatabases(bool value) { SetSupportsGlobalDatabases(value); return *this;}
117 private:
118
119 Aws::String m_engine;
120 bool m_engineHasBeenSet = false;
121
122 Aws::String m_engineVersion;
123 bool m_engineVersionHasBeenSet = false;
124
125 Aws::String m_description;
126 bool m_descriptionHasBeenSet = false;
127
128 bool m_autoUpgrade;
129 bool m_autoUpgradeHasBeenSet = false;
130
131 bool m_isMajorVersionUpgrade;
132 bool m_isMajorVersionUpgradeHasBeenSet = false;
133
134 bool m_supportsGlobalDatabases;
135 bool m_supportsGlobalDatabasesHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace Neptune
140} // namespace Aws
AWS_NEPTUNE_API UpgradeTarget & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetEngine(Aws::String &&value)
UpgradeTarget & WithIsMajorVersionUpgrade(bool value)
void SetEngineVersion(Aws::String &&value)
const Aws::String & GetDescription() const
UpgradeTarget & WithEngineVersion(const Aws::String &value)
void SetEngineVersion(const Aws::String &value)
UpgradeTarget & WithAutoUpgrade(bool value)
AWS_NEPTUNE_API UpgradeTarget(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetEngine(const char *value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetDescription(const char *value)
UpgradeTarget & WithEngine(const char *value)
UpgradeTarget & WithEngineVersion(const char *value)
UpgradeTarget & WithSupportsGlobalDatabases(bool value)
void SetDescription(const Aws::String &value)
void SetSupportsGlobalDatabases(bool value)
void SetEngineVersion(const char *value)
const Aws::String & GetEngineVersion() const
UpgradeTarget & WithDescription(const Aws::String &value)
UpgradeTarget & WithDescription(Aws::String &&value)
UpgradeTarget & WithEngine(Aws::String &&value)
UpgradeTarget & WithEngineVersion(Aws::String &&value)
void SetDescription(Aws::String &&value)
UpgradeTarget & WithEngine(const Aws::String &value)
void SetEngine(const Aws::String &value)
const Aws::String & GetEngine() const
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
UpgradeTarget & WithDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream