7#include <aws/neptune/Neptune_EXPORTS.h>
8#include <aws/neptune/NeptuneRequest.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 TargetDbClusterIdentifierT = Aws::String>
63 void SetTargetDbClusterIdentifier(TargetDbClusterIdentifierT&& value) { m_targetDbClusterIdentifierHasBeenSet =
true; m_targetDbClusterIdentifier = std::forward<TargetDbClusterIdentifierT>(value); }
64 template<
typename TargetDbClusterIdentifierT = Aws::String>
78 inline void SetAllowDataLoss(
bool value) { m_allowDataLossHasBeenSet =
true; m_allowDataLoss = value; }
90 inline void SetSwitchover(
bool value) { m_switchoverHasBeenSet =
true; m_switchover = value; }
96 bool m_globalClusterIdentifierHasBeenSet =
false;
99 bool m_targetDbClusterIdentifierHasBeenSet =
false;
101 bool m_allowDataLoss{
false};
102 bool m_allowDataLossHasBeenSet =
false;
104 bool m_switchover{
false};
105 bool m_switchoverHasBeenSet =
false;
void SetAllowDataLoss(bool value)
FailoverGlobalClusterRequest & WithTargetDbClusterIdentifier(TargetDbClusterIdentifierT &&value)
bool GlobalClusterIdentifierHasBeenSet() const
AWS_NEPTUNE_API FailoverGlobalClusterRequest()=default
virtual const char * GetServiceRequestName() const override
void SetSwitchover(bool value)
AWS_NEPTUNE_API Aws::String SerializePayload() const override
bool GetSwitchover() const
FailoverGlobalClusterRequest & WithAllowDataLoss(bool value)
void SetTargetDbClusterIdentifier(TargetDbClusterIdentifierT &&value)
FailoverGlobalClusterRequest & WithSwitchover(bool value)
bool GetAllowDataLoss() const
bool AllowDataLossHasBeenSet() const
FailoverGlobalClusterRequest & WithGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool SwitchoverHasBeenSet() const
const Aws::String & GetGlobalClusterIdentifier() const
bool TargetDbClusterIdentifierHasBeenSet() const
const Aws::String & GetTargetDbClusterIdentifier() const
void SetGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String