AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OrderableReplicationInstance.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/dms/model/ReleaseStatusValues.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DatabaseMigrationService
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_DATABASEMIGRATIONSERVICE_API OrderableReplicationInstance();
40 AWS_DATABASEMIGRATIONSERVICE_API OrderableReplicationInstance(Aws::Utils::Json::JsonView jsonValue);
41 AWS_DATABASEMIGRATIONSERVICE_API OrderableReplicationInstance& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
50 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
51 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
52 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
53 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
54 inline OrderableReplicationInstance& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
55 inline OrderableReplicationInstance& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
56 inline OrderableReplicationInstance& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
58
60
69 inline const Aws::String& GetReplicationInstanceClass() const{ return m_replicationInstanceClass; }
70 inline bool ReplicationInstanceClassHasBeenSet() const { return m_replicationInstanceClassHasBeenSet; }
71 inline void SetReplicationInstanceClass(const Aws::String& value) { m_replicationInstanceClassHasBeenSet = true; m_replicationInstanceClass = value; }
72 inline void SetReplicationInstanceClass(Aws::String&& value) { m_replicationInstanceClassHasBeenSet = true; m_replicationInstanceClass = std::move(value); }
73 inline void SetReplicationInstanceClass(const char* value) { m_replicationInstanceClassHasBeenSet = true; m_replicationInstanceClass.assign(value); }
78
80
83 inline const Aws::String& GetStorageType() const{ return m_storageType; }
84 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
85 inline void SetStorageType(const Aws::String& value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
86 inline void SetStorageType(Aws::String&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); }
87 inline void SetStorageType(const char* value) { m_storageTypeHasBeenSet = true; m_storageType.assign(value); }
88 inline OrderableReplicationInstance& WithStorageType(const Aws::String& value) { SetStorageType(value); return *this;}
89 inline OrderableReplicationInstance& WithStorageType(Aws::String&& value) { SetStorageType(std::move(value)); return *this;}
90 inline OrderableReplicationInstance& WithStorageType(const char* value) { SetStorageType(value); return *this;}
92
94
98 inline int GetMinAllocatedStorage() const{ return m_minAllocatedStorage; }
99 inline bool MinAllocatedStorageHasBeenSet() const { return m_minAllocatedStorageHasBeenSet; }
100 inline void SetMinAllocatedStorage(int value) { m_minAllocatedStorageHasBeenSet = true; m_minAllocatedStorage = value; }
103
105
109 inline int GetMaxAllocatedStorage() const{ return m_maxAllocatedStorage; }
110 inline bool MaxAllocatedStorageHasBeenSet() const { return m_maxAllocatedStorageHasBeenSet; }
111 inline void SetMaxAllocatedStorage(int value) { m_maxAllocatedStorageHasBeenSet = true; m_maxAllocatedStorage = value; }
114
116
120 inline int GetDefaultAllocatedStorage() const{ return m_defaultAllocatedStorage; }
121 inline bool DefaultAllocatedStorageHasBeenSet() const { return m_defaultAllocatedStorageHasBeenSet; }
122 inline void SetDefaultAllocatedStorage(int value) { m_defaultAllocatedStorageHasBeenSet = true; m_defaultAllocatedStorage = value; }
125
127
131 inline int GetIncludedAllocatedStorage() const{ return m_includedAllocatedStorage; }
132 inline bool IncludedAllocatedStorageHasBeenSet() const { return m_includedAllocatedStorageHasBeenSet; }
133 inline void SetIncludedAllocatedStorage(int value) { m_includedAllocatedStorageHasBeenSet = true; m_includedAllocatedStorage = value; }
136
138
141 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const{ return m_availabilityZones; }
142 inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
143 inline void SetAvailabilityZones(const Aws::Vector<Aws::String>& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = value; }
144 inline void SetAvailabilityZones(Aws::Vector<Aws::String>&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::move(value); }
147 inline OrderableReplicationInstance& AddAvailabilityZones(const Aws::String& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
148 inline OrderableReplicationInstance& AddAvailabilityZones(Aws::String&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; }
149 inline OrderableReplicationInstance& AddAvailabilityZones(const char* value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
151
153
159 inline const ReleaseStatusValues& GetReleaseStatus() const{ return m_releaseStatus; }
160 inline bool ReleaseStatusHasBeenSet() const { return m_releaseStatusHasBeenSet; }
161 inline void SetReleaseStatus(const ReleaseStatusValues& value) { m_releaseStatusHasBeenSet = true; m_releaseStatus = value; }
162 inline void SetReleaseStatus(ReleaseStatusValues&& value) { m_releaseStatusHasBeenSet = true; m_releaseStatus = std::move(value); }
164 inline OrderableReplicationInstance& WithReleaseStatus(ReleaseStatusValues&& value) { SetReleaseStatus(std::move(value)); return *this;}
166 private:
167
168 Aws::String m_engineVersion;
169 bool m_engineVersionHasBeenSet = false;
170
171 Aws::String m_replicationInstanceClass;
172 bool m_replicationInstanceClassHasBeenSet = false;
173
174 Aws::String m_storageType;
175 bool m_storageTypeHasBeenSet = false;
176
177 int m_minAllocatedStorage;
178 bool m_minAllocatedStorageHasBeenSet = false;
179
180 int m_maxAllocatedStorage;
181 bool m_maxAllocatedStorageHasBeenSet = false;
182
183 int m_defaultAllocatedStorage;
184 bool m_defaultAllocatedStorageHasBeenSet = false;
185
186 int m_includedAllocatedStorage;
187 bool m_includedAllocatedStorageHasBeenSet = false;
188
189 Aws::Vector<Aws::String> m_availabilityZones;
190 bool m_availabilityZonesHasBeenSet = false;
191
192 ReleaseStatusValues m_releaseStatus;
193 bool m_releaseStatusHasBeenSet = false;
194 };
195
196} // namespace Model
197} // namespace DatabaseMigrationService
198} // namespace Aws
OrderableReplicationInstance & WithReplicationInstanceClass(Aws::String &&value)
OrderableReplicationInstance & WithReplicationInstanceClass(const Aws::String &value)
OrderableReplicationInstance & AddAvailabilityZones(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
OrderableReplicationInstance & WithReplicationInstanceClass(const char *value)
OrderableReplicationInstance & WithStorageType(Aws::String &&value)
OrderableReplicationInstance & WithStorageType(const Aws::String &value)
OrderableReplicationInstance & WithEngineVersion(Aws::String &&value)
OrderableReplicationInstance & WithAvailabilityZones(Aws::Vector< Aws::String > &&value)
OrderableReplicationInstance & WithReleaseStatus(ReleaseStatusValues &&value)
OrderableReplicationInstance & WithReleaseStatus(const ReleaseStatusValues &value)
AWS_DATABASEMIGRATIONSERVICE_API OrderableReplicationInstance & operator=(Aws::Utils::Json::JsonView jsonValue)
OrderableReplicationInstance & AddAvailabilityZones(const Aws::String &value)
OrderableReplicationInstance & WithEngineVersion(const Aws::String &value)
OrderableReplicationInstance & WithAvailabilityZones(const Aws::Vector< Aws::String > &value)
AWS_DATABASEMIGRATIONSERVICE_API OrderableReplicationInstance(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue