7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/logs/CloudWatchLogs_EXPORTS.h>
9#include <aws/logs/model/QueryCompileErrorLocation.h>
20namespace CloudWatchLogs {
41 template <
typename LocationT = QueryCompileErrorLocation>
43 m_locationHasBeenSet =
true;
44 m_location = std::forward<LocationT>(value);
46 template <
typename LocationT = QueryCompileErrorLocation>
59 template <
typename MessageT = Aws::String>
61 m_messageHasBeenSet =
true;
62 m_message = std::forward<MessageT>(value);
64 template <
typename MessageT = Aws::String>
74 bool m_locationHasBeenSet =
false;
75 bool m_messageHasBeenSet =
false;
AWS_CLOUDWATCHLOGS_API QueryCompileError(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
QueryCompileError & WithLocation(LocationT &&value)
bool MessageHasBeenSet() const
void SetMessage(MessageT &&value)
const Aws::String & GetMessage() const
AWS_CLOUDWATCHLOGS_API QueryCompileError()=default
void SetLocation(LocationT &&value)
AWS_CLOUDWATCHLOGS_API QueryCompileError & operator=(Aws::Utils::Json::JsonView jsonValue)
QueryCompileError & WithMessage(MessageT &&value)
bool LocationHasBeenSet() const
const QueryCompileErrorLocation & GetLocation() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue