7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/neptune/Neptune_EXPORTS.h>
11#include <aws/neptune/model/FailoverState.h>
12#include <aws/neptune/model/GlobalClusterMember.h>
13#include <aws/neptune/model/Tag.h>
51 template <
typename GlobalClusterIdentifierT = Aws::String>
53 m_globalClusterIdentifierHasBeenSet =
true;
54 m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value);
56 template <
typename GlobalClusterIdentifierT = Aws::String>
71 template <
typename GlobalClusterResourceIdT = Aws::String>
73 m_globalClusterResourceIdHasBeenSet =
true;
74 m_globalClusterResourceId = std::forward<GlobalClusterResourceIdT>(value);
76 template <
typename GlobalClusterResourceIdT = Aws::String>
89 template <
typename GlobalClusterArnT = Aws::String>
91 m_globalClusterArnHasBeenSet =
true;
92 m_globalClusterArn = std::forward<GlobalClusterArnT>(value);
94 template <
typename GlobalClusterArnT = Aws::String>
107 template <
typename StatusT = Aws::String>
109 m_statusHasBeenSet =
true;
110 m_status = std::forward<StatusT>(value);
112 template <
typename StatusT = Aws::String>
126 template <
typename EngineT = Aws::String>
128 m_engineHasBeenSet =
true;
129 m_engine = std::forward<EngineT>(value);
131 template <
typename EngineT = Aws::String>
144 template <
typename EngineVersionT = Aws::String>
146 m_engineVersionHasBeenSet =
true;
147 m_engineVersion = std::forward<EngineVersionT>(value);
149 template <
typename EngineVersionT = Aws::String>
162 template <
typename DatabaseNameT = Aws::String>
164 m_databaseNameHasBeenSet =
true;
165 m_databaseName = std::forward<DatabaseNameT>(value);
167 template <
typename DatabaseNameT = Aws::String>
181 m_storageEncryptedHasBeenSet =
true;
182 m_storageEncrypted = value;
197 m_deletionProtectionHasBeenSet =
true;
198 m_deletionProtection = value;
213 template <
typename GlobalClusterMembersT = Aws::Vector<GlobalClusterMember>>
215 m_globalClusterMembersHasBeenSet =
true;
216 m_globalClusterMembers = std::forward<GlobalClusterMembersT>(value);
218 template <
typename GlobalClusterMembersT = Aws::Vector<GlobalClusterMember>>
223 template <
typename GlobalClusterMembersT = GlobalClusterMember>
225 m_globalClusterMembersHasBeenSet =
true;
226 m_globalClusterMembers.emplace_back(std::forward<GlobalClusterMembersT>(value));
241 template <
typename FailoverStateT = FailoverState>
243 m_failoverStateHasBeenSet =
true;
244 m_failoverState = std::forward<FailoverStateT>(value);
246 template <
typename FailoverStateT = FailoverState>
259 template <
typename TagListT = Aws::Vector<Tag>>
261 m_tagListHasBeenSet =
true;
262 m_tagList = std::forward<TagListT>(value);
264 template <
typename TagListT = Aws::Vector<Tag>>
269 template <
typename TagListT = Tag>
271 m_tagListHasBeenSet =
true;
272 m_tagList.emplace_back(std::forward<TagListT>(value));
291 bool m_storageEncrypted{
false};
293 bool m_deletionProtection{
false};
297 FailoverState m_failoverState;
300 bool m_globalClusterIdentifierHasBeenSet =
false;
301 bool m_globalClusterResourceIdHasBeenSet =
false;
302 bool m_globalClusterArnHasBeenSet =
false;
303 bool m_statusHasBeenSet =
false;
304 bool m_engineHasBeenSet =
false;
305 bool m_engineVersionHasBeenSet =
false;
306 bool m_databaseNameHasBeenSet =
false;
307 bool m_storageEncryptedHasBeenSet =
false;
308 bool m_deletionProtectionHasBeenSet =
false;
309 bool m_globalClusterMembersHasBeenSet =
false;
310 bool m_failoverStateHasBeenSet =
false;
311 bool m_tagListHasBeenSet =
false;
void SetGlobalClusterMembers(GlobalClusterMembersT &&value)
const Aws::String & GetGlobalClusterResourceId() const
void SetDeletionProtection(bool value)
AWS_NEPTUNE_API GlobalCluster(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool GlobalClusterArnHasBeenSet() const
void SetGlobalClusterArn(GlobalClusterArnT &&value)
bool FailoverStateHasBeenSet() const
bool DatabaseNameHasBeenSet() const
bool GlobalClusterIdentifierHasBeenSet() const
bool EngineHasBeenSet() const
GlobalCluster & WithDeletionProtection(bool value)
GlobalCluster & WithGlobalClusterMembers(GlobalClusterMembersT &&value)
const Aws::String & GetGlobalClusterArn() const
AWS_NEPTUNE_API GlobalCluster()=default
GlobalCluster & WithFailoverState(FailoverStateT &&value)
AWS_NEPTUNE_API GlobalCluster & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
const Aws::String & GetStatus() const
GlobalCluster & WithTagList(TagListT &&value)
GlobalCluster & AddGlobalClusterMembers(GlobalClusterMembersT &&value)
GlobalCluster & WithGlobalClusterResourceId(GlobalClusterResourceIdT &&value)
bool StatusHasBeenSet() const
bool GetStorageEncrypted() const
void SetDatabaseName(DatabaseNameT &&value)
GlobalCluster & WithDatabaseName(DatabaseNameT &&value)
GlobalCluster & WithStatus(StatusT &&value)
bool DeletionProtectionHasBeenSet() const
bool GlobalClusterResourceIdHasBeenSet() const
GlobalCluster & AddTagList(TagListT &&value)
void SetStatus(StatusT &&value)
const Aws::String & GetGlobalClusterIdentifier() const
GlobalCluster & WithStorageEncrypted(bool value)
const Aws::String & GetEngine() const
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
GlobalCluster & WithGlobalClusterArn(GlobalClusterArnT &&value)
void SetFailoverState(FailoverStateT &&value)
void SetEngineVersion(EngineVersionT &&value)
void SetStorageEncrypted(bool value)
void SetGlobalClusterResourceId(GlobalClusterResourceIdT &&value)
const Aws::Vector< GlobalClusterMember > & GetGlobalClusterMembers() const
const Aws::String & GetEngineVersion() const
bool GlobalClusterMembersHasBeenSet() const
GlobalCluster & WithEngineVersion(EngineVersionT &&value)
bool TagListHasBeenSet() const
bool GetDeletionProtection() const
const Aws::String & GetDatabaseName() const
bool EngineVersionHasBeenSet() const
const Aws::Vector< Tag > & GetTagList() const
void SetTagList(TagListT &&value)
GlobalCluster & WithGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
GlobalCluster & WithEngine(EngineT &&value)
bool StorageEncryptedHasBeenSet() const
void SetEngine(EngineT &&value)
const FailoverState & GetFailoverState() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream