7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticmapreduce/EMR_EXPORTS.h>
43 template <
typename ErrorCodeT = Aws::String>
45 m_errorCodeHasBeenSet =
true;
46 m_errorCode = std::forward<ErrorCodeT>(value);
48 template <
typename ErrorCodeT = Aws::String>
62 template <
typename ErrorDataT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
64 m_errorDataHasBeenSet =
true;
65 m_errorData = std::forward<ErrorDataT>(value);
67 template <
typename ErrorDataT = Aws::Vector<Aws::Map<Aws::String, Aws::String>>>
72 template <
typename ErrorDataT = Aws::Map<Aws::String, Aws::String>>
74 m_errorDataHasBeenSet =
true;
75 m_errorData.emplace_back(std::forward<ErrorDataT>(value));
86 template <
typename ErrorMessageT = Aws::String>
88 m_errorMessageHasBeenSet =
true;
89 m_errorMessage = std::forward<ErrorMessageT>(value);
91 template <
typename ErrorMessageT = Aws::String>
103 bool m_errorCodeHasBeenSet =
false;
104 bool m_errorDataHasBeenSet =
false;
105 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