7#include <aws/docdb/DocDB_EXPORTS.h>
8#include <aws/docdb/DocDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
52 inline void SetGlobalClusterIdentifier(
const char* value) { m_globalClusterIdentifierHasBeenSet =
true; m_globalClusterIdentifier.assign(value); }
72 inline void SetTargetDbClusterIdentifier(
const char* value) { m_targetDbClusterIdentifierHasBeenSet =
true; m_targetDbClusterIdentifier.assign(value); }
88 inline void SetAllowDataLoss(
bool value) { m_allowDataLossHasBeenSet =
true; m_allowDataLoss = value; }
100 inline void SetSwitchover(
bool value) { m_switchoverHasBeenSet =
true; m_switchover = value; }
106 bool m_globalClusterIdentifierHasBeenSet =
false;
109 bool m_targetDbClusterIdentifierHasBeenSet =
false;
111 bool m_allowDataLoss;
112 bool m_allowDataLossHasBeenSet =
false;
115 bool m_switchoverHasBeenSet =
false;
void SetGlobalClusterIdentifier(Aws::String &&value)
bool SwitchoverHasBeenSet() const
AWS_DOCDB_API Aws::String SerializePayload() const override
FailoverGlobalClusterRequest & WithTargetDbClusterIdentifier(const Aws::String &value)
AWS_DOCDB_API FailoverGlobalClusterRequest()
virtual const char * GetServiceRequestName() const override
FailoverGlobalClusterRequest & WithTargetDbClusterIdentifier(const char *value)
bool GetSwitchover() const
FailoverGlobalClusterRequest & WithGlobalClusterIdentifier(const char *value)
void SetTargetDbClusterIdentifier(const Aws::String &value)
FailoverGlobalClusterRequest & WithAllowDataLoss(bool value)
void SetGlobalClusterIdentifier(const char *value)
void SetTargetDbClusterIdentifier(Aws::String &&value)
bool TargetDbClusterIdentifierHasBeenSet() const
const Aws::String & GetGlobalClusterIdentifier() const
void SetGlobalClusterIdentifier(const Aws::String &value)
void SetAllowDataLoss(bool value)
bool GlobalClusterIdentifierHasBeenSet() const
const Aws::String & GetTargetDbClusterIdentifier() const
FailoverGlobalClusterRequest & WithTargetDbClusterIdentifier(Aws::String &&value)
FailoverGlobalClusterRequest & WithSwitchover(bool value)
FailoverGlobalClusterRequest & WithGlobalClusterIdentifier(const Aws::String &value)
void SetTargetDbClusterIdentifier(const char *value)
void SetSwitchover(bool value)
FailoverGlobalClusterRequest & WithGlobalClusterIdentifier(Aws::String &&value)
AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool AllowDataLossHasBeenSet() const
bool GetAllowDataLoss() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String