AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ReplicationPendingModifiedValues.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DatabaseMigrationService {
20namespace Model {
21
32 public:
33 AWS_DATABASEMIGRATIONSERVICE_API ReplicationPendingModifiedValues() = default;
34 AWS_DATABASEMIGRATIONSERVICE_API ReplicationPendingModifiedValues(Aws::Utils::Json::JsonView jsonValue);
35 AWS_DATABASEMIGRATIONSERVICE_API ReplicationPendingModifiedValues& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
46 inline const Aws::String& GetReplicationInstanceClass() const { return m_replicationInstanceClass; }
47 inline bool ReplicationInstanceClassHasBeenSet() const { return m_replicationInstanceClassHasBeenSet; }
48 template <typename ReplicationInstanceClassT = Aws::String>
49 void SetReplicationInstanceClass(ReplicationInstanceClassT&& value) {
50 m_replicationInstanceClassHasBeenSet = true;
51 m_replicationInstanceClass = std::forward<ReplicationInstanceClassT>(value);
52 }
53 template <typename ReplicationInstanceClassT = Aws::String>
55 SetReplicationInstanceClass(std::forward<ReplicationInstanceClassT>(value));
56 return *this;
57 }
59
61
65 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
66 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
67 inline void SetAllocatedStorage(int value) {
68 m_allocatedStorageHasBeenSet = true;
69 m_allocatedStorage = value;
70 }
73 return *this;
74 }
76
78
83 inline bool GetMultiAZ() const { return m_multiAZ; }
84 inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; }
85 inline void SetMultiAZ(bool value) {
86 m_multiAZHasBeenSet = true;
87 m_multiAZ = value;
88 }
90 SetMultiAZ(value);
91 return *this;
92 }
94
96
99 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
100 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
101 template <typename EngineVersionT = Aws::String>
102 void SetEngineVersion(EngineVersionT&& value) {
103 m_engineVersionHasBeenSet = true;
104 m_engineVersion = std::forward<EngineVersionT>(value);
105 }
106 template <typename EngineVersionT = Aws::String>
108 SetEngineVersion(std::forward<EngineVersionT>(value));
109 return *this;
110 }
112
114
119 inline const Aws::String& GetNetworkType() const { return m_networkType; }
120 inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; }
121 template <typename NetworkTypeT = Aws::String>
122 void SetNetworkType(NetworkTypeT&& value) {
123 m_networkTypeHasBeenSet = true;
124 m_networkType = std::forward<NetworkTypeT>(value);
125 }
126 template <typename NetworkTypeT = Aws::String>
128 SetNetworkType(std::forward<NetworkTypeT>(value));
129 return *this;
130 }
132 private:
133 Aws::String m_replicationInstanceClass;
134
135 int m_allocatedStorage{0};
136
137 bool m_multiAZ{false};
138
139 Aws::String m_engineVersion;
140
141 Aws::String m_networkType;
142 bool m_replicationInstanceClassHasBeenSet = false;
143 bool m_allocatedStorageHasBeenSet = false;
144 bool m_multiAZHasBeenSet = false;
145 bool m_engineVersionHasBeenSet = false;
146 bool m_networkTypeHasBeenSet = false;
147};
148
149} // namespace Model
150} // namespace DatabaseMigrationService
151} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API ReplicationPendingModifiedValues(Aws::Utils::Json::JsonView jsonValue)
ReplicationPendingModifiedValues & WithEngineVersion(EngineVersionT &&value)
AWS_DATABASEMIGRATIONSERVICE_API ReplicationPendingModifiedValues()=default
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATABASEMIGRATIONSERVICE_API ReplicationPendingModifiedValues & operator=(Aws::Utils::Json::JsonView jsonValue)
ReplicationPendingModifiedValues & WithReplicationInstanceClass(ReplicationInstanceClassT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue