7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/docdb/DocDBRequest.h>
9#include <aws/docdb/DocDB_EXPORTS.h>
46 template <
typename GlobalClusterIdentifierT = Aws::String>
48 m_globalClusterIdentifierHasBeenSet =
true;
49 m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value);
51 template <
typename GlobalClusterIdentifierT = Aws::String>
70 template <
typename TargetDbClusterIdentifierT = Aws::String>
72 m_targetDbClusterIdentifierHasBeenSet =
true;
73 m_targetDbClusterIdentifier = std::forward<TargetDbClusterIdentifierT>(value);
75 template <
typename TargetDbClusterIdentifierT = Aws::String>
93 m_allowDataLossHasBeenSet =
true;
94 m_allowDataLoss = value;
111 m_switchoverHasBeenSet =
true;
112 m_switchover = value;
124 bool m_allowDataLoss{
false};
126 bool m_switchover{
false};
127 bool m_globalClusterIdentifierHasBeenSet =
false;
128 bool m_targetDbClusterIdentifierHasBeenSet =
false;
129 bool m_allowDataLossHasBeenSet =
false;
130 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