7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetSnapshotIdentifier(
const char* value) { m_snapshotIdentifierHasBeenSet =
true; m_snapshotIdentifier.assign(value); }
64 inline void SetSnapshotClusterIdentifier(
const char* value) { m_snapshotClusterIdentifierHasBeenSet =
true; m_snapshotClusterIdentifier.assign(value); }
78 inline void SetFailureCode(
const char* value) { m_failureCodeHasBeenSet =
true; m_failureCode.assign(value); }
92 inline void SetFailureReason(
const char* value) { m_failureReasonHasBeenSet =
true; m_failureReason.assign(value); }
100 bool m_snapshotIdentifierHasBeenSet =
false;
103 bool m_snapshotClusterIdentifierHasBeenSet =
false;
106 bool m_failureCodeHasBeenSet =
false;
109 bool m_failureReasonHasBeenSet =
false;
void SetSnapshotIdentifier(Aws::String &&value)
SnapshotErrorMessage & WithSnapshotClusterIdentifier(Aws::String &&value)
bool SnapshotIdentifierHasBeenSet() const
const Aws::String & GetSnapshotClusterIdentifier() const
SnapshotErrorMessage & WithFailureReason(const Aws::String &value)
void SetSnapshotIdentifier(const char *value)
SnapshotErrorMessage & WithFailureReason(Aws::String &&value)
const Aws::String & GetFailureCode() const
AWS_REDSHIFT_API SnapshotErrorMessage()
void SetFailureCode(const char *value)
SnapshotErrorMessage & WithSnapshotIdentifier(const Aws::String &value)
SnapshotErrorMessage & WithFailureCode(const char *value)
void SetFailureReason(const Aws::String &value)
SnapshotErrorMessage & WithFailureCode(const Aws::String &value)
void SetFailureCode(Aws::String &&value)
SnapshotErrorMessage & WithSnapshotIdentifier(const char *value)
void SetSnapshotClusterIdentifier(const Aws::String &value)
SnapshotErrorMessage & WithSnapshotClusterIdentifier(const char *value)
bool FailureReasonHasBeenSet() const
SnapshotErrorMessage & WithFailureCode(Aws::String &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool FailureCodeHasBeenSet() const
const Aws::String & GetSnapshotIdentifier() const
void SetSnapshotIdentifier(const Aws::String &value)
SnapshotErrorMessage & WithFailureReason(const char *value)
AWS_REDSHIFT_API SnapshotErrorMessage & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SnapshotClusterIdentifierHasBeenSet() const
void SetFailureReason(Aws::String &&value)
void SetSnapshotClusterIdentifier(Aws::String &&value)
SnapshotErrorMessage & WithSnapshotClusterIdentifier(const Aws::String &value)
SnapshotErrorMessage & WithSnapshotIdentifier(Aws::String &&value)
void SetSnapshotClusterIdentifier(const char *value)
AWS_REDSHIFT_API SnapshotErrorMessage(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetFailureReason(const char *value)
void SetFailureCode(const Aws::String &value)
const Aws::String & GetFailureReason() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream