AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
QueryInsights.h
1
6#pragma once
7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8#include <aws/timestream-query/model/QueryInsightsMode.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 TimestreamQuery
22{
23namespace Model
24{
25
60 {
61 public:
62 AWS_TIMESTREAMQUERY_API QueryInsights() = default;
65 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
66
67
69
77 inline QueryInsightsMode GetMode() const { return m_mode; }
78 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
79 inline void SetMode(QueryInsightsMode value) { m_modeHasBeenSet = true; m_mode = value; }
80 inline QueryInsights& WithMode(QueryInsightsMode value) { SetMode(value); return *this;}
82 private:
83
85 bool m_modeHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace TimestreamQuery
90} // namespace Aws
void SetMode(QueryInsightsMode value)
AWS_TIMESTREAMQUERY_API QueryInsights & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMQUERY_API QueryInsights()=default
AWS_TIMESTREAMQUERY_API QueryInsights(Aws::Utils::Json::JsonView jsonValue)
QueryInsights & WithMode(QueryInsightsMode value)
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue