7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/neptune/NeptuneRequest.h>
9#include <aws/neptune/Neptune_EXPORTS.h>
45 template <
typename GlobalClusterIdentifierT = Aws::String>
47 m_globalClusterIdentifierHasBeenSet =
true;
48 m_globalClusterIdentifier = std::forward<GlobalClusterIdentifierT>(value);
50 template <
typename GlobalClusterIdentifierT = Aws::String>
64 template <
typename TargetDbClusterIdentifierT = Aws::String>
66 m_targetDbClusterIdentifierHasBeenSet =
true;
67 m_targetDbClusterIdentifier = std::forward<TargetDbClusterIdentifierT>(value);
69 template <
typename TargetDbClusterIdentifierT = Aws::String>
87 m_allowDataLossHasBeenSet =
true;
88 m_allowDataLoss = value;
105 m_switchoverHasBeenSet =
true;
106 m_switchover = value;
118 bool m_allowDataLoss{
false};
120 bool m_switchover{
false};
121 bool m_globalClusterIdentifierHasBeenSet =
false;
122 bool m_targetDbClusterIdentifierHasBeenSet =
false;
123 bool m_allowDataLossHasBeenSet =
false;
124 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