AWS SDK for C++

AWS SDK for C++ Version 1.11.718

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace TimestreamQuery {
21namespace Model {
22
31 public:
32 AWS_TIMESTREAMQUERY_API ScheduledQueryInsightsResponse() = default;
35 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
44 inline const QuerySpatialCoverage& GetQuerySpatialCoverage() const { return m_querySpatialCoverage; }
45 inline bool QuerySpatialCoverageHasBeenSet() const { return m_querySpatialCoverageHasBeenSet; }
46 template <typename QuerySpatialCoverageT = QuerySpatialCoverage>
48 m_querySpatialCoverageHasBeenSet = true;
49 m_querySpatialCoverage = std::forward<QuerySpatialCoverageT>(value);
50 }
51 template <typename QuerySpatialCoverageT = QuerySpatialCoverage>
53 SetQuerySpatialCoverage(std::forward<QuerySpatialCoverageT>(value));
54 return *this;
55 }
57
59
67 inline const QueryTemporalRange& GetQueryTemporalRange() const { return m_queryTemporalRange; }
68 inline bool QueryTemporalRangeHasBeenSet() const { return m_queryTemporalRangeHasBeenSet; }
69 template <typename QueryTemporalRangeT = QueryTemporalRange>
71 m_queryTemporalRangeHasBeenSet = true;
72 m_queryTemporalRange = std::forward<QueryTemporalRangeT>(value);
73 }
74 template <typename QueryTemporalRangeT = QueryTemporalRange>
76 SetQueryTemporalRange(std::forward<QueryTemporalRangeT>(value));
77 return *this;
78 }
80
82
85 inline long long GetQueryTableCount() const { return m_queryTableCount; }
86 inline bool QueryTableCountHasBeenSet() const { return m_queryTableCountHasBeenSet; }
87 inline void SetQueryTableCount(long long value) {
88 m_queryTableCountHasBeenSet = true;
89 m_queryTableCount = value;
90 }
92 SetQueryTableCount(value);
93 return *this;
94 }
96
98
103 inline long long GetOutputRows() const { return m_outputRows; }
104 inline bool OutputRowsHasBeenSet() const { return m_outputRowsHasBeenSet; }
105 inline void SetOutputRows(long long value) {
106 m_outputRowsHasBeenSet = true;
107 m_outputRows = value;
108 }
110 SetOutputRows(value);
111 return *this;
112 }
114
116
120 inline long long GetOutputBytes() const { return m_outputBytes; }
121 inline bool OutputBytesHasBeenSet() const { return m_outputBytesHasBeenSet; }
122 inline void SetOutputBytes(long long value) {
123 m_outputBytesHasBeenSet = true;
124 m_outputBytes = value;
125 }
127 SetOutputBytes(value);
128 return *this;
129 }
131 private:
132 QuerySpatialCoverage m_querySpatialCoverage;
133
134 QueryTemporalRange m_queryTemporalRange;
135
136 long long m_queryTableCount{0};
137
138 long long m_outputRows{0};
139
140 long long m_outputBytes{0};
141 bool m_querySpatialCoverageHasBeenSet = false;
142 bool m_queryTemporalRangeHasBeenSet = false;
143 bool m_queryTableCountHasBeenSet = false;
144 bool m_outputRowsHasBeenSet = false;
145 bool m_outputBytesHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace TimestreamQuery
150} // 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