7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/rds/RDS_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>
66 template <
typename TargetDbClusterIdentifierT = Aws::String>
68 m_targetDbClusterIdentifierHasBeenSet =
true;
69 m_targetDbClusterIdentifier = std::forward<TargetDbClusterIdentifierT>(value);
71 template <
typename TargetDbClusterIdentifierT = Aws::String>
90 m_allowDataLossHasBeenSet =
true;
91 m_allowDataLoss = value;
108 m_switchoverHasBeenSet =
true;
109 m_switchover = value;
121 bool m_allowDataLoss{
false};
123 bool m_switchover{
false};
124 bool m_globalClusterIdentifierHasBeenSet =
false;
125 bool m_targetDbClusterIdentifierHasBeenSet =
false;
126 bool m_allowDataLossHasBeenSet =
false;
127 bool m_switchoverHasBeenSet =
false;
bool GetAllowDataLoss() const
const Aws::String & GetTargetDbClusterIdentifier() const
void SetGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
AWS_RDS_API FailoverGlobalClusterRequest()=default
bool GlobalClusterIdentifierHasBeenSet() const
void SetSwitchover(bool value)
FailoverGlobalClusterRequest & WithAllowDataLoss(bool value)
bool TargetDbClusterIdentifierHasBeenSet() const
void SetTargetDbClusterIdentifier(TargetDbClusterIdentifierT &&value)
FailoverGlobalClusterRequest & WithGlobalClusterIdentifier(GlobalClusterIdentifierT &&value)
AWS_RDS_API Aws::String SerializePayload() const override
bool AllowDataLossHasBeenSet() const
bool GetSwitchover() const
void SetAllowDataLoss(bool value)
FailoverGlobalClusterRequest & WithSwitchover(bool value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetGlobalClusterIdentifier() const
bool SwitchoverHasBeenSet() const
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
FailoverGlobalClusterRequest & WithTargetDbClusterIdentifier(TargetDbClusterIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String