AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PendingModifiedValues.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
34 {
35 public:
36 AWS_REDSHIFT_API PendingModifiedValues();
37 AWS_REDSHIFT_API PendingModifiedValues(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_REDSHIFT_API PendingModifiedValues& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
49 inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; }
50 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
51 inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = value; }
52 inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::move(value); }
53 inline void SetMasterUserPassword(const char* value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword.assign(value); }
55 inline PendingModifiedValues& WithMasterUserPassword(Aws::String&& value) { SetMasterUserPassword(std::move(value)); return *this;}
56 inline PendingModifiedValues& WithMasterUserPassword(const char* value) { SetMasterUserPassword(value); return *this;}
58
60
63 inline const Aws::String& GetNodeType() const{ return m_nodeType; }
64 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
65 inline void SetNodeType(const Aws::String& value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; }
66 inline void SetNodeType(Aws::String&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::move(value); }
67 inline void SetNodeType(const char* value) { m_nodeTypeHasBeenSet = true; m_nodeType.assign(value); }
68 inline PendingModifiedValues& WithNodeType(const Aws::String& value) { SetNodeType(value); return *this;}
69 inline PendingModifiedValues& WithNodeType(Aws::String&& value) { SetNodeType(std::move(value)); return *this;}
70 inline PendingModifiedValues& WithNodeType(const char* value) { SetNodeType(value); return *this;}
72
74
77 inline int GetNumberOfNodes() const{ return m_numberOfNodes; }
78 inline bool NumberOfNodesHasBeenSet() const { return m_numberOfNodesHasBeenSet; }
79 inline void SetNumberOfNodes(int value) { m_numberOfNodesHasBeenSet = true; m_numberOfNodes = value; }
80 inline PendingModifiedValues& WithNumberOfNodes(int value) { SetNumberOfNodes(value); return *this;}
82
84
87 inline const Aws::String& GetClusterType() const{ return m_clusterType; }
88 inline bool ClusterTypeHasBeenSet() const { return m_clusterTypeHasBeenSet; }
89 inline void SetClusterType(const Aws::String& value) { m_clusterTypeHasBeenSet = true; m_clusterType = value; }
90 inline void SetClusterType(Aws::String&& value) { m_clusterTypeHasBeenSet = true; m_clusterType = std::move(value); }
91 inline void SetClusterType(const char* value) { m_clusterTypeHasBeenSet = true; m_clusterType.assign(value); }
92 inline PendingModifiedValues& WithClusterType(const Aws::String& value) { SetClusterType(value); return *this;}
93 inline PendingModifiedValues& WithClusterType(Aws::String&& value) { SetClusterType(std::move(value)); return *this;}
94 inline PendingModifiedValues& WithClusterType(const char* value) { SetClusterType(value); return *this;}
96
98
101 inline const Aws::String& GetClusterVersion() const{ return m_clusterVersion; }
102 inline bool ClusterVersionHasBeenSet() const { return m_clusterVersionHasBeenSet; }
103 inline void SetClusterVersion(const Aws::String& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = value; }
104 inline void SetClusterVersion(Aws::String&& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = std::move(value); }
105 inline void SetClusterVersion(const char* value) { m_clusterVersionHasBeenSet = true; m_clusterVersion.assign(value); }
106 inline PendingModifiedValues& WithClusterVersion(const Aws::String& value) { SetClusterVersion(value); return *this;}
107 inline PendingModifiedValues& WithClusterVersion(Aws::String&& value) { SetClusterVersion(std::move(value)); return *this;}
108 inline PendingModifiedValues& WithClusterVersion(const char* value) { SetClusterVersion(value); return *this;}
110
112
116 inline int GetAutomatedSnapshotRetentionPeriod() const{ return m_automatedSnapshotRetentionPeriod; }
117 inline bool AutomatedSnapshotRetentionPeriodHasBeenSet() const { return m_automatedSnapshotRetentionPeriodHasBeenSet; }
118 inline void SetAutomatedSnapshotRetentionPeriod(int value) { m_automatedSnapshotRetentionPeriodHasBeenSet = true; m_automatedSnapshotRetentionPeriod = value; }
121
123
126 inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
127 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
128 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
129 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
130 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
132 inline PendingModifiedValues& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
133 inline PendingModifiedValues& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
135
137
141 inline bool GetPubliclyAccessible() const{ return m_publiclyAccessible; }
142 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
143 inline void SetPubliclyAccessible(bool value) { m_publiclyAccessibleHasBeenSet = true; m_publiclyAccessible = value; }
144 inline PendingModifiedValues& WithPubliclyAccessible(bool value) { SetPubliclyAccessible(value); return *this;}
146
148
157 inline bool GetEnhancedVpcRouting() const{ return m_enhancedVpcRouting; }
158 inline bool EnhancedVpcRoutingHasBeenSet() const { return m_enhancedVpcRoutingHasBeenSet; }
159 inline void SetEnhancedVpcRouting(bool value) { m_enhancedVpcRoutingHasBeenSet = true; m_enhancedVpcRouting = value; }
160 inline PendingModifiedValues& WithEnhancedVpcRouting(bool value) { SetEnhancedVpcRouting(value); return *this;}
162
164
168 inline const Aws::String& GetMaintenanceTrackName() const{ return m_maintenanceTrackName; }
169 inline bool MaintenanceTrackNameHasBeenSet() const { return m_maintenanceTrackNameHasBeenSet; }
170 inline void SetMaintenanceTrackName(const Aws::String& value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName = value; }
171 inline void SetMaintenanceTrackName(Aws::String&& value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName = std::move(value); }
172 inline void SetMaintenanceTrackName(const char* value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName.assign(value); }
174 inline PendingModifiedValues& WithMaintenanceTrackName(Aws::String&& value) { SetMaintenanceTrackName(std::move(value)); return *this;}
175 inline PendingModifiedValues& WithMaintenanceTrackName(const char* value) { SetMaintenanceTrackName(value); return *this;}
177
179
182 inline const Aws::String& GetEncryptionType() const{ return m_encryptionType; }
183 inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; }
184 inline void SetEncryptionType(const Aws::String& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = value; }
185 inline void SetEncryptionType(Aws::String&& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = std::move(value); }
186 inline void SetEncryptionType(const char* value) { m_encryptionTypeHasBeenSet = true; m_encryptionType.assign(value); }
187 inline PendingModifiedValues& WithEncryptionType(const Aws::String& value) { SetEncryptionType(value); return *this;}
188 inline PendingModifiedValues& WithEncryptionType(Aws::String&& value) { SetEncryptionType(std::move(value)); return *this;}
189 inline PendingModifiedValues& WithEncryptionType(const char* value) { SetEncryptionType(value); return *this;}
191 private:
192
193 Aws::String m_masterUserPassword;
194 bool m_masterUserPasswordHasBeenSet = false;
195
196 Aws::String m_nodeType;
197 bool m_nodeTypeHasBeenSet = false;
198
199 int m_numberOfNodes;
200 bool m_numberOfNodesHasBeenSet = false;
201
202 Aws::String m_clusterType;
203 bool m_clusterTypeHasBeenSet = false;
204
205 Aws::String m_clusterVersion;
206 bool m_clusterVersionHasBeenSet = false;
207
208 int m_automatedSnapshotRetentionPeriod;
209 bool m_automatedSnapshotRetentionPeriodHasBeenSet = false;
210
211 Aws::String m_clusterIdentifier;
212 bool m_clusterIdentifierHasBeenSet = false;
213
214 bool m_publiclyAccessible;
215 bool m_publiclyAccessibleHasBeenSet = false;
216
217 bool m_enhancedVpcRouting;
218 bool m_enhancedVpcRoutingHasBeenSet = false;
219
220 Aws::String m_maintenanceTrackName;
221 bool m_maintenanceTrackNameHasBeenSet = false;
222
223 Aws::String m_encryptionType;
224 bool m_encryptionTypeHasBeenSet = false;
225 };
226
227} // namespace Model
228} // namespace Redshift
229} // namespace Aws
AWS_REDSHIFT_API PendingModifiedValues & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PendingModifiedValues & WithClusterVersion(const Aws::String &value)
AWS_REDSHIFT_API PendingModifiedValues(const Aws::Utils::Xml::XmlNode &xmlNode)
PendingModifiedValues & WithClusterIdentifier(const Aws::String &value)
PendingModifiedValues & WithClusterType(Aws::String &&value)
PendingModifiedValues & WithNodeType(const Aws::String &value)
PendingModifiedValues & WithClusterType(const char *value)
PendingModifiedValues & WithEnhancedVpcRouting(bool value)
PendingModifiedValues & WithMaintenanceTrackName(const char *value)
PendingModifiedValues & WithMasterUserPassword(Aws::String &&value)
PendingModifiedValues & WithClusterVersion(const char *value)
PendingModifiedValues & WithMasterUserPassword(const char *value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PendingModifiedValues & WithClusterVersion(Aws::String &&value)
PendingModifiedValues & WithClusterIdentifier(const char *value)
PendingModifiedValues & WithAutomatedSnapshotRetentionPeriod(int value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
PendingModifiedValues & WithEncryptionType(const char *value)
PendingModifiedValues & WithMaintenanceTrackName(Aws::String &&value)
PendingModifiedValues & WithMasterUserPassword(const Aws::String &value)
PendingModifiedValues & WithMaintenanceTrackName(const Aws::String &value)
void SetMasterUserPassword(const Aws::String &value)
PendingModifiedValues & WithEncryptionType(Aws::String &&value)
PendingModifiedValues & WithPubliclyAccessible(bool value)
PendingModifiedValues & WithNumberOfNodes(int value)
void SetMaintenanceTrackName(const Aws::String &value)
PendingModifiedValues & WithNodeType(const char *value)
PendingModifiedValues & WithClusterType(const Aws::String &value)
PendingModifiedValues & WithEncryptionType(const Aws::String &value)
void SetClusterIdentifier(const Aws::String &value)
PendingModifiedValues & WithClusterIdentifier(Aws::String &&value)
PendingModifiedValues & WithNodeType(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream