7#include <aws/docdb/DocDB_EXPORTS.h>
8#include <aws/docdb/DocDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
49 template<
typename GlobalClusterIdentifierT = Aws::String>
50 void SetGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) { m_globalClusterIdentifierHasBeenSet =
true; m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value); }
51 template<
typename GlobalClusterIdentifierT = Aws::String>
62 template<
typename SourceDBClusterIdentifierT = Aws::String>
63 void SetSourceDBClusterIdentifier(SourceDBClusterIdentifierT&& value) { m_sourceDBClusterIdentifierHasBeenSet =
true; m_sourceDBClusterIdentifier = std::forward<SourceDBClusterIdentifierT>(value); }
64 template<
typename SourceDBClusterIdentifierT = Aws::String>
74 template<
typename EngineT = Aws::String>
75 void SetEngine(EngineT&& value) { m_engineHasBeenSet =
true; m_engine = std::forward<EngineT>(value); }
76 template<
typename EngineT = Aws::String>
86 template<
typename EngineVersionT = Aws::String>
87 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet =
true; m_engineVersion = std::forward<EngineVersionT>(value); }
88 template<
typename EngineVersionT = Aws::String>
99 inline void SetDeletionProtection(
bool value) { m_deletionProtectionHasBeenSet =
true; m_deletionProtection = value; }
111 template<
typename DatabaseNameT = Aws::String>
112 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet =
true; m_databaseName = std::forward<DatabaseNameT>(value); }
113 template<
typename DatabaseNameT = Aws::String>
123 inline void SetStorageEncrypted(
bool value) { m_storageEncryptedHasBeenSet =
true; m_storageEncrypted = value; }
129 bool m_globalClusterIdentifierHasBeenSet =
false;
132 bool m_sourceDBClusterIdentifierHasBeenSet =
false;
135 bool m_engineHasBeenSet =
false;
138 bool m_engineVersionHasBeenSet =
false;
140 bool m_deletionProtection{
false};
141 bool m_deletionProtectionHasBeenSet =
false;
144 bool m_databaseNameHasBeenSet =
false;
146 bool m_storageEncrypted{
false};
147 bool m_storageEncryptedHasBeenSet =
false;
CreateGlobalClusterRequest & WithGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
AWS_DOCDB_API Aws::String SerializePayload() const override
const Aws::String & GetSourceDBClusterIdentifier() const
bool DatabaseNameHasBeenSet() const
void SetEngine(EngineT &&value)
void SetGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
const Aws::String & GetGlobalClusterIdentifier() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetEngine() const
void SetSourceDBClusterIdentifier(SourceDBClusterIdentifierT &&value)
void SetDatabaseName(DatabaseNameT &&value)
CreateGlobalClusterRequest & WithStorageEncrypted(bool value)
bool GlobalClusterIdentifierHasBeenSet() const
bool GetStorageEncrypted() const
void SetStorageEncrypted(bool value)
bool StorageEncryptedHasBeenSet() const
bool SourceDBClusterIdentifierHasBeenSet() const
AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateGlobalClusterRequest & WithEngine(EngineT &&value)
const Aws::String & GetEngineVersion() const
bool EngineHasBeenSet() const
bool DeletionProtectionHasBeenSet() const
CreateGlobalClusterRequest & WithDatabaseName(DatabaseNameT &&value)
CreateGlobalClusterRequest & WithEngineVersion(EngineVersionT &&value)
bool EngineVersionHasBeenSet() const
void SetDeletionProtection(bool value)
const Aws::String & GetDatabaseName() const
bool GetDeletionProtection() const
CreateGlobalClusterRequest & WithDeletionProtection(bool value)
AWS_DOCDB_API CreateGlobalClusterRequest()=default
CreateGlobalClusterRequest & WithSourceDBClusterIdentifier(SourceDBClusterIdentifierT &&value)
void SetEngineVersion(EngineVersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String