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>
51 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
80 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
88 bool m_errorCodeHasBeenSet =
false;
91 bool m_errorDataHasBeenSet =
false;
94 bool m_errorMessageHasBeenSet =
false;
ErrorDetail & WithErrorMessage(const Aws::String &value)
ErrorDetail & AddErrorData(const Aws::Map< Aws::String, Aws::String > &value)
ErrorDetail & WithErrorCode(const Aws::String &value)
void SetErrorData(Aws::Vector< Aws::Map< Aws::String, Aws::String > > &&value)
AWS_EMR_API ErrorDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
ErrorDetail & WithErrorCode(const char *value)
ErrorDetail & AddErrorData(Aws::Map< Aws::String, Aws::String > &&value)
void SetErrorMessage(const char *value)
AWS_EMR_API ErrorDetail()
ErrorDetail & WithErrorMessage(const char *value)
ErrorDetail & WithErrorData(const Aws::Vector< Aws::Map< Aws::String, Aws::String > > &value)
void SetErrorData(const Aws::Vector< Aws::Map< Aws::String, Aws::String > > &value)
void SetErrorCode(const char *value)
ErrorDetail & WithErrorCode(Aws::String &&value)
const Aws::Vector< Aws::Map< Aws::String, Aws::String > > & GetErrorData() const
void SetErrorCode(Aws::String &&value)
void SetErrorMessage(Aws::String &&value)
bool ErrorMessageHasBeenSet() const
const Aws::String & GetErrorCode() const
const Aws::String & GetErrorMessage() const
bool ErrorDataHasBeenSet() const
AWS_EMR_API ErrorDetail(Aws::Utils::Json::JsonView jsonValue)
ErrorDetail & WithErrorMessage(Aws::String &&value)
bool ErrorCodeHasBeenSet() const
void SetErrorMessage(const Aws::String &value)
ErrorDetail & WithErrorData(Aws::Vector< Aws::Map< Aws::String, Aws::String > > &&value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrorCode(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue