AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
MalformedQueryException.h
1
6#pragma once
7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/model/QueryCompileError.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CloudWatchLogs {
20namespace Model {
21
33 public:
34 AWS_CLOUDWATCHLOGS_API MalformedQueryException() = default;
35 AWS_CLOUDWATCHLOGS_API MalformedQueryException(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
41 inline const QueryCompileError& GetQueryCompileError() const { return m_queryCompileError; }
42 inline bool QueryCompileErrorHasBeenSet() const { return m_queryCompileErrorHasBeenSet; }
43 template <typename QueryCompileErrorT = QueryCompileError>
44 void SetQueryCompileError(QueryCompileErrorT&& value) {
45 m_queryCompileErrorHasBeenSet = true;
46 m_queryCompileError = std::forward<QueryCompileErrorT>(value);
47 }
48 template <typename QueryCompileErrorT = QueryCompileError>
49 MalformedQueryException& WithQueryCompileError(QueryCompileErrorT&& value) {
50 SetQueryCompileError(std::forward<QueryCompileErrorT>(value));
51 return *this;
52 }
54 private:
55 QueryCompileError m_queryCompileError;
56 bool m_queryCompileErrorHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace CloudWatchLogs
61} // namespace Aws
AWS_CLOUDWATCHLOGS_API MalformedQueryException & operator=(Aws::Utils::Json::JsonView jsonValue)
MalformedQueryException & WithQueryCompileError(QueryCompileErrorT &&value)
AWS_CLOUDWATCHLOGS_API MalformedQueryException(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDWATCHLOGS_API MalformedQueryException()=default
Aws::Utils::Json::JsonValue JsonValue