AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClusterVersion(const Aws::String& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = value; }
50 inline void SetClusterVersion(Aws::String&& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = std::move(value); }
51 inline void SetClusterVersion(const char* value) { m_clusterVersionHasBeenSet = true; m_clusterVersion.assign(value); }
52 inline ClusterVersion& WithClusterVersion(const Aws::String& value) { SetClusterVersion(value); return *this;}
53 inline ClusterVersion& WithClusterVersion(Aws::String&& value) { SetClusterVersion(std::move(value)); return *this;}
54 inline ClusterVersion& WithClusterVersion(const char* value) { SetClusterVersion(value); return *this;}
56
58
61 inline const Aws::String& GetClusterParameterGroupFamily() const{ return m_clusterParameterGroupFamily; }
62 inline bool ClusterParameterGroupFamilyHasBeenSet() const { return m_clusterParameterGroupFamilyHasBeenSet; }
63 inline void SetClusterParameterGroupFamily(const Aws::String& value) { m_clusterParameterGroupFamilyHasBeenSet = true; m_clusterParameterGroupFamily = value; }
64 inline void SetClusterParameterGroupFamily(Aws::String&& value) { m_clusterParameterGroupFamilyHasBeenSet = true; m_clusterParameterGroupFamily = std::move(value); }
65 inline void SetClusterParameterGroupFamily(const char* value) { m_clusterParameterGroupFamilyHasBeenSet = true; m_clusterParameterGroupFamily.assign(value); }
68 inline ClusterVersion& WithClusterParameterGroupFamily(const char* value) { SetClusterParameterGroupFamily(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 ClusterVersion& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
81 inline ClusterVersion& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
82 inline ClusterVersion& WithDescription(const char* value) { SetDescription(value); return *this;}
84 private:
85
86 Aws::String m_clusterVersion;
87 bool m_clusterVersionHasBeenSet = false;
88
89 Aws::String m_clusterParameterGroupFamily;
90 bool m_clusterParameterGroupFamilyHasBeenSet = false;
91
92 Aws::String m_description;
93 bool m_descriptionHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace Redshift
98} // namespace Aws
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
ClusterVersion & WithClusterParameterGroupFamily(const char *value)
ClusterVersion & WithDescription(const char *value)
void SetClusterParameterGroupFamily(const char *value)
const Aws::String & GetClusterVersion() const
const Aws::String & GetClusterParameterGroupFamily() const
const Aws::String & GetDescription() const
AWS_REDSHIFT_API ClusterVersion & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetClusterVersion(const char *value)
AWS_REDSHIFT_API ClusterVersion(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetClusterParameterGroupFamily(Aws::String &&value)
ClusterVersion & WithDescription(Aws::String &&value)
void SetDescription(Aws::String &&value)
ClusterVersion & WithClusterParameterGroupFamily(const Aws::String &value)
ClusterVersion & WithClusterParameterGroupFamily(Aws::String &&value)
void SetDescription(const char *value)
ClusterVersion & WithDescription(const Aws::String &value)
void SetClusterVersion(const Aws::String &value)
void SetClusterParameterGroupFamily(const Aws::String &value)
ClusterVersion & WithClusterVersion(Aws::String &&value)
ClusterVersion & WithClusterVersion(const char *value)
void SetDescription(const Aws::String &value)
ClusterVersion & WithClusterVersion(const Aws::String &value)
void SetClusterVersion(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream