7#include <aws/docdb/DocDB_EXPORTS.h>
8#include <aws/docdb/DocDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
50 template<
typename GlobalClusterIdentifierT = Aws::String>
51 void SetGlobalClusterIdentifier(GlobalClusterIdentifierT&& value) { m_globalClusterIdentifierHasBeenSet =
true; m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value); }
52 template<
typename GlobalClusterIdentifierT = Aws::String>
68 template<
typename TargetDbClusterIdentifierT = Aws::String>
69 void SetTargetDbClusterIdentifier(TargetDbClusterIdentifierT&& value) { m_targetDbClusterIdentifierHasBeenSet =
true; m_targetDbClusterIdentifier = std::forward<TargetDbClusterIdentifierT>(value); }
70 template<
typename TargetDbClusterIdentifierT = Aws::String>
84 inline void SetAllowDataLoss(
bool value) { m_allowDataLossHasBeenSet =
true; m_allowDataLoss = value; }
96 inline void SetSwitchover(
bool value) { m_switchoverHasBeenSet =
true; m_switchover = value; }
102 bool m_globalClusterIdentifierHasBeenSet =
false;
105 bool m_targetDbClusterIdentifierHasBeenSet =
false;
107 bool m_allowDataLoss{
false};
108 bool m_allowDataLossHasBeenSet =
false;
110 bool m_switchover{
false};
111 bool m_switchoverHasBeenSet =
false;
FailoverGlobalClusterRequest & WithTargetDbClusterIdentifier(TargetDbClusterIdentifierT &&value)
bool SwitchoverHasBeenSet() const
AWS_DOCDB_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
FailoverGlobalClusterRequest & WithGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
bool GetSwitchover() const
AWS_DOCDB_API FailoverGlobalClusterRequest()=default
FailoverGlobalClusterRequest & WithAllowDataLoss(bool value)
void SetGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
bool TargetDbClusterIdentifierHasBeenSet() const
const Aws::String & GetGlobalClusterIdentifier() const
void SetAllowDataLoss(bool value)
bool GlobalClusterIdentifierHasBeenSet() const
const Aws::String & GetTargetDbClusterIdentifier() const
FailoverGlobalClusterRequest & WithSwitchover(bool value)
void SetTargetDbClusterIdentifier(TargetDbClusterIdentifierT &&value)
void SetSwitchover(bool 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