AWS SDK for C++  1.9.104
AWS SDK for C++
ResizeClusterMessage.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& GetClusterIdentifier() const{ return m_clusterIdentifier; }
47 
51  inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
52 
56  inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
57 
61  inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
62 
66  inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
67 
71  inline ResizeClusterMessage& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
72 
76  inline ResizeClusterMessage& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
77 
81  inline ResizeClusterMessage& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
82 
83 
87  inline const Aws::String& GetClusterType() const{ return m_clusterType; }
88 
92  inline bool ClusterTypeHasBeenSet() const { return m_clusterTypeHasBeenSet; }
93 
97  inline void SetClusterType(const Aws::String& value) { m_clusterTypeHasBeenSet = true; m_clusterType = value; }
98 
102  inline void SetClusterType(Aws::String&& value) { m_clusterTypeHasBeenSet = true; m_clusterType = std::move(value); }
103 
107  inline void SetClusterType(const char* value) { m_clusterTypeHasBeenSet = true; m_clusterType.assign(value); }
108 
112  inline ResizeClusterMessage& WithClusterType(const Aws::String& value) { SetClusterType(value); return *this;}
113 
117  inline ResizeClusterMessage& WithClusterType(Aws::String&& value) { SetClusterType(std::move(value)); return *this;}
118 
122  inline ResizeClusterMessage& WithClusterType(const char* value) { SetClusterType(value); return *this;}
123 
124 
129  inline const Aws::String& GetNodeType() const{ return m_nodeType; }
130 
135  inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
136 
141  inline void SetNodeType(const Aws::String& value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; }
142 
147  inline void SetNodeType(Aws::String&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::move(value); }
148 
153  inline void SetNodeType(const char* value) { m_nodeTypeHasBeenSet = true; m_nodeType.assign(value); }
154 
159  inline ResizeClusterMessage& WithNodeType(const Aws::String& value) { SetNodeType(value); return *this;}
160 
165  inline ResizeClusterMessage& WithNodeType(Aws::String&& value) { SetNodeType(std::move(value)); return *this;}
166 
171  inline ResizeClusterMessage& WithNodeType(const char* value) { SetNodeType(value); return *this;}
172 
173 
178  inline int GetNumberOfNodes() const{ return m_numberOfNodes; }
179 
184  inline bool NumberOfNodesHasBeenSet() const { return m_numberOfNodesHasBeenSet; }
185 
190  inline void SetNumberOfNodes(int value) { m_numberOfNodesHasBeenSet = true; m_numberOfNodes = value; }
191 
196  inline ResizeClusterMessage& WithNumberOfNodes(int value) { SetNumberOfNodes(value); return *this;}
197 
198 
204  inline bool GetClassic() const{ return m_classic; }
205 
211  inline bool ClassicHasBeenSet() const { return m_classicHasBeenSet; }
212 
218  inline void SetClassic(bool value) { m_classicHasBeenSet = true; m_classic = value; }
219 
225  inline ResizeClusterMessage& WithClassic(bool value) { SetClassic(value); return *this;}
226 
227  private:
228 
229  Aws::String m_clusterIdentifier;
230  bool m_clusterIdentifierHasBeenSet;
231 
232  Aws::String m_clusterType;
233  bool m_clusterTypeHasBeenSet;
234 
235  Aws::String m_nodeType;
236  bool m_nodeTypeHasBeenSet;
237 
238  int m_numberOfNodes;
239  bool m_numberOfNodesHasBeenSet;
240 
241  bool m_classic;
242  bool m_classicHasBeenSet;
243  };
244 
245 } // namespace Model
246 } // namespace Redshift
247 } // namespace Aws
Aws::Redshift::Model::ResizeClusterMessage::WithClusterType
ResizeClusterMessage & WithClusterType(Aws::String &&value)
Definition: ResizeClusterMessage.h:117
Aws::Redshift::Model::ResizeClusterMessage::ClusterTypeHasBeenSet
bool ClusterTypeHasBeenSet() const
Definition: ResizeClusterMessage.h:92
Aws::Redshift::Model::ResizeClusterMessage::WithClusterIdentifier
ResizeClusterMessage & WithClusterIdentifier(const Aws::String &value)
Definition: ResizeClusterMessage.h:71
Aws::Redshift::Model::ResizeClusterMessage::WithClusterType
ResizeClusterMessage & WithClusterType(const char *value)
Definition: ResizeClusterMessage.h:122
Aws::Redshift::Model::ResizeClusterMessage::WithNodeType
ResizeClusterMessage & WithNodeType(const Aws::String &value)
Definition: ResizeClusterMessage.h:159
Aws::Redshift::Model::ResizeClusterMessage::SetNodeType
void SetNodeType(const Aws::String &value)
Definition: ResizeClusterMessage.h:141
Aws::Redshift::Model::ResizeClusterMessage::ResizeClusterMessage
ResizeClusterMessage(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Redshift::Model::ResizeClusterMessage::GetClusterIdentifier
const Aws::String & GetClusterIdentifier() const
Definition: ResizeClusterMessage.h:46
Aws::Redshift::Model::ResizeClusterMessage::ResizeClusterMessage
ResizeClusterMessage()
Aws::Redshift::Model::ResizeClusterMessage::GetClusterType
const Aws::String & GetClusterType() const
Definition: ResizeClusterMessage.h:87
Aws::Redshift::Model::ResizeClusterMessage::WithClusterType
ResizeClusterMessage & WithClusterType(const Aws::String &value)
Definition: ResizeClusterMessage.h:112
Aws::Redshift::Model::ResizeClusterMessage::GetNodeType
const Aws::String & GetNodeType() const
Definition: ResizeClusterMessage.h:129
Aws::Redshift::Model::ResizeClusterMessage::GetClassic
bool GetClassic() const
Definition: ResizeClusterMessage.h:204
Aws::Redshift::Model::ResizeClusterMessage::SetNodeType
void SetNodeType(const char *value)
Definition: ResizeClusterMessage.h:153
AWSStreamFwd.h
Aws::Redshift::Model::ResizeClusterMessage::SetClusterIdentifier
void SetClusterIdentifier(const char *value)
Definition: ResizeClusterMessage.h:66
Aws::Redshift::Model::ResizeClusterMessage::WithNodeType
ResizeClusterMessage & WithNodeType(const char *value)
Definition: ResizeClusterMessage.h:171
Aws::Redshift::Model::ResizeClusterMessage::SetClassic
void SetClassic(bool value)
Definition: ResizeClusterMessage.h:218
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Redshift::Model::ResizeClusterMessage::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::Redshift::Model::ResizeClusterMessage::WithClassic
ResizeClusterMessage & WithClassic(bool value)
Definition: ResizeClusterMessage.h:225
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::ResizeClusterMessage::ClusterIdentifierHasBeenSet
bool ClusterIdentifierHasBeenSet() const
Definition: ResizeClusterMessage.h:51
Aws::Redshift::Model::ResizeClusterMessage::SetClusterType
void SetClusterType(const Aws::String &value)
Definition: ResizeClusterMessage.h:97
Aws::Redshift::Model::ResizeClusterMessage::WithClusterIdentifier
ResizeClusterMessage & WithClusterIdentifier(Aws::String &&value)
Definition: ResizeClusterMessage.h:76
AWSString.h
Aws::Redshift::Model::ResizeClusterMessage::NumberOfNodesHasBeenSet
bool NumberOfNodesHasBeenSet() const
Definition: ResizeClusterMessage.h:184
Aws::Redshift::Model::ResizeClusterMessage::GetNumberOfNodes
int GetNumberOfNodes() const
Definition: ResizeClusterMessage.h:178
Aws::Redshift::Model::ResizeClusterMessage::ClassicHasBeenSet
bool ClassicHasBeenSet() const
Definition: ResizeClusterMessage.h:211
Aws::Redshift::Model::ResizeClusterMessage::operator=
ResizeClusterMessage & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Redshift::Model::ResizeClusterMessage::WithClusterIdentifier
ResizeClusterMessage & WithClusterIdentifier(const char *value)
Definition: ResizeClusterMessage.h:81
Aws::Redshift::Model::ResizeClusterMessage::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::Redshift::Model::ResizeClusterMessage::SetClusterType
void SetClusterType(Aws::String &&value)
Definition: ResizeClusterMessage.h:102
Aws::Redshift::Model::ResizeClusterMessage::SetClusterType
void SetClusterType(const char *value)
Definition: ResizeClusterMessage.h:107
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
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::Redshift::Model::ResizeClusterMessage::SetNodeType
void SetNodeType(Aws::String &&value)
Definition: ResizeClusterMessage.h:147
Aws::Redshift::Model::ResizeClusterMessage::SetClusterIdentifier
void SetClusterIdentifier(const Aws::String &value)
Definition: ResizeClusterMessage.h:56
Aws::Redshift::Model::ResizeClusterMessage::WithNodeType
ResizeClusterMessage & WithNodeType(Aws::String &&value)
Definition: ResizeClusterMessage.h:165
Aws::Redshift::Model::ResizeClusterMessage::SetClusterIdentifier
void SetClusterIdentifier(Aws::String &&value)
Definition: ResizeClusterMessage.h:61
Aws::Redshift::Model::ResizeClusterMessage::SetNumberOfNodes
void SetNumberOfNodes(int value)
Definition: ResizeClusterMessage.h:190
Aws::Redshift::Model::ResizeClusterMessage::WithNumberOfNodes
ResizeClusterMessage & WithNumberOfNodes(int value)
Definition: ResizeClusterMessage.h:196
Aws::Redshift::Model::ResizeClusterMessage
Definition: ResizeClusterMessage.h:33
Aws::Redshift::Model::ResizeClusterMessage::NodeTypeHasBeenSet
bool NodeTypeHasBeenSet() const
Definition: ResizeClusterMessage.h:135