AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
63 AWS_TIMESTREAMQUERY_API QueryInsights(Aws::Utils::Json::JsonView jsonValue);
64 AWS_TIMESTREAMQUERY_API QueryInsights& operator=(Aws::Utils::Json::JsonView jsonValue);
65 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
66
67
69
77 inline const QueryInsightsMode& GetMode() const{ return m_mode; }
78 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
79 inline void SetMode(const QueryInsightsMode& value) { m_modeHasBeenSet = true; m_mode = value; }
80 inline void SetMode(QueryInsightsMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
81 inline QueryInsights& WithMode(const QueryInsightsMode& value) { SetMode(value); return *this;}
82 inline QueryInsights& WithMode(QueryInsightsMode&& value) { SetMode(std::move(value)); return *this;}
84 private:
85
86 QueryInsightsMode m_mode;
87 bool m_modeHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace TimestreamQuery
92} // namespace Aws
const QueryInsightsMode & GetMode() const
AWS_TIMESTREAMQUERY_API QueryInsights & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMQUERY_API QueryInsights(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMQUERY_API QueryInsights()
void SetMode(const QueryInsightsMode &value)
void SetMode(QueryInsightsMode &&value)
QueryInsights & WithMode(QueryInsightsMode &&value)
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
QueryInsights & WithMode(const QueryInsightsMode &value)
Aws::Utils::Json::JsonValue JsonValue