AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CloudWatchLogs
22{
23namespace Model
24{
25
37 {
38 public:
39 AWS_CLOUDWATCHLOGS_API MalformedQueryException() = default;
40 AWS_CLOUDWATCHLOGS_API MalformedQueryException(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
47 inline const QueryCompileError& GetQueryCompileError() const { return m_queryCompileError; }
48 inline bool QueryCompileErrorHasBeenSet() const { return m_queryCompileErrorHasBeenSet; }
49 template<typename QueryCompileErrorT = QueryCompileError>
50 void SetQueryCompileError(QueryCompileErrorT&& value) { m_queryCompileErrorHasBeenSet = true; m_queryCompileError = std::forward<QueryCompileErrorT>(value); }
51 template<typename QueryCompileErrorT = QueryCompileError>
52 MalformedQueryException& WithQueryCompileError(QueryCompileErrorT&& value) { SetQueryCompileError(std::forward<QueryCompileErrorT>(value)); return *this;}
54 private:
55
56 QueryCompileError m_queryCompileError;
57 bool m_queryCompileErrorHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace CloudWatchLogs
62} // 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