AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QueryStatus.h
1
6#pragma once
7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace TimestreamQuery
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_TIMESTREAMQUERY_API QueryStatus();
34 AWS_TIMESTREAMQUERY_API QueryStatus(Aws::Utils::Json::JsonView jsonValue);
35 AWS_TIMESTREAMQUERY_API QueryStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline double GetProgressPercentage() const{ return m_progressPercentage; }
44 inline bool ProgressPercentageHasBeenSet() const { return m_progressPercentageHasBeenSet; }
45 inline void SetProgressPercentage(double value) { m_progressPercentageHasBeenSet = true; m_progressPercentage = value; }
46 inline QueryStatus& WithProgressPercentage(double value) { SetProgressPercentage(value); return *this;}
48
50
55 inline long long GetCumulativeBytesScanned() const{ return m_cumulativeBytesScanned; }
56 inline bool CumulativeBytesScannedHasBeenSet() const { return m_cumulativeBytesScannedHasBeenSet; }
57 inline void SetCumulativeBytesScanned(long long value) { m_cumulativeBytesScannedHasBeenSet = true; m_cumulativeBytesScanned = value; }
58 inline QueryStatus& WithCumulativeBytesScanned(long long value) { SetCumulativeBytesScanned(value); return *this;}
60
62
69 inline long long GetCumulativeBytesMetered() const{ return m_cumulativeBytesMetered; }
70 inline bool CumulativeBytesMeteredHasBeenSet() const { return m_cumulativeBytesMeteredHasBeenSet; }
71 inline void SetCumulativeBytesMetered(long long value) { m_cumulativeBytesMeteredHasBeenSet = true; m_cumulativeBytesMetered = value; }
72 inline QueryStatus& WithCumulativeBytesMetered(long long value) { SetCumulativeBytesMetered(value); return *this;}
74 private:
75
76 double m_progressPercentage;
77 bool m_progressPercentageHasBeenSet = false;
78
79 long long m_cumulativeBytesScanned;
80 bool m_cumulativeBytesScannedHasBeenSet = false;
81
82 long long m_cumulativeBytesMetered;
83 bool m_cumulativeBytesMeteredHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace TimestreamQuery
88} // namespace Aws
QueryStatus & WithCumulativeBytesMetered(long long value)
Definition QueryStatus.h:72
QueryStatus & WithCumulativeBytesScanned(long long value)
Definition QueryStatus.h:58
AWS_TIMESTREAMQUERY_API QueryStatus()
QueryStatus & WithProgressPercentage(double value)
Definition QueryStatus.h:46
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCumulativeBytesScanned(long long value)
Definition QueryStatus.h:57
AWS_TIMESTREAMQUERY_API QueryStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCumulativeBytesMetered(long long value)
Definition QueryStatus.h:71
AWS_TIMESTREAMQUERY_API QueryStatus(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue