AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
ClusterPendingModifiedValues.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/neptune/Neptune_EXPORTS.h>
10#include <aws/neptune/model/PendingCloudwatchLogsExports.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace Neptune {
21namespace Model {
22
31 public:
32 AWS_NEPTUNE_API ClusterPendingModifiedValues() = default;
35
36 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
37 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
38
40
44 inline const PendingCloudwatchLogsExports& GetPendingCloudwatchLogsExports() const { return m_pendingCloudwatchLogsExports; }
45 inline bool PendingCloudwatchLogsExportsHasBeenSet() const { return m_pendingCloudwatchLogsExportsHasBeenSet; }
46 template <typename PendingCloudwatchLogsExportsT = PendingCloudwatchLogsExports>
47 void SetPendingCloudwatchLogsExports(PendingCloudwatchLogsExportsT&& value) {
48 m_pendingCloudwatchLogsExportsHasBeenSet = true;
49 m_pendingCloudwatchLogsExports = std::forward<PendingCloudwatchLogsExportsT>(value);
50 }
51 template <typename PendingCloudwatchLogsExportsT = PendingCloudwatchLogsExports>
52 ClusterPendingModifiedValues& WithPendingCloudwatchLogsExports(PendingCloudwatchLogsExportsT&& value) {
53 SetPendingCloudwatchLogsExports(std::forward<PendingCloudwatchLogsExportsT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
63 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
64 template <typename DBClusterIdentifierT = Aws::String>
65 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) {
66 m_dBClusterIdentifierHasBeenSet = true;
67 m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value);
68 }
69 template <typename DBClusterIdentifierT = Aws::String>
71 SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value));
72 return *this;
73 }
75
77
81 inline bool GetIAMDatabaseAuthenticationEnabled() const { return m_iAMDatabaseAuthenticationEnabled; }
82 inline bool IAMDatabaseAuthenticationEnabledHasBeenSet() const { return m_iAMDatabaseAuthenticationEnabledHasBeenSet; }
83 inline void SetIAMDatabaseAuthenticationEnabled(bool value) {
84 m_iAMDatabaseAuthenticationEnabledHasBeenSet = true;
85 m_iAMDatabaseAuthenticationEnabled = value;
86 }
89 return *this;
90 }
92
94
97 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
98 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
99 template <typename EngineVersionT = Aws::String>
100 void SetEngineVersion(EngineVersionT&& value) {
101 m_engineVersionHasBeenSet = true;
102 m_engineVersion = std::forward<EngineVersionT>(value);
103 }
104 template <typename EngineVersionT = Aws::String>
106 SetEngineVersion(std::forward<EngineVersionT>(value));
107 return *this;
108 }
110
112
115 inline int GetBackupRetentionPeriod() const { return m_backupRetentionPeriod; }
116 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
117 inline void SetBackupRetentionPeriod(int value) {
118 m_backupRetentionPeriodHasBeenSet = true;
119 m_backupRetentionPeriod = value;
120 }
123 return *this;
124 }
126
128
139 inline const Aws::String& GetStorageType() const { return m_storageType; }
140 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
141 template <typename StorageTypeT = Aws::String>
142 void SetStorageType(StorageTypeT&& value) {
143 m_storageTypeHasBeenSet = true;
144 m_storageType = std::forward<StorageTypeT>(value);
145 }
146 template <typename StorageTypeT = Aws::String>
148 SetStorageType(std::forward<StorageTypeT>(value));
149 return *this;
150 }
152
154
160 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
161 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
162 inline void SetAllocatedStorage(int value) {
163 m_allocatedStorageHasBeenSet = true;
164 m_allocatedStorage = value;
165 }
167 SetAllocatedStorage(value);
168 return *this;
169 }
171
173
177 inline int GetIops() const { return m_iops; }
178 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
179 inline void SetIops(int value) {
180 m_iopsHasBeenSet = true;
181 m_iops = value;
182 }
184 SetIops(value);
185 return *this;
186 }
188 private:
189 PendingCloudwatchLogsExports m_pendingCloudwatchLogsExports;
190
191 Aws::String m_dBClusterIdentifier;
192
193 bool m_iAMDatabaseAuthenticationEnabled{false};
194
195 Aws::String m_engineVersion;
196
197 int m_backupRetentionPeriod{0};
198
199 Aws::String m_storageType;
200
201 int m_allocatedStorage{0};
202
203 int m_iops{0};
204 bool m_pendingCloudwatchLogsExportsHasBeenSet = false;
205 bool m_dBClusterIdentifierHasBeenSet = false;
206 bool m_iAMDatabaseAuthenticationEnabledHasBeenSet = false;
207 bool m_engineVersionHasBeenSet = false;
208 bool m_backupRetentionPeriodHasBeenSet = false;
209 bool m_storageTypeHasBeenSet = false;
210 bool m_allocatedStorageHasBeenSet = false;
211 bool m_iopsHasBeenSet = false;
212};
213
214} // namespace Model
215} // namespace Neptune
216} // namespace Aws
ClusterPendingModifiedValues & WithStorageType(StorageTypeT &&value)
const PendingCloudwatchLogsExports & GetPendingCloudwatchLogsExports() const
AWS_NEPTUNE_API ClusterPendingModifiedValues(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ClusterPendingModifiedValues & WithPendingCloudwatchLogsExports(PendingCloudwatchLogsExportsT &&value)
ClusterPendingModifiedValues & WithAllocatedStorage(int value)
ClusterPendingModifiedValues & WithBackupRetentionPeriod(int value)
void SetPendingCloudwatchLogsExports(PendingCloudwatchLogsExportsT &&value)
ClusterPendingModifiedValues & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
AWS_NEPTUNE_API ClusterPendingModifiedValues & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ClusterPendingModifiedValues & WithIAMDatabaseAuthenticationEnabled(bool value)
ClusterPendingModifiedValues & WithEngineVersion(EngineVersionT &&value)
AWS_NEPTUNE_API ClusterPendingModifiedValues()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream