AWS SDK for C++  1.9.104
AWS SDK for C++
ClusterVersion.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 Redshift
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& GetClusterVersion() const{ return m_clusterVersion; }
47 
51  inline bool ClusterVersionHasBeenSet() const { return m_clusterVersionHasBeenSet; }
52 
56  inline void SetClusterVersion(const Aws::String& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = value; }
57 
61  inline void SetClusterVersion(Aws::String&& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = std::move(value); }
62 
66  inline void SetClusterVersion(const char* value) { m_clusterVersionHasBeenSet = true; m_clusterVersion.assign(value); }
67 
71  inline ClusterVersion& WithClusterVersion(const Aws::String& value) { SetClusterVersion(value); return *this;}
72 
76  inline ClusterVersion& WithClusterVersion(Aws::String&& value) { SetClusterVersion(std::move(value)); return *this;}
77 
81  inline ClusterVersion& WithClusterVersion(const char* value) { SetClusterVersion(value); return *this;}
82 
83 
87  inline const Aws::String& GetClusterParameterGroupFamily() const{ return m_clusterParameterGroupFamily; }
88 
92  inline bool ClusterParameterGroupFamilyHasBeenSet() const { return m_clusterParameterGroupFamilyHasBeenSet; }
93 
97  inline void SetClusterParameterGroupFamily(const Aws::String& value) { m_clusterParameterGroupFamilyHasBeenSet = true; m_clusterParameterGroupFamily = value; }
98 
102  inline void SetClusterParameterGroupFamily(Aws::String&& value) { m_clusterParameterGroupFamilyHasBeenSet = true; m_clusterParameterGroupFamily = std::move(value); }
103 
107  inline void SetClusterParameterGroupFamily(const char* value) { m_clusterParameterGroupFamilyHasBeenSet = true; m_clusterParameterGroupFamily.assign(value); }
108 
112  inline ClusterVersion& WithClusterParameterGroupFamily(const Aws::String& value) { SetClusterParameterGroupFamily(value); return *this;}
113 
117  inline ClusterVersion& WithClusterParameterGroupFamily(Aws::String&& value) { SetClusterParameterGroupFamily(std::move(value)); return *this;}
118 
122  inline ClusterVersion& WithClusterParameterGroupFamily(const char* value) { SetClusterParameterGroupFamily(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 ClusterVersion& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
154 
158  inline ClusterVersion& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
159 
163  inline ClusterVersion& WithDescription(const char* value) { SetDescription(value); return *this;}
164 
165  private:
166 
167  Aws::String m_clusterVersion;
168  bool m_clusterVersionHasBeenSet;
169 
170  Aws::String m_clusterParameterGroupFamily;
171  bool m_clusterParameterGroupFamilyHasBeenSet;
172 
173  Aws::String m_description;
174  bool m_descriptionHasBeenSet;
175  };
176 
177 } // namespace Model
178 } // namespace Redshift
179 } // namespace Aws
Aws::Redshift::Model::ClusterVersion::GetDescription
const Aws::String & GetDescription() const
Definition: ClusterVersion.h:128
Aws::Redshift::Model::ClusterVersion::SetClusterParameterGroupFamily
void SetClusterParameterGroupFamily(const char *value)
Definition: ClusterVersion.h:107
Aws::Redshift::Model::ClusterVersion::SetDescription
void SetDescription(const Aws::String &value)
Definition: ClusterVersion.h:138
Aws::Redshift::Model::ClusterVersion::SetClusterParameterGroupFamily
void SetClusterParameterGroupFamily(Aws::String &&value)
Definition: ClusterVersion.h:102
Aws::Redshift::Model::ClusterVersion::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
AWSStreamFwd.h
Aws::Redshift::Model::ClusterVersion::SetClusterVersion
void SetClusterVersion(Aws::String &&value)
Definition: ClusterVersion.h:61
Aws::Redshift::Model::ClusterVersion::WithDescription
ClusterVersion & WithDescription(const char *value)
Definition: ClusterVersion.h:163
Aws::Redshift::Model::ClusterVersion::SetClusterVersion
void SetClusterVersion(const Aws::String &value)
Definition: ClusterVersion.h:56
Aws::Redshift::Model::ClusterVersion::SetClusterParameterGroupFamily
void SetClusterParameterGroupFamily(const Aws::String &value)
Definition: ClusterVersion.h:97
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Redshift::Model::ClusterVersion::WithClusterParameterGroupFamily
ClusterVersion & WithClusterParameterGroupFamily(Aws::String &&value)
Definition: ClusterVersion.h:117
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::Redshift::Model::ClusterVersion::ClusterVersion
ClusterVersion(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Redshift::Model::ClusterVersion::WithClusterVersion
ClusterVersion & WithClusterVersion(Aws::String &&value)
Definition: ClusterVersion.h:76
Aws::Redshift::Model::ClusterVersion::ClusterVersionHasBeenSet
bool ClusterVersionHasBeenSet() const
Definition: ClusterVersion.h:51
Aws::Redshift::Model::ClusterVersion::SetDescription
void SetDescription(const char *value)
Definition: ClusterVersion.h:148
Aws::Redshift::Model::ClusterVersion::ClusterVersion
ClusterVersion()
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::ClusterVersion::SetClusterVersion
void SetClusterVersion(const char *value)
Definition: ClusterVersion.h:66
AWSString.h
Aws::Redshift::Model::ClusterVersion::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: ClusterVersion.h:133
Aws::Redshift::Model::ClusterVersion::ClusterParameterGroupFamilyHasBeenSet
bool ClusterParameterGroupFamilyHasBeenSet() const
Definition: ClusterVersion.h:92
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::Redshift::Model::ClusterVersion::WithClusterParameterGroupFamily
ClusterVersion & WithClusterParameterGroupFamily(const char *value)
Definition: ClusterVersion.h:122
Aws::Redshift::Model::ClusterVersion::WithDescription
ClusterVersion & WithDescription(Aws::String &&value)
Definition: ClusterVersion.h:158
Aws::Redshift::Model::ClusterVersion::operator=
ClusterVersion & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Redshift::Model::ClusterVersion::WithClusterParameterGroupFamily
ClusterVersion & WithClusterParameterGroupFamily(const Aws::String &value)
Definition: ClusterVersion.h:112
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::ClusterVersion::SetDescription
void SetDescription(Aws::String &&value)
Definition: ClusterVersion.h:143
index
int index
Definition: cJSON.h:181
Aws::Redshift::Model::ClusterVersion::WithClusterVersion
ClusterVersion & WithClusterVersion(const Aws::String &value)
Definition: ClusterVersion.h:71
Aws::Redshift::Model::ClusterVersion
Definition: ClusterVersion.h:33
Aws::Redshift::Model::ClusterVersion::GetClusterParameterGroupFamily
const Aws::String & GetClusterParameterGroupFamily() const
Definition: ClusterVersion.h:87
Aws::Redshift::Model::ClusterVersion::WithClusterVersion
ClusterVersion & WithClusterVersion(const char *value)
Definition: ClusterVersion.h:81
Aws::Redshift::Model::ClusterVersion::WithDescription
ClusterVersion & WithDescription(const Aws::String &value)
Definition: ClusterVersion.h:153
Aws::Redshift::Model::ClusterVersion::GetClusterVersion
const Aws::String & GetClusterVersion() const
Definition: ClusterVersion.h:46
Aws::Redshift::Model::ClusterVersion::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const