7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/model/DataSourceErrorType.h>
49 template<
typename ErrorDetailT = Aws::String>
50 void SetErrorDetail(ErrorDetailT&& value) { m_errorDetailHasBeenSet =
true; m_errorDetail = std::forward<ErrorDetailT>(value); }
51 template<
typename ErrorDetailT = Aws::String>
68 bool m_errorDetailHasBeenSet =
false;
71 bool m_errorTypeHasBeenSet =
false;
AWS_DATAZONE_API DataSourceErrorMessage(Aws::Utils::Json::JsonView jsonValue)
DataSourceErrorMessage & WithErrorType(DataSourceErrorType value)
void SetErrorDetail(ErrorDetailT &&value)
DataSourceErrorMessage & WithErrorDetail(ErrorDetailT &&value)
void SetErrorType(DataSourceErrorType value)
DataSourceErrorType GetErrorType() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API DataSourceErrorMessage()=default
bool ErrorDetailHasBeenSet() const
const Aws::String & GetErrorDetail() const
bool ErrorTypeHasBeenSet() const
AWS_DATAZONE_API DataSourceErrorMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue