AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ScheduledQueryInsightsResponse.h
1
6#pragma once
7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8#include <aws/timestream-query/model/QuerySpatialCoverage.h>
9#include <aws/timestream-query/model/QueryTemporalRange.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 TimestreamQuery
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_TIMESTREAMQUERY_API ScheduledQueryInsightsResponse() = default;
40 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline const QuerySpatialCoverage& GetQuerySpatialCoverage() const { return m_querySpatialCoverage; }
51 inline bool QuerySpatialCoverageHasBeenSet() const { return m_querySpatialCoverageHasBeenSet; }
52 template<typename QuerySpatialCoverageT = QuerySpatialCoverage>
53 void SetQuerySpatialCoverage(QuerySpatialCoverageT&& value) { m_querySpatialCoverageHasBeenSet = true; m_querySpatialCoverage = std::forward<QuerySpatialCoverageT>(value); }
54 template<typename QuerySpatialCoverageT = QuerySpatialCoverage>
55 ScheduledQueryInsightsResponse& WithQuerySpatialCoverage(QuerySpatialCoverageT&& value) { SetQuerySpatialCoverage(std::forward<QuerySpatialCoverageT>(value)); return *this;}
57
59
67 inline const QueryTemporalRange& GetQueryTemporalRange() const { return m_queryTemporalRange; }
68 inline bool QueryTemporalRangeHasBeenSet() const { return m_queryTemporalRangeHasBeenSet; }
69 template<typename QueryTemporalRangeT = QueryTemporalRange>
70 void SetQueryTemporalRange(QueryTemporalRangeT&& value) { m_queryTemporalRangeHasBeenSet = true; m_queryTemporalRange = std::forward<QueryTemporalRangeT>(value); }
71 template<typename QueryTemporalRangeT = QueryTemporalRange>
72 ScheduledQueryInsightsResponse& WithQueryTemporalRange(QueryTemporalRangeT&& value) { SetQueryTemporalRange(std::forward<QueryTemporalRangeT>(value)); return *this;}
74
76
79 inline long long GetQueryTableCount() const { return m_queryTableCount; }
80 inline bool QueryTableCountHasBeenSet() const { return m_queryTableCountHasBeenSet; }
81 inline void SetQueryTableCount(long long value) { m_queryTableCountHasBeenSet = true; m_queryTableCount = value; }
82 inline ScheduledQueryInsightsResponse& WithQueryTableCount(long long value) { SetQueryTableCount(value); return *this;}
84
86
91 inline long long GetOutputRows() const { return m_outputRows; }
92 inline bool OutputRowsHasBeenSet() const { return m_outputRowsHasBeenSet; }
93 inline void SetOutputRows(long long value) { m_outputRowsHasBeenSet = true; m_outputRows = value; }
94 inline ScheduledQueryInsightsResponse& WithOutputRows(long long value) { SetOutputRows(value); return *this;}
96
98
102 inline long long GetOutputBytes() const { return m_outputBytes; }
103 inline bool OutputBytesHasBeenSet() const { return m_outputBytesHasBeenSet; }
104 inline void SetOutputBytes(long long value) { m_outputBytesHasBeenSet = true; m_outputBytes = value; }
105 inline ScheduledQueryInsightsResponse& WithOutputBytes(long long value) { SetOutputBytes(value); return *this;}
107 private:
108
109 QuerySpatialCoverage m_querySpatialCoverage;
110 bool m_querySpatialCoverageHasBeenSet = false;
111
112 QueryTemporalRange m_queryTemporalRange;
113 bool m_queryTemporalRangeHasBeenSet = false;
114
115 long long m_queryTableCount{0};
116 bool m_queryTableCountHasBeenSet = false;
117
118 long long m_outputRows{0};
119 bool m_outputRowsHasBeenSet = false;
120
121 long long m_outputBytes{0};
122 bool m_outputBytesHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace TimestreamQuery
127} // namespace Aws
AWS_TIMESTREAMQUERY_API ScheduledQueryInsightsResponse(Aws::Utils::Json::JsonView jsonValue)
ScheduledQueryInsightsResponse & WithQueryTemporalRange(QueryTemporalRangeT &&value)
AWS_TIMESTREAMQUERY_API ScheduledQueryInsightsResponse()=default
ScheduledQueryInsightsResponse & WithOutputRows(long long value)
ScheduledQueryInsightsResponse & WithOutputBytes(long long value)
AWS_TIMESTREAMQUERY_API ScheduledQueryInsightsResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
ScheduledQueryInsightsResponse & WithQueryTableCount(long long value)
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
ScheduledQueryInsightsResponse & WithQuerySpatialCoverage(QuerySpatialCoverageT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue