AWS SDK for C++  1.9.154
AWS SDK for C++
UpgradeTarget.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace Neptune
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
46  inline const Aws::String& GetEngine() const{ return m_engine; }
47 
51  inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
52 
56  inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
57 
61  inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
62 
66  inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
67 
71  inline UpgradeTarget& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
72 
76  inline UpgradeTarget& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
77 
81  inline UpgradeTarget& WithEngine(const char* value) { SetEngine(value); return *this;}
82 
83 
87  inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
88 
92  inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
93 
97  inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
98 
102  inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
103 
107  inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
108 
112  inline UpgradeTarget& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
113 
117  inline UpgradeTarget& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
118 
122  inline UpgradeTarget& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
123 
124 
128  inline const Aws::String& GetDescription() const{ return m_description; }
129 
133  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
134 
138  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
139 
143  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
144 
148  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
149 
153  inline UpgradeTarget& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
154 
158  inline UpgradeTarget& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
159 
163  inline UpgradeTarget& WithDescription(const char* value) { SetDescription(value); return *this;}
164 
165 
170  inline bool GetAutoUpgrade() const{ return m_autoUpgrade; }
171 
176  inline bool AutoUpgradeHasBeenSet() const { return m_autoUpgradeHasBeenSet; }
177 
182  inline void SetAutoUpgrade(bool value) { m_autoUpgradeHasBeenSet = true; m_autoUpgrade = value; }
183 
188  inline UpgradeTarget& WithAutoUpgrade(bool value) { SetAutoUpgrade(value); return *this;}
189 
190 
195  inline bool GetIsMajorVersionUpgrade() const{ return m_isMajorVersionUpgrade; }
196 
201  inline bool IsMajorVersionUpgradeHasBeenSet() const { return m_isMajorVersionUpgradeHasBeenSet; }
202 
207  inline void SetIsMajorVersionUpgrade(bool value) { m_isMajorVersionUpgradeHasBeenSet = true; m_isMajorVersionUpgrade = value; }
208 
213  inline UpgradeTarget& WithIsMajorVersionUpgrade(bool value) { SetIsMajorVersionUpgrade(value); return *this;}
214 
215  private:
216 
217  Aws::String m_engine;
218  bool m_engineHasBeenSet;
219 
220  Aws::String m_engineVersion;
221  bool m_engineVersionHasBeenSet;
222 
223  Aws::String m_description;
224  bool m_descriptionHasBeenSet;
225 
226  bool m_autoUpgrade;
227  bool m_autoUpgradeHasBeenSet;
228 
229  bool m_isMajorVersionUpgrade;
230  bool m_isMajorVersionUpgradeHasBeenSet;
231  };
232 
233 } // namespace Model
234 } // namespace Neptune
235 } // namespace Aws
Aws::Neptune::Model::UpgradeTarget::GetEngine
const Aws::String & GetEngine() const
Definition: UpgradeTarget.h:46
Neptune_EXPORTS.h
Aws::Neptune::Model::UpgradeTarget::SetEngine
void SetEngine(const char *value)
Definition: UpgradeTarget.h:66
Aws::Neptune::Model::UpgradeTarget::AutoUpgradeHasBeenSet
bool AutoUpgradeHasBeenSet() const
Definition: UpgradeTarget.h:176
Aws::Neptune::Model::UpgradeTarget::WithDescription
UpgradeTarget & WithDescription(Aws::String &&value)
Definition: UpgradeTarget.h:158
Aws::Neptune::Model::UpgradeTarget::WithEngine
UpgradeTarget & WithEngine(const Aws::String &value)
Definition: UpgradeTarget.h:71
Aws::Neptune::Model::UpgradeTarget::SetEngine
void SetEngine(Aws::String &&value)
Definition: UpgradeTarget.h:61
Aws::Neptune::Model::UpgradeTarget::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::Neptune::Model::UpgradeTarget::SetEngine
void SetEngine(const Aws::String &value)
Definition: UpgradeTarget.h:56
AWS_NEPTUNE_API
#define AWS_NEPTUNE_API
Definition: Neptune_EXPORTS.h:28
Aws::Neptune::Model::UpgradeTarget::SetEngineVersion
void SetEngineVersion(const char *value)
Definition: UpgradeTarget.h:107
Aws::Neptune::Model::UpgradeTarget::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpgradeTarget.h:133
Aws::Neptune::Model::UpgradeTarget::SetEngineVersion
void SetEngineVersion(Aws::String &&value)
Definition: UpgradeTarget.h:102
Aws::Neptune::Model::UpgradeTarget::EngineVersionHasBeenSet
bool EngineVersionHasBeenSet() const
Definition: UpgradeTarget.h:92
Aws::Neptune::Model::UpgradeTarget::operator=
UpgradeTarget & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Neptune::Model::UpgradeTarget::WithDescription
UpgradeTarget & WithDescription(const Aws::String &value)
Definition: UpgradeTarget.h:153
AWSStreamFwd.h
Aws::Neptune::Model::UpgradeTarget::GetAutoUpgrade
bool GetAutoUpgrade() const
Definition: UpgradeTarget.h:170
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Neptune::Model::UpgradeTarget::EngineHasBeenSet
bool EngineHasBeenSet() const
Definition: UpgradeTarget.h:51
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::Neptune::Model::UpgradeTarget::WithAutoUpgrade
UpgradeTarget & WithAutoUpgrade(bool value)
Definition: UpgradeTarget.h:188
Aws::Neptune::Model::UpgradeTarget::GetIsMajorVersionUpgrade
bool GetIsMajorVersionUpgrade() const
Definition: UpgradeTarget.h:195
Aws::Neptune::Model::UpgradeTarget::SetAutoUpgrade
void SetAutoUpgrade(bool value)
Definition: UpgradeTarget.h:182
Aws::Neptune::Model::UpgradeTarget::WithEngineVersion
UpgradeTarget & WithEngineVersion(const char *value)
Definition: UpgradeTarget.h:122
Aws::Neptune::Model::UpgradeTarget::WithEngineVersion
UpgradeTarget & WithEngineVersion(Aws::String &&value)
Definition: UpgradeTarget.h:117
Aws::Neptune::Model::UpgradeTarget
Definition: UpgradeTarget.h:33
AWSString.h
Aws::Neptune::Model::UpgradeTarget::IsMajorVersionUpgradeHasBeenSet
bool IsMajorVersionUpgradeHasBeenSet() const
Definition: UpgradeTarget.h:201
Aws::Neptune::Model::UpgradeTarget::SetDescription
void SetDescription(const char *value)
Definition: UpgradeTarget.h:148
Aws::Neptune::Model::UpgradeTarget::SetIsMajorVersionUpgrade
void SetIsMajorVersionUpgrade(bool value)
Definition: UpgradeTarget.h:207
Aws::Neptune::Model::UpgradeTarget::GetEngineVersion
const Aws::String & GetEngineVersion() const
Definition: UpgradeTarget.h:87
Aws::Neptune::Model::UpgradeTarget::GetDescription
const Aws::String & GetDescription() const
Definition: UpgradeTarget.h:128
Aws::Neptune::Model::UpgradeTarget::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpgradeTarget.h:143
Aws
Definition: AccessManagementClient.h:15
Aws::Neptune::Model::UpgradeTarget::UpgradeTarget
UpgradeTarget()
Aws::Neptune::Model::UpgradeTarget::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpgradeTarget.h:138
Aws::Neptune::Model::UpgradeTarget::WithEngineVersion
UpgradeTarget & WithEngineVersion(const Aws::String &value)
Definition: UpgradeTarget.h:112
Aws::Neptune::Model::UpgradeTarget::WithEngine
UpgradeTarget & WithEngine(Aws::String &&value)
Definition: UpgradeTarget.h:76
Aws::Neptune::Model::UpgradeTarget::WithIsMajorVersionUpgrade
UpgradeTarget & WithIsMajorVersionUpgrade(bool value)
Definition: UpgradeTarget.h:213
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::Neptune::Model::UpgradeTarget::UpgradeTarget
UpgradeTarget(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Neptune::Model::UpgradeTarget::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::Neptune::Model::UpgradeTarget::SetEngineVersion
void SetEngineVersion(const Aws::String &value)
Definition: UpgradeTarget.h:97
Aws::Neptune::Model::UpgradeTarget::WithDescription
UpgradeTarget & WithDescription(const char *value)
Definition: UpgradeTarget.h:163
Aws::Neptune::Model::UpgradeTarget::WithEngine
UpgradeTarget & WithEngine(const char *value)
Definition: UpgradeTarget.h:81