AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
ObservationSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Connect {
17namespace Model {
18
26 public:
27 AWS_CONNECT_API ObservationSummary() = default;
30 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline int GetTotalObservations() const { return m_totalObservations; }
37 inline bool TotalObservationsHasBeenSet() const { return m_totalObservationsHasBeenSet; }
38 inline void SetTotalObservations(int value) {
39 m_totalObservationsHasBeenSet = true;
40 m_totalObservations = value;
41 }
44 return *this;
45 }
47
49
52 inline int GetObservationsPassed() const { return m_observationsPassed; }
53 inline bool ObservationsPassedHasBeenSet() const { return m_observationsPassedHasBeenSet; }
54 inline void SetObservationsPassed(int value) {
55 m_observationsPassedHasBeenSet = true;
56 m_observationsPassed = value;
57 }
60 return *this;
61 }
63
65
68 inline int GetObservationsFailed() const { return m_observationsFailed; }
69 inline bool ObservationsFailedHasBeenSet() const { return m_observationsFailedHasBeenSet; }
70 inline void SetObservationsFailed(int value) {
71 m_observationsFailedHasBeenSet = true;
72 m_observationsFailed = value;
73 }
76 return *this;
77 }
79 private:
80 int m_totalObservations{0};
81
82 int m_observationsPassed{0};
83
84 int m_observationsFailed{0};
85 bool m_totalObservationsHasBeenSet = false;
86 bool m_observationsPassedHasBeenSet = false;
87 bool m_observationsFailedHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace Connect
92} // namespace Aws
ObservationSummary & WithObservationsPassed(int value)
AWS_CONNECT_API ObservationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ObservationSummary & WithTotalObservations(int value)
ObservationSummary & WithObservationsFailed(int value)
AWS_CONNECT_API ObservationSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API ObservationSummary()=default
Aws::Utils::Json::JsonValue JsonValue