AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResizeClusterMessage.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 ResizeClusterMessage();
36 AWS_REDSHIFT_API ResizeClusterMessage(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_REDSHIFT_API ResizeClusterMessage& 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& GetClusterIdentifier() const{ return m_clusterIdentifier; }
48 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
49 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
50 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
51 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
52 inline ResizeClusterMessage& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
53 inline ResizeClusterMessage& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
54 inline ResizeClusterMessage& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
56
58
61 inline const Aws::String& GetClusterType() const{ return m_clusterType; }
62 inline bool ClusterTypeHasBeenSet() const { return m_clusterTypeHasBeenSet; }
63 inline void SetClusterType(const Aws::String& value) { m_clusterTypeHasBeenSet = true; m_clusterType = value; }
64 inline void SetClusterType(Aws::String&& value) { m_clusterTypeHasBeenSet = true; m_clusterType = std::move(value); }
65 inline void SetClusterType(const char* value) { m_clusterTypeHasBeenSet = true; m_clusterType.assign(value); }
66 inline ResizeClusterMessage& WithClusterType(const Aws::String& value) { SetClusterType(value); return *this;}
67 inline ResizeClusterMessage& WithClusterType(Aws::String&& value) { SetClusterType(std::move(value)); return *this;}
68 inline ResizeClusterMessage& WithClusterType(const char* value) { SetClusterType(value); return *this;}
70
72
76 inline const Aws::String& GetNodeType() const{ return m_nodeType; }
77 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
78 inline void SetNodeType(const Aws::String& value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; }
79 inline void SetNodeType(Aws::String&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::move(value); }
80 inline void SetNodeType(const char* value) { m_nodeTypeHasBeenSet = true; m_nodeType.assign(value); }
81 inline ResizeClusterMessage& WithNodeType(const Aws::String& value) { SetNodeType(value); return *this;}
82 inline ResizeClusterMessage& WithNodeType(Aws::String&& value) { SetNodeType(std::move(value)); return *this;}
83 inline ResizeClusterMessage& WithNodeType(const char* value) { SetNodeType(value); return *this;}
85
87
91 inline int GetNumberOfNodes() const{ return m_numberOfNodes; }
92 inline bool NumberOfNodesHasBeenSet() const { return m_numberOfNodesHasBeenSet; }
93 inline void SetNumberOfNodes(int value) { m_numberOfNodesHasBeenSet = true; m_numberOfNodes = value; }
94 inline ResizeClusterMessage& WithNumberOfNodes(int value) { SetNumberOfNodes(value); return *this;}
96
98
103 inline bool GetClassic() const{ return m_classic; }
104 inline bool ClassicHasBeenSet() const { return m_classicHasBeenSet; }
105 inline void SetClassic(bool value) { m_classicHasBeenSet = true; m_classic = value; }
106 inline ResizeClusterMessage& WithClassic(bool value) { SetClassic(value); return *this;}
108
110
113 inline const Aws::String& GetReservedNodeId() const{ return m_reservedNodeId; }
114 inline bool ReservedNodeIdHasBeenSet() const { return m_reservedNodeIdHasBeenSet; }
115 inline void SetReservedNodeId(const Aws::String& value) { m_reservedNodeIdHasBeenSet = true; m_reservedNodeId = value; }
116 inline void SetReservedNodeId(Aws::String&& value) { m_reservedNodeIdHasBeenSet = true; m_reservedNodeId = std::move(value); }
117 inline void SetReservedNodeId(const char* value) { m_reservedNodeIdHasBeenSet = true; m_reservedNodeId.assign(value); }
118 inline ResizeClusterMessage& WithReservedNodeId(const Aws::String& value) { SetReservedNodeId(value); return *this;}
119 inline ResizeClusterMessage& WithReservedNodeId(Aws::String&& value) { SetReservedNodeId(std::move(value)); return *this;}
120 inline ResizeClusterMessage& WithReservedNodeId(const char* value) { SetReservedNodeId(value); return *this;}
122
124
127 inline const Aws::String& GetTargetReservedNodeOfferingId() const{ return m_targetReservedNodeOfferingId; }
128 inline bool TargetReservedNodeOfferingIdHasBeenSet() const { return m_targetReservedNodeOfferingIdHasBeenSet; }
129 inline void SetTargetReservedNodeOfferingId(const Aws::String& value) { m_targetReservedNodeOfferingIdHasBeenSet = true; m_targetReservedNodeOfferingId = value; }
130 inline void SetTargetReservedNodeOfferingId(Aws::String&& value) { m_targetReservedNodeOfferingIdHasBeenSet = true; m_targetReservedNodeOfferingId = std::move(value); }
131 inline void SetTargetReservedNodeOfferingId(const char* value) { m_targetReservedNodeOfferingIdHasBeenSet = true; m_targetReservedNodeOfferingId.assign(value); }
136 private:
137
138 Aws::String m_clusterIdentifier;
139 bool m_clusterIdentifierHasBeenSet = false;
140
141 Aws::String m_clusterType;
142 bool m_clusterTypeHasBeenSet = false;
143
144 Aws::String m_nodeType;
145 bool m_nodeTypeHasBeenSet = false;
146
147 int m_numberOfNodes;
148 bool m_numberOfNodesHasBeenSet = false;
149
150 bool m_classic;
151 bool m_classicHasBeenSet = false;
152
153 Aws::String m_reservedNodeId;
154 bool m_reservedNodeIdHasBeenSet = false;
155
156 Aws::String m_targetReservedNodeOfferingId;
157 bool m_targetReservedNodeOfferingIdHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace Redshift
162} // namespace Aws
ResizeClusterMessage & WithClassic(bool value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ResizeClusterMessage & WithTargetReservedNodeOfferingId(const char *value)
ResizeClusterMessage & WithClusterIdentifier(const char *value)
void SetClusterIdentifier(const Aws::String &value)
ResizeClusterMessage & WithClusterType(Aws::String &&value)
const Aws::String & GetTargetReservedNodeOfferingId() const
ResizeClusterMessage & WithReservedNodeId(const char *value)
void SetClusterType(const Aws::String &value)
ResizeClusterMessage & WithTargetReservedNodeOfferingId(Aws::String &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_REDSHIFT_API ResizeClusterMessage(const Aws::Utils::Xml::XmlNode &xmlNode)
ResizeClusterMessage & WithNodeType(const char *value)
ResizeClusterMessage & WithReservedNodeId(Aws::String &&value)
void SetTargetReservedNodeOfferingId(const Aws::String &value)
ResizeClusterMessage & WithClusterIdentifier(const Aws::String &value)
ResizeClusterMessage & WithNodeType(Aws::String &&value)
ResizeClusterMessage & WithClusterIdentifier(Aws::String &&value)
ResizeClusterMessage & WithClusterType(const Aws::String &value)
ResizeClusterMessage & WithReservedNodeId(const Aws::String &value)
ResizeClusterMessage & WithNumberOfNodes(int value)
void SetReservedNodeId(const Aws::String &value)
AWS_REDSHIFT_API ResizeClusterMessage & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTargetReservedNodeOfferingId(Aws::String &&value)
ResizeClusterMessage & WithNodeType(const Aws::String &value)
ResizeClusterMessage & WithTargetReservedNodeOfferingId(const Aws::String &value)
ResizeClusterMessage & WithClusterType(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream