7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/model/QueryCompileErrorLocation.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace CloudWatchLogs
47 template<
typename LocationT = QueryCompileErrorLocation>
48 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
49 template<
typename LocationT = QueryCompileErrorLocation>
59 template<
typename MessageT = Aws::String>
60 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
61 template<
typename MessageT = Aws::String>
67 bool m_locationHasBeenSet =
false;
70 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