AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
QueryStatus.h
1
6#pragma once
7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace TimestreamQuery {
17namespace Model {
18
26 public:
27 AWS_TIMESTREAMQUERY_API QueryStatus() = default;
30 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline double GetProgressPercentage() const { return m_progressPercentage; }
37 inline bool ProgressPercentageHasBeenSet() const { return m_progressPercentageHasBeenSet; }
38 inline void SetProgressPercentage(double value) {
39 m_progressPercentageHasBeenSet = true;
40 m_progressPercentage = value;
41 }
42 inline QueryStatus& WithProgressPercentage(double value) {
44 return *this;
45 }
47
49
54 inline long long GetCumulativeBytesScanned() const { return m_cumulativeBytesScanned; }
55 inline bool CumulativeBytesScannedHasBeenSet() const { return m_cumulativeBytesScannedHasBeenSet; }
56 inline void SetCumulativeBytesScanned(long long value) {
57 m_cumulativeBytesScannedHasBeenSet = true;
58 m_cumulativeBytesScanned = value;
59 }
60 inline QueryStatus& WithCumulativeBytesScanned(long long value) {
62 return *this;
63 }
65
67
74 inline long long GetCumulativeBytesMetered() const { return m_cumulativeBytesMetered; }
75 inline bool CumulativeBytesMeteredHasBeenSet() const { return m_cumulativeBytesMeteredHasBeenSet; }
76 inline void SetCumulativeBytesMetered(long long value) {
77 m_cumulativeBytesMeteredHasBeenSet = true;
78 m_cumulativeBytesMetered = value;
79 }
80 inline QueryStatus& WithCumulativeBytesMetered(long long value) {
82 return *this;
83 }
85 private:
86 double m_progressPercentage{0.0};
87
88 long long m_cumulativeBytesScanned{0};
89
90 long long m_cumulativeBytesMetered{0};
91 bool m_progressPercentageHasBeenSet = false;
92 bool m_cumulativeBytesScannedHasBeenSet = false;
93 bool m_cumulativeBytesMeteredHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace TimestreamQuery
98} // namespace Aws
QueryStatus & WithCumulativeBytesMetered(long long value)
Definition QueryStatus.h:80
QueryStatus & WithCumulativeBytesScanned(long long value)
Definition QueryStatus.h:60
QueryStatus & WithProgressPercentage(double value)
Definition QueryStatus.h:42
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCumulativeBytesScanned(long long value)
Definition QueryStatus.h:56
AWS_TIMESTREAMQUERY_API QueryStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMQUERY_API QueryStatus()=default
void SetCumulativeBytesMetered(long long value)
Definition QueryStatus.h:76
AWS_TIMESTREAMQUERY_API QueryStatus(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue