AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecommendationResourcesAggregates.h
1
6#pragma once
7#include <aws/trustedadvisor/TrustedAdvisor_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 TrustedAdvisor
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_TRUSTEDADVISOR_API RecommendationResourcesAggregates();
35 AWS_TRUSTEDADVISOR_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
43 inline long long GetErrorCount() const{ return m_errorCount; }
44 inline bool ErrorCountHasBeenSet() const { return m_errorCountHasBeenSet; }
45 inline void SetErrorCount(long long value) { m_errorCountHasBeenSet = true; m_errorCount = value; }
46 inline RecommendationResourcesAggregates& WithErrorCount(long long value) { SetErrorCount(value); return *this;}
48
50
54 inline long long GetOkCount() const{ return m_okCount; }
55 inline bool OkCountHasBeenSet() const { return m_okCountHasBeenSet; }
56 inline void SetOkCount(long long value) { m_okCountHasBeenSet = true; m_okCount = value; }
57 inline RecommendationResourcesAggregates& WithOkCount(long long value) { SetOkCount(value); return *this;}
59
61
65 inline long long GetWarningCount() const{ return m_warningCount; }
66 inline bool WarningCountHasBeenSet() const { return m_warningCountHasBeenSet; }
67 inline void SetWarningCount(long long value) { m_warningCountHasBeenSet = true; m_warningCount = value; }
68 inline RecommendationResourcesAggregates& WithWarningCount(long long value) { SetWarningCount(value); return *this;}
70 private:
71
72 long long m_errorCount;
73 bool m_errorCountHasBeenSet = false;
74
75 long long m_okCount;
76 bool m_okCountHasBeenSet = false;
77
78 long long m_warningCount;
79 bool m_warningCountHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace TrustedAdvisor
84} // namespace Aws
RecommendationResourcesAggregates & WithOkCount(long long value)
RecommendationResourcesAggregates & WithWarningCount(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