AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
Statistics.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Macie2 {
17namespace Model {
18
26 public:
27 AWS_MACIE2_API Statistics() = default;
28 AWS_MACIE2_API Statistics(Aws::Utils::Json::JsonView jsonValue);
30 AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline double GetApproximateNumberOfObjectsToProcess() const { return m_approximateNumberOfObjectsToProcess; }
38 inline bool ApproximateNumberOfObjectsToProcessHasBeenSet() const { return m_approximateNumberOfObjectsToProcessHasBeenSet; }
39 inline void SetApproximateNumberOfObjectsToProcess(double value) {
40 m_approximateNumberOfObjectsToProcessHasBeenSet = true;
41 m_approximateNumberOfObjectsToProcess = value;
42 }
45 return *this;
46 }
48
50
53 inline double GetNumberOfRuns() const { return m_numberOfRuns; }
54 inline bool NumberOfRunsHasBeenSet() const { return m_numberOfRunsHasBeenSet; }
55 inline void SetNumberOfRuns(double value) {
56 m_numberOfRunsHasBeenSet = true;
57 m_numberOfRuns = value;
58 }
59 inline Statistics& WithNumberOfRuns(double value) {
60 SetNumberOfRuns(value);
61 return *this;
62 }
64 private:
65 double m_approximateNumberOfObjectsToProcess{0.0};
66
67 double m_numberOfRuns{0.0};
68 bool m_approximateNumberOfObjectsToProcessHasBeenSet = false;
69 bool m_numberOfRunsHasBeenSet = false;
70};
71
72} // namespace Model
73} // namespace Macie2
74} // namespace Aws
bool NumberOfRunsHasBeenSet() const
Definition Statistics.h:54
AWS_MACIE2_API Statistics()=default
bool ApproximateNumberOfObjectsToProcessHasBeenSet() const
Definition Statistics.h:38
Statistics & WithNumberOfRuns(double value)
Definition Statistics.h:59
Statistics & WithApproximateNumberOfObjectsToProcess(double value)
Definition Statistics.h:43
void SetNumberOfRuns(double value)
Definition Statistics.h:55
AWS_MACIE2_API Statistics & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetApproximateNumberOfObjectsToProcess(double value)
Definition Statistics.h:39
double GetApproximateNumberOfObjectsToProcess() const
Definition Statistics.h:37
AWS_MACIE2_API Statistics(Aws::Utils::Json::JsonView jsonValue)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue