7#include <aws/cloudwatchomni/CloudWatchOmni_EXPORTS.h>
8#include <aws/cloudwatchomni/model/PartialResults.h>
9#include <aws/crt/cbor/Cbor.h>
19namespace CloudWatchOmni {
30 AWS_CLOUDWATCHOMNI_API
QueryStatistics(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_CLOUDWATCHOMNI_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
41 m_bytesScannedHasBeenSet =
true;
42 m_bytesScanned = value;
57 m_percentCompleteHasBeenSet =
true;
58 m_percentComplete = value;
73 m_recordsScannedHasBeenSet =
true;
74 m_recordsScanned = value;
89 m_recordsMatchedHasBeenSet =
true;
90 m_recordsMatched = value;
104 template <
typename PartialResultsT = PartialResults>
106 m_partialResultsHasBeenSet =
true;
107 m_partialResults = std::forward<PartialResultsT>(value);
109 template <
typename PartialResultsT = PartialResults>
116 double m_bytesScanned{0.0};
118 int64_t m_percentComplete{0};
120 long long m_recordsScanned{0};
122 long long m_recordsMatched{0};
124 PartialResults m_partialResults;
125 bool m_bytesScannedHasBeenSet =
false;
126 bool m_percentCompleteHasBeenSet =
false;
127 bool m_recordsScannedHasBeenSet =
false;
128 bool m_recordsMatchedHasBeenSet =
false;
129 bool m_partialResultsHasBeenSet =
false;
long long GetRecordsMatched() const
void SetPercentComplete(int64_t value)
void SetRecordsScanned(long long value)
void SetRecordsMatched(long long value)
bool PartialResultsHasBeenSet() const
AWS_CLOUDWATCHOMNI_API QueryStatistics(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool PercentCompleteHasBeenSet() const
AWS_CLOUDWATCHOMNI_API QueryStatistics & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
double GetBytesScanned() const
const PartialResults & GetPartialResults() const
AWS_CLOUDWATCHOMNI_API QueryStatistics()=default
QueryStatistics & WithRecordsScanned(long long value)
QueryStatistics & WithPercentComplete(int64_t value)
long long GetRecordsScanned() const
int64_t GetPercentComplete() const
QueryStatistics & WithRecordsMatched(long long value)
QueryStatistics & WithBytesScanned(double value)
bool RecordsScannedHasBeenSet() const
void SetBytesScanned(double value)
AWS_CLOUDWATCHOMNI_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
QueryStatistics & WithPartialResults(PartialResultsT &&value)
void SetPartialResults(PartialResultsT &&value)
bool RecordsMatchedHasBeenSet() const
bool BytesScannedHasBeenSet() const