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>
48 template<
typename SnapshotIdentifierT = Aws::String>
49 void SetSnapshotIdentifier(SnapshotIdentifierT&& value) { m_snapshotIdentifierHasBeenSet =
true; m_snapshotIdentifier = std::forward<SnapshotIdentifierT>(value); }
50 template<
typename SnapshotIdentifierT = Aws::String>
60 template<
typename SnapshotClusterIdentifierT = Aws::String>
61 void SetSnapshotClusterIdentifier(SnapshotClusterIdentifierT&& value) { m_snapshotClusterIdentifierHasBeenSet =
true; m_snapshotClusterIdentifier = std::forward<SnapshotClusterIdentifierT>(value); }
62 template<
typename SnapshotClusterIdentifierT = Aws::String>
72 template<
typename FailureCodeT = Aws::String>
73 void SetFailureCode(FailureCodeT&& value) { m_failureCodeHasBeenSet =
true; m_failureCode = std::forward<FailureCodeT>(value); }
74 template<
typename FailureCodeT = Aws::String>
84 template<
typename FailureReasonT = Aws::String>
85 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
86 template<
typename FailureReasonT = Aws::String>
92 bool m_snapshotIdentifierHasBeenSet =
false;
95 bool m_snapshotClusterIdentifierHasBeenSet =
false;
98 bool m_failureCodeHasBeenSet =
false;
101 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