7#include <aws/neptune/Neptune_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/neptune/model/FailoverStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
75 template<
typename FromDbClusterArnT = Aws::String>
76 void SetFromDbClusterArn(FromDbClusterArnT&& value) { m_fromDbClusterArnHasBeenSet =
true; m_fromDbClusterArn = std::forward<FromDbClusterArnT>(value); }
77 template<
typename FromDbClusterArnT = Aws::String>
88 template<
typename ToDbClusterArnT = Aws::String>
89 void SetToDbClusterArn(ToDbClusterArnT&& value) { m_toDbClusterArnHasBeenSet =
true; m_toDbClusterArn = std::forward<ToDbClusterArnT>(value); }
90 template<
typename ToDbClusterArnT = Aws::String>
102 inline void SetIsDataLossAllowed(
bool value) { m_isDataLossAllowedHasBeenSet =
true; m_isDataLossAllowed = value; }
108 bool m_statusHasBeenSet =
false;
111 bool m_fromDbClusterArnHasBeenSet =
false;
114 bool m_toDbClusterArnHasBeenSet =
false;
116 bool m_isDataLossAllowed{
false};
117 bool m_isDataLossAllowedHasBeenSet =
false;
AWS_NEPTUNE_API FailoverState()=default
void SetFromDbClusterArn(FromDbClusterArnT &&value)
void SetStatus(FailoverStatus value)
FailoverState & WithStatus(FailoverStatus value)
FailoverState & WithIsDataLossAllowed(bool value)
bool GetIsDataLossAllowed() const
const Aws::String & GetFromDbClusterArn() const
AWS_NEPTUNE_API FailoverState & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
FailoverStatus GetStatus() const
bool StatusHasBeenSet() const
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
FailoverState & WithToDbClusterArn(ToDbClusterArnT &&value)
bool IsDataLossAllowedHasBeenSet() const
AWS_NEPTUNE_API FailoverState(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ToDbClusterArnHasBeenSet() const
const Aws::String & GetToDbClusterArn() const
bool FromDbClusterArnHasBeenSet() const
void SetToDbClusterArn(ToDbClusterArnT &&value)
void SetIsDataLossAllowed(bool value)
FailoverState & WithFromDbClusterArn(FromDbClusterArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream