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 ErrorCodeT = Aws::String>
49 void SetErrorCode(ErrorCodeT&& value) { m_errorCodeHasBeenSet =
true; m_errorCode = std::forward<ErrorCodeT>(value); }
50 template<
typename ErrorCodeT = Aws::String>
60 template<
typename ErrorMessageT = Aws::String>
61 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
62 template<
typename ErrorMessageT = Aws::String>
68 bool m_errorCodeHasBeenSet =
false;
71 bool m_errorMessageHasBeenSet =
false;
void SetErrorCode(ErrorCodeT &&value)
IntegrationError & WithErrorCode(ErrorCodeT &&value)
const Aws::String & GetErrorCode() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetErrorMessage(ErrorMessageT &&value)
const Aws::String & GetErrorMessage() const
bool ErrorMessageHasBeenSet() const
AWS_REDSHIFT_API IntegrationError & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API IntegrationError(const Aws::Utils::Xml::XmlNode &xmlNode)
IntegrationError & WithErrorMessage(ErrorMessageT &&value)
AWS_REDSHIFT_API IntegrationError()=default
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool ErrorCodeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream