7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
51 inline void SetGlobalClusterIdentifier(
const char* value) { m_globalClusterIdentifierHasBeenSet =
true; m_globalClusterIdentifier.assign(value); }
68 inline void SetTargetDbClusterIdentifier(
const char* value) { m_targetDbClusterIdentifierHasBeenSet =
true; m_targetDbClusterIdentifier.assign(value); }
85 inline void SetAllowDataLoss(
bool value) { m_allowDataLossHasBeenSet =
true; m_allowDataLoss = value; }
97 inline void SetSwitchover(
bool value) { m_switchoverHasBeenSet =
true; m_switchover = value; }
103 bool m_globalClusterIdentifierHasBeenSet =
false;
106 bool m_targetDbClusterIdentifierHasBeenSet =
false;
108 bool m_allowDataLoss;
109 bool m_allowDataLossHasBeenSet =
false;
112 bool m_switchoverHasBeenSet =
false;
bool GetAllowDataLoss() const
void SetTargetDbClusterIdentifier(const Aws::String &value)
const Aws::String & GetTargetDbClusterIdentifier() const
bool GlobalClusterIdentifierHasBeenSet() const
void SetTargetDbClusterIdentifier(const char *value)
void SetSwitchover(bool value)
FailoverGlobalClusterRequest & WithAllowDataLoss(bool value)
bool TargetDbClusterIdentifierHasBeenSet() const
void SetGlobalClusterIdentifier(const Aws::String &value)
AWS_RDS_API Aws::String SerializePayload() const override
FailoverGlobalClusterRequest & WithTargetDbClusterIdentifier(Aws::String &&value)
AWS_RDS_API FailoverGlobalClusterRequest()
bool AllowDataLossHasBeenSet() const
bool GetSwitchover() const
void SetAllowDataLoss(bool value)
void SetGlobalClusterIdentifier(Aws::String &&value)
FailoverGlobalClusterRequest & WithTargetDbClusterIdentifier(const Aws::String &value)
void SetGlobalClusterIdentifier(const char *value)
FailoverGlobalClusterRequest & WithGlobalClusterIdentifier(Aws::String &&value)
FailoverGlobalClusterRequest & WithSwitchover(bool value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetGlobalClusterIdentifier() const
bool SwitchoverHasBeenSet() const
FailoverGlobalClusterRequest & WithTargetDbClusterIdentifier(const char *value)
void SetTargetDbClusterIdentifier(Aws::String &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
FailoverGlobalClusterRequest & WithGlobalClusterIdentifier(const char *value)
FailoverGlobalClusterRequest & WithGlobalClusterIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String