AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
AccountAggregationResponse.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/inspector2/Inspector2_EXPORTS.h>
9#include <aws/inspector2/model/SeverityCounts.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Inspector2 {
21namespace Model {
22
30 public:
31 AWS_INSPECTOR2_API AccountAggregationResponse() = default;
34 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetAccountId() const { return m_accountId; }
41 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
42 template <typename AccountIdT = Aws::String>
43 void SetAccountId(AccountIdT&& value) {
44 m_accountIdHasBeenSet = true;
45 m_accountId = std::forward<AccountIdT>(value);
46 }
47 template <typename AccountIdT = Aws::String>
49 SetAccountId(std::forward<AccountIdT>(value));
50 return *this;
51 }
53
55
58 inline const SeverityCounts& GetSeverityCounts() const { return m_severityCounts; }
59 inline bool SeverityCountsHasBeenSet() const { return m_severityCountsHasBeenSet; }
60 template <typename SeverityCountsT = SeverityCounts>
61 void SetSeverityCounts(SeverityCountsT&& value) {
62 m_severityCountsHasBeenSet = true;
63 m_severityCounts = std::forward<SeverityCountsT>(value);
64 }
65 template <typename SeverityCountsT = SeverityCounts>
67 SetSeverityCounts(std::forward<SeverityCountsT>(value));
68 return *this;
69 }
71
73
76 inline long long GetExploitAvailableCount() const { return m_exploitAvailableCount; }
77 inline bool ExploitAvailableCountHasBeenSet() const { return m_exploitAvailableCountHasBeenSet; }
78 inline void SetExploitAvailableCount(long long value) {
79 m_exploitAvailableCountHasBeenSet = true;
80 m_exploitAvailableCount = value;
81 }
84 return *this;
85 }
87
89
92 inline long long GetFixAvailableCount() const { return m_fixAvailableCount; }
93 inline bool FixAvailableCountHasBeenSet() const { return m_fixAvailableCountHasBeenSet; }
94 inline void SetFixAvailableCount(long long value) {
95 m_fixAvailableCountHasBeenSet = true;
96 m_fixAvailableCount = value;
97 }
100 return *this;
101 }
103 private:
104 Aws::String m_accountId;
105
106 SeverityCounts m_severityCounts;
107
108 long long m_exploitAvailableCount{0};
109
110 long long m_fixAvailableCount{0};
111 bool m_accountIdHasBeenSet = false;
112 bool m_severityCountsHasBeenSet = false;
113 bool m_exploitAvailableCountHasBeenSet = false;
114 bool m_fixAvailableCountHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace Inspector2
119} // namespace Aws
AWS_INSPECTOR2_API AccountAggregationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API AccountAggregationResponse()=default
AccountAggregationResponse & WithExploitAvailableCount(long long value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR2_API AccountAggregationResponse(Aws::Utils::Json::JsonView jsonValue)
AccountAggregationResponse & WithAccountId(AccountIdT &&value)
AccountAggregationResponse & WithFixAvailableCount(long long value)
AccountAggregationResponse & WithSeverityCounts(SeverityCountsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue