7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/location/LocationService_EXPORTS.h>
10#include <aws/location/model/JobErrorCode.h>
21namespace LocationService {
43 m_codeHasBeenSet =
true;
58 template <
typename MessagesT = Aws::Vector<Aws::String>>
60 m_messagesHasBeenSet =
true;
61 m_messages = std::forward<MessagesT>(value);
63 template <
typename MessagesT = Aws::Vector<Aws::String>>
68 template <
typename MessagesT = Aws::String>
70 m_messagesHasBeenSet =
true;
71 m_messages.emplace_back(std::forward<MessagesT>(value));
79 bool m_codeHasBeenSet =
false;
80 bool m_messagesHasBeenSet =
false;
JobError & AddMessages(MessagesT &&value)
const Aws::Vector< Aws::String > & GetMessages() const
bool CodeHasBeenSet() const
AWS_LOCATIONSERVICE_API JobError(Aws::Utils::Json::JsonView jsonValue)
void SetMessages(MessagesT &&value)
JobError & WithMessages(MessagesT &&value)
bool MessagesHasBeenSet() const
void SetCode(JobErrorCode value)
JobError & WithCode(JobErrorCode value)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
JobErrorCode GetCode() const
AWS_LOCATIONSERVICE_API JobError()=default
AWS_LOCATIONSERVICE_API JobError & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue