7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/location/model/BatchItemErrorCode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace LocationService
62 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
70 bool m_codeHasBeenSet =
false;
73 bool m_messageHasBeenSet =
false;
bool MessageHasBeenSet() const
BatchItemError & WithMessage(const Aws::String &value)
AWS_LOCATIONSERVICE_API BatchItemError(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(const Aws::String &value)
BatchItemError & WithMessage(const char *value)
void SetMessage(const char *value)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LOCATIONSERVICE_API BatchItemError()
void SetCode(BatchItemErrorCode &&value)
void SetMessage(Aws::String &&value)
BatchItemError & WithCode(const BatchItemErrorCode &value)
bool CodeHasBeenSet() const
AWS_LOCATIONSERVICE_API BatchItemError & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
BatchItemError & WithMessage(Aws::String &&value)
void SetCode(const BatchItemErrorCode &value)
const BatchItemErrorCode & GetCode() const
BatchItemError & WithCode(BatchItemErrorCode &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue