AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DBMajorEngineVersion.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 <aws/rds/model/SupportedEngineLifecycle.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace RDS
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_RDS_API DBMajorEngineVersion() = default;
40
41 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
49 inline const Aws::String& GetEngine() const { return m_engine; }
50 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
51 template<typename EngineT = Aws::String>
52 void SetEngine(EngineT&& value) { m_engineHasBeenSet = true; m_engine = std::forward<EngineT>(value); }
53 template<typename EngineT = Aws::String>
54 DBMajorEngineVersion& WithEngine(EngineT&& value) { SetEngine(std::forward<EngineT>(value)); return *this;}
56
58
61 inline const Aws::String& GetMajorEngineVersion() const { return m_majorEngineVersion; }
62 inline bool MajorEngineVersionHasBeenSet() const { return m_majorEngineVersionHasBeenSet; }
63 template<typename MajorEngineVersionT = Aws::String>
64 void SetMajorEngineVersion(MajorEngineVersionT&& value) { m_majorEngineVersionHasBeenSet = true; m_majorEngineVersion = std::forward<MajorEngineVersionT>(value); }
65 template<typename MajorEngineVersionT = Aws::String>
66 DBMajorEngineVersion& WithMajorEngineVersion(MajorEngineVersionT&& value) { SetMajorEngineVersion(std::forward<MajorEngineVersionT>(value)); return *this;}
68
70
74 inline const Aws::Vector<SupportedEngineLifecycle>& GetSupportedEngineLifecycles() const { return m_supportedEngineLifecycles; }
75 inline bool SupportedEngineLifecyclesHasBeenSet() const { return m_supportedEngineLifecyclesHasBeenSet; }
76 template<typename SupportedEngineLifecyclesT = Aws::Vector<SupportedEngineLifecycle>>
77 void SetSupportedEngineLifecycles(SupportedEngineLifecyclesT&& value) { m_supportedEngineLifecyclesHasBeenSet = true; m_supportedEngineLifecycles = std::forward<SupportedEngineLifecyclesT>(value); }
78 template<typename SupportedEngineLifecyclesT = Aws::Vector<SupportedEngineLifecycle>>
79 DBMajorEngineVersion& WithSupportedEngineLifecycles(SupportedEngineLifecyclesT&& value) { SetSupportedEngineLifecycles(std::forward<SupportedEngineLifecyclesT>(value)); return *this;}
80 template<typename SupportedEngineLifecyclesT = SupportedEngineLifecycle>
81 DBMajorEngineVersion& AddSupportedEngineLifecycles(SupportedEngineLifecyclesT&& value) { m_supportedEngineLifecyclesHasBeenSet = true; m_supportedEngineLifecycles.emplace_back(std::forward<SupportedEngineLifecyclesT>(value)); return *this; }
83 private:
84
85 Aws::String m_engine;
86 bool m_engineHasBeenSet = false;
87
88 Aws::String m_majorEngineVersion;
89 bool m_majorEngineVersionHasBeenSet = false;
90
91 Aws::Vector<SupportedEngineLifecycle> m_supportedEngineLifecycles;
92 bool m_supportedEngineLifecyclesHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace RDS
97} // namespace Aws
void SetSupportedEngineLifecycles(SupportedEngineLifecyclesT &&value)
DBMajorEngineVersion & WithSupportedEngineLifecycles(SupportedEngineLifecyclesT &&value)
const Aws::String & GetMajorEngineVersion() const
DBMajorEngineVersion & AddSupportedEngineLifecycles(SupportedEngineLifecyclesT &&value)
AWS_RDS_API DBMajorEngineVersion()=default
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_RDS_API DBMajorEngineVersion(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetMajorEngineVersion(MajorEngineVersionT &&value)
DBMajorEngineVersion & WithEngine(EngineT &&value)
AWS_RDS_API DBMajorEngineVersion & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< SupportedEngineLifecycle > & GetSupportedEngineLifecycles() const
DBMajorEngineVersion & WithMajorEngineVersion(MajorEngineVersionT &&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