AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
QueryCompileError.h
1
6#pragma once
7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/model/QueryCompileErrorLocation.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CloudWatchLogs
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CLOUDWATCHLOGS_API QueryCompileError() = default;
36 AWS_CLOUDWATCHLOGS_API QueryCompileError(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLOUDWATCHLOGS_API QueryCompileError& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const QueryCompileErrorLocation& GetLocation() const { return m_location; }
46 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
47 template<typename LocationT = QueryCompileErrorLocation>
48 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
49 template<typename LocationT = QueryCompileErrorLocation>
50 QueryCompileError& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
52
54
57 inline const Aws::String& GetMessage() const { return m_message; }
58 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
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>
62 QueryCompileError& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
64 private:
65
67 bool m_locationHasBeenSet = false;
68
69 Aws::String m_message;
70 bool m_messageHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace CloudWatchLogs
75} // namespace Aws
AWS_CLOUDWATCHLOGS_API QueryCompileError(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
QueryCompileError & WithLocation(LocationT &&value)
AWS_CLOUDWATCHLOGS_API QueryCompileError()=default
AWS_CLOUDWATCHLOGS_API QueryCompileError & operator=(Aws::Utils::Json::JsonView jsonValue)
QueryCompileError & WithMessage(MessageT &&value)
const QueryCompileErrorLocation & GetLocation() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue