AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ClusterVersion.h
1
6#pragma once
7#include <aws/redshift/Redshift_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 Redshift
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_REDSHIFT_API ClusterVersion() = default;
36 AWS_REDSHIFT_API ClusterVersion(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_REDSHIFT_API ClusterVersion& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetClusterVersion() const { return m_clusterVersion; }
48 inline bool ClusterVersionHasBeenSet() const { return m_clusterVersionHasBeenSet; }
49 template<typename ClusterVersionT = Aws::String>
50 void SetClusterVersion(ClusterVersionT&& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = std::forward<ClusterVersionT>(value); }
51 template<typename ClusterVersionT = Aws::String>
52 ClusterVersion& WithClusterVersion(ClusterVersionT&& value) { SetClusterVersion(std::forward<ClusterVersionT>(value)); return *this;}
54
56
59 inline const Aws::String& GetClusterParameterGroupFamily() const { return m_clusterParameterGroupFamily; }
60 inline bool ClusterParameterGroupFamilyHasBeenSet() const { return m_clusterParameterGroupFamilyHasBeenSet; }
61 template<typename ClusterParameterGroupFamilyT = Aws::String>
62 void SetClusterParameterGroupFamily(ClusterParameterGroupFamilyT&& value) { m_clusterParameterGroupFamilyHasBeenSet = true; m_clusterParameterGroupFamily = std::forward<ClusterParameterGroupFamilyT>(value); }
63 template<typename ClusterParameterGroupFamilyT = Aws::String>
64 ClusterVersion& WithClusterParameterGroupFamily(ClusterParameterGroupFamilyT&& value) { SetClusterParameterGroupFamily(std::forward<ClusterParameterGroupFamilyT>(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 ClusterVersion& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
78 private:
79
80 Aws::String m_clusterVersion;
81 bool m_clusterVersionHasBeenSet = false;
82
83 Aws::String m_clusterParameterGroupFamily;
84 bool m_clusterParameterGroupFamilyHasBeenSet = false;
85
86 Aws::String m_description;
87 bool m_descriptionHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Redshift
92} // namespace Aws
ClusterVersion & WithClusterVersion(ClusterVersionT &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetClusterParameterGroupFamily(ClusterParameterGroupFamilyT &&value)
AWS_REDSHIFT_API ClusterVersion()=default
const Aws::String & GetClusterVersion() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetClusterParameterGroupFamily() const
ClusterVersion & WithDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
AWS_REDSHIFT_API ClusterVersion & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API ClusterVersion(const Aws::Utils::Xml::XmlNode &xmlNode)
ClusterVersion & WithClusterParameterGroupFamily(ClusterParameterGroupFamilyT &&value)
void SetClusterVersion(ClusterVersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream