7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/rds/model/FailoverStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
79 inline void SetFromDbClusterArn(
const char* value) { m_fromDbClusterArnHasBeenSet =
true; m_fromDbClusterArn.assign(value); }
94 inline void SetToDbClusterArn(
const char* value) { m_toDbClusterArnHasBeenSet =
true; m_toDbClusterArn.assign(value); }
108 inline void SetIsDataLossAllowed(
bool value) { m_isDataLossAllowedHasBeenSet =
true; m_isDataLossAllowed = value; }
114 bool m_statusHasBeenSet =
false;
117 bool m_fromDbClusterArnHasBeenSet =
false;
120 bool m_toDbClusterArnHasBeenSet =
false;
122 bool m_isDataLossAllowed;
123 bool m_isDataLossAllowedHasBeenSet =
false;
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
FailoverState & WithStatus(const FailoverStatus &value)
AWS_RDS_API FailoverState()
const Aws::String & GetToDbClusterArn() const
void SetFromDbClusterArn(Aws::String &&value)
FailoverState & WithToDbClusterArn(Aws::String &&value)
FailoverState & WithToDbClusterArn(const Aws::String &value)
bool FromDbClusterArnHasBeenSet() const
bool IsDataLossAllowedHasBeenSet() const
AWS_RDS_API FailoverState(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
FailoverState & WithToDbClusterArn(const char *value)
void SetToDbClusterArn(Aws::String &&value)
bool StatusHasBeenSet() const
const FailoverStatus & GetStatus() const
void SetToDbClusterArn(const Aws::String &value)
FailoverState & WithStatus(FailoverStatus &&value)
void SetToDbClusterArn(const char *value)
FailoverState & WithFromDbClusterArn(const char *value)
FailoverState & WithFromDbClusterArn(const Aws::String &value)
FailoverState & WithIsDataLossAllowed(bool value)
AWS_RDS_API FailoverState & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetFromDbClusterArn() const
void SetIsDataLossAllowed(bool value)
void SetStatus(const FailoverStatus &value)
void SetStatus(FailoverStatus &&value)
bool GetIsDataLossAllowed() const
void SetFromDbClusterArn(const char *value)
bool ToDbClusterArnHasBeenSet() const
void SetFromDbClusterArn(const Aws::String &value)
FailoverState & WithFromDbClusterArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream