AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
RecommendationResourcesAggregates.h
1
6#pragma once
7#include <aws/trustedadvisor/TrustedAdvisor_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace TrustedAdvisor {
17namespace Model {
18
25 public:
26 AWS_TRUSTEDADVISOR_API RecommendationResourcesAggregates() = default;
29 AWS_TRUSTEDADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
36 inline long long GetOkCount() const { return m_okCount; }
37 inline bool OkCountHasBeenSet() const { return m_okCountHasBeenSet; }
38 inline void SetOkCount(long long value) {
39 m_okCountHasBeenSet = true;
40 m_okCount = value;
41 }
43 SetOkCount(value);
44 return *this;
45 }
47
49
53 inline long long GetWarningCount() const { return m_warningCount; }
54 inline bool WarningCountHasBeenSet() const { return m_warningCountHasBeenSet; }
55 inline void SetWarningCount(long long value) {
56 m_warningCountHasBeenSet = true;
57 m_warningCount = value;
58 }
60 SetWarningCount(value);
61 return *this;
62 }
64
66
70 inline long long GetErrorCount() const { return m_errorCount; }
71 inline bool ErrorCountHasBeenSet() const { return m_errorCountHasBeenSet; }
72 inline void SetErrorCount(long long value) {
73 m_errorCountHasBeenSet = true;
74 m_errorCount = value;
75 }
77 SetErrorCount(value);
78 return *this;
79 }
81
83
87 inline long long GetExcludedCount() const { return m_excludedCount; }
88 inline bool ExcludedCountHasBeenSet() const { return m_excludedCountHasBeenSet; }
89 inline void SetExcludedCount(long long value) {
90 m_excludedCountHasBeenSet = true;
91 m_excludedCount = value;
92 }
94 SetExcludedCount(value);
95 return *this;
96 }
98 private:
99 long long m_okCount{0};
100
101 long long m_warningCount{0};
102
103 long long m_errorCount{0};
104
105 long long m_excludedCount{0};
106 bool m_okCountHasBeenSet = false;
107 bool m_warningCountHasBeenSet = false;
108 bool m_errorCountHasBeenSet = false;
109 bool m_excludedCountHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace TrustedAdvisor
114} // namespace Aws
RecommendationResourcesAggregates & WithOkCount(long long value)
RecommendationResourcesAggregates & WithWarningCount(long long value)
AWS_TRUSTEDADVISOR_API RecommendationResourcesAggregates()=default
RecommendationResourcesAggregates & WithExcludedCount(long long value)
AWS_TRUSTEDADVISOR_API RecommendationResourcesAggregates & operator=(Aws::Utils::Json::JsonView jsonValue)
RecommendationResourcesAggregates & WithErrorCount(long long value)
AWS_TRUSTEDADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_TRUSTEDADVISOR_API RecommendationResourcesAggregates(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue