AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ClusterPendingModifiedValues.h
1
6#pragma once
7#include <aws/neptune/Neptune_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/neptune/model/PendingCloudwatchLogsExports.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace Neptune
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_NEPTUNE_API ClusterPendingModifiedValues() = default;
40
41 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
50 inline const PendingCloudwatchLogsExports& GetPendingCloudwatchLogsExports() const { return m_pendingCloudwatchLogsExports; }
51 inline bool PendingCloudwatchLogsExportsHasBeenSet() const { return m_pendingCloudwatchLogsExportsHasBeenSet; }
52 template<typename PendingCloudwatchLogsExportsT = PendingCloudwatchLogsExports>
53 void SetPendingCloudwatchLogsExports(PendingCloudwatchLogsExportsT&& value) { m_pendingCloudwatchLogsExportsHasBeenSet = true; m_pendingCloudwatchLogsExports = std::forward<PendingCloudwatchLogsExportsT>(value); }
54 template<typename PendingCloudwatchLogsExportsT = PendingCloudwatchLogsExports>
55 ClusterPendingModifiedValues& WithPendingCloudwatchLogsExports(PendingCloudwatchLogsExportsT&& value) { SetPendingCloudwatchLogsExports(std::forward<PendingCloudwatchLogsExportsT>(value)); return *this;}
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) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value); }
66 template<typename DBClusterIdentifierT = Aws::String>
67 ClusterPendingModifiedValues& WithDBClusterIdentifier(DBClusterIdentifierT&& value) { SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value)); return *this;}
69
71
75 inline bool GetIAMDatabaseAuthenticationEnabled() const { return m_iAMDatabaseAuthenticationEnabled; }
76 inline bool IAMDatabaseAuthenticationEnabledHasBeenSet() const { return m_iAMDatabaseAuthenticationEnabledHasBeenSet; }
77 inline void SetIAMDatabaseAuthenticationEnabled(bool value) { m_iAMDatabaseAuthenticationEnabledHasBeenSet = true; m_iAMDatabaseAuthenticationEnabled = value; }
80
82
85 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
86 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
87 template<typename EngineVersionT = Aws::String>
88 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::forward<EngineVersionT>(value); }
89 template<typename EngineVersionT = Aws::String>
90 ClusterPendingModifiedValues& WithEngineVersion(EngineVersionT&& value) { SetEngineVersion(std::forward<EngineVersionT>(value)); return *this;}
92
94
97 inline int GetBackupRetentionPeriod() const { return m_backupRetentionPeriod; }
98 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
99 inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; }
102
104
115 inline const Aws::String& GetStorageType() const { return m_storageType; }
116 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
117 template<typename StorageTypeT = Aws::String>
118 void SetStorageType(StorageTypeT&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::forward<StorageTypeT>(value); }
119 template<typename StorageTypeT = Aws::String>
120 ClusterPendingModifiedValues& WithStorageType(StorageTypeT&& value) { SetStorageType(std::forward<StorageTypeT>(value)); return *this;}
122
124
130 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
131 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
132 inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; }
135
137
141 inline int GetIops() const { return m_iops; }
142 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
143 inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; }
144 inline ClusterPendingModifiedValues& WithIops(int value) { SetIops(value); return *this;}
146 private:
147
148 PendingCloudwatchLogsExports m_pendingCloudwatchLogsExports;
149 bool m_pendingCloudwatchLogsExportsHasBeenSet = false;
150
151 Aws::String m_dBClusterIdentifier;
152 bool m_dBClusterIdentifierHasBeenSet = false;
153
154 bool m_iAMDatabaseAuthenticationEnabled{false};
155 bool m_iAMDatabaseAuthenticationEnabledHasBeenSet = false;
156
157 Aws::String m_engineVersion;
158 bool m_engineVersionHasBeenSet = false;
159
160 int m_backupRetentionPeriod{0};
161 bool m_backupRetentionPeriodHasBeenSet = false;
162
163 Aws::String m_storageType;
164 bool m_storageTypeHasBeenSet = false;
165
166 int m_allocatedStorage{0};
167 bool m_allocatedStorageHasBeenSet = false;
168
169 int m_iops{0};
170 bool m_iopsHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace Neptune
175} // 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