AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename EngineT = Aws::String>
50 void SetEngine(EngineT&& value) { m_engineHasBeenSet = true; m_engine = std::forward<EngineT>(value); }
51 template<typename EngineT = Aws::String>
52 UpgradeTarget& WithEngine(EngineT&& value) { SetEngine(std::forward<EngineT>(value)); return *this;}
54
56
59 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
60 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
61 template<typename EngineVersionT = Aws::String>
62 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::forward<EngineVersionT>(value); }
63 template<typename EngineVersionT = Aws::String>
64 UpgradeTarget& WithEngineVersion(EngineVersionT&& value) { SetEngineVersion(std::forward<EngineVersionT>(value)); return *this;}
66
68
71 inline const Aws::String& GetDescription() const { return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 template<typename DescriptionT = Aws::String>
74 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
75 template<typename DescriptionT = Aws::String>
76 UpgradeTarget& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
78
80
84 inline bool GetAutoUpgrade() const { return m_autoUpgrade; }
85 inline bool AutoUpgradeHasBeenSet() const { return m_autoUpgradeHasBeenSet; }
86 inline void SetAutoUpgrade(bool value) { m_autoUpgradeHasBeenSet = true; m_autoUpgrade = value; }
87 inline UpgradeTarget& WithAutoUpgrade(bool value) { SetAutoUpgrade(value); return *this;}
89
91
95 inline bool GetIsMajorVersionUpgrade() const { return m_isMajorVersionUpgrade; }
96 inline bool IsMajorVersionUpgradeHasBeenSet() const { return m_isMajorVersionUpgradeHasBeenSet; }
97 inline void SetIsMajorVersionUpgrade(bool value) { m_isMajorVersionUpgradeHasBeenSet = true; m_isMajorVersionUpgrade = value; }
98 inline UpgradeTarget& WithIsMajorVersionUpgrade(bool value) { SetIsMajorVersionUpgrade(value); return *this;}
100
102
106 inline bool GetSupportsGlobalDatabases() const { return m_supportsGlobalDatabases; }
107 inline bool SupportsGlobalDatabasesHasBeenSet() const { return m_supportsGlobalDatabasesHasBeenSet; }
108 inline void SetSupportsGlobalDatabases(bool value) { m_supportsGlobalDatabasesHasBeenSet = true; m_supportsGlobalDatabases = value; }
109 inline UpgradeTarget& WithSupportsGlobalDatabases(bool value) { SetSupportsGlobalDatabases(value); return *this;}
111 private:
112
113 Aws::String m_engine;
114 bool m_engineHasBeenSet = false;
115
116 Aws::String m_engineVersion;
117 bool m_engineVersionHasBeenSet = false;
118
119 Aws::String m_description;
120 bool m_descriptionHasBeenSet = false;
121
122 bool m_autoUpgrade{false};
123 bool m_autoUpgradeHasBeenSet = false;
124
125 bool m_isMajorVersionUpgrade{false};
126 bool m_isMajorVersionUpgradeHasBeenSet = false;
127
128 bool m_supportsGlobalDatabases{false};
129 bool m_supportsGlobalDatabasesHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace Neptune
134} // namespace Aws
AWS_NEPTUNE_API UpgradeTarget & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
UpgradeTarget & WithIsMajorVersionUpgrade(bool value)
const Aws::String & GetDescription() const
UpgradeTarget & WithEngine(EngineT &&value)
UpgradeTarget & WithAutoUpgrade(bool value)
AWS_NEPTUNE_API UpgradeTarget(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
UpgradeTarget & WithDescription(DescriptionT &&value)
void SetEngine(EngineT &&value)
void SetDescription(DescriptionT &&value)
UpgradeTarget & WithSupportsGlobalDatabases(bool value)
void SetSupportsGlobalDatabases(bool value)
const Aws::String & GetEngineVersion() const
UpgradeTarget & WithEngineVersion(EngineVersionT &&value)
void SetEngineVersion(EngineVersionT &&value)
AWS_NEPTUNE_API UpgradeTarget()=default
const Aws::String & GetEngine() const
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetIsMajorVersionUpgrade(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream