7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
49 template<
typename ErrorCodeT = Aws::String>
50 void SetErrorCode(ErrorCodeT&& value) { m_errorCodeHasBeenSet =
true; m_errorCode = std::forward<ErrorCodeT>(value); }
51 template<
typename ErrorCodeT = Aws::String>
62 template<
typename ErrorDataT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
63 void SetErrorData(ErrorDataT&& value) { m_errorDataHasBeenSet =
true; m_errorData = std::forward<ErrorDataT>(value); }
64 template<
typename ErrorDataT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
66 template<
typename ErrorDataT = Aws::Map<Aws::String, Aws::String>>
67 ErrorDetail&
AddErrorData(ErrorDataT&& value) { m_errorDataHasBeenSet =
true; m_errorData.emplace_back(std::forward<ErrorDataT>(value));
return *
this; }
76 template<
typename ErrorMessageT = Aws::String>
77 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
78 template<
typename ErrorMessageT = Aws::String>
84 bool m_errorCodeHasBeenSet =
false;
87 bool m_errorDataHasBeenSet =
false;
90 bool m_errorMessageHasBeenSet =
false;
ErrorDetail & WithErrorCode(ErrorCodeT &&value)
void SetErrorCode(ErrorCodeT &&value)
ErrorDetail & WithErrorData(ErrorDataT &&value)
void SetErrorData(ErrorDataT &&value)
AWS_EMR_API ErrorDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::Map< Aws::String, Aws::String > > & GetErrorData() const
bool ErrorMessageHasBeenSet() const
ErrorDetail & AddErrorData(ErrorDataT &&value)
ErrorDetail & WithErrorMessage(ErrorMessageT &&value)
const Aws::String & GetErrorCode() const
const Aws::String & GetErrorMessage() const
bool ErrorDataHasBeenSet() const
AWS_EMR_API ErrorDetail(Aws::Utils::Json::JsonView jsonValue)
bool ErrorCodeHasBeenSet() const
AWS_EMR_API ErrorDetail()=default
void SetErrorMessage(ErrorMessageT &&value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue