7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/redshift/Redshift_EXPORTS.h>
42 template <
typename SnapshotIdentifierT = Aws::String>
44 m_snapshotIdentifierHasBeenSet =
true;
45 m_snapshotIdentifier = std::forward<SnapshotIdentifierT>(value);
47 template <
typename SnapshotIdentifierT = Aws::String>
60 template <
typename SnapshotClusterIdentifierT = Aws::String>
62 m_snapshotClusterIdentifierHasBeenSet =
true;
63 m_snapshotClusterIdentifier = std::forward<SnapshotClusterIdentifierT>(value);
65 template <
typename SnapshotClusterIdentifierT = Aws::String>
78 template <
typename FailureCodeT = Aws::String>
80 m_failureCodeHasBeenSet =
true;
81 m_failureCode = std::forward<FailureCodeT>(value);
83 template <
typename FailureCodeT = Aws::String>
96 template <
typename FailureReasonT = Aws::String>
98 m_failureReasonHasBeenSet =
true;
99 m_failureReason = std::forward<FailureReasonT>(value);
101 template <
typename FailureReasonT = Aws::String>
115 bool m_snapshotIdentifierHasBeenSet =
false;
116 bool m_snapshotClusterIdentifierHasBeenSet =
false;
117 bool m_failureCodeHasBeenSet =
false;
118 bool m_failureReasonHasBeenSet =
false;
bool SnapshotIdentifierHasBeenSet() const
const Aws::String & GetSnapshotClusterIdentifier() const
void SetSnapshotClusterIdentifier(SnapshotClusterIdentifierT &&value)
void SetFailureReason(FailureReasonT &&value)
const Aws::String & GetFailureCode() const
void SetSnapshotIdentifier(SnapshotIdentifierT &&value)
SnapshotErrorMessage & WithFailureReason(FailureReasonT &&value)
bool FailureReasonHasBeenSet() const
AWS_REDSHIFT_API SnapshotErrorMessage()=default
void SetFailureCode(FailureCodeT &&value)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool FailureCodeHasBeenSet() const
const Aws::String & GetSnapshotIdentifier() const
AWS_REDSHIFT_API SnapshotErrorMessage & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SnapshotClusterIdentifierHasBeenSet() const
SnapshotErrorMessage & WithSnapshotClusterIdentifier(SnapshotClusterIdentifierT &&value)
AWS_REDSHIFT_API SnapshotErrorMessage(const Aws::Utils::Xml::XmlNode &xmlNode)
SnapshotErrorMessage & WithFailureCode(FailureCodeT &&value)
const Aws::String & GetFailureReason() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SnapshotErrorMessage & WithSnapshotIdentifier(SnapshotIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream