AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccountAggregationResponse.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector2/model/SeverityCounts.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Inspector2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_INSPECTOR2_API AccountAggregationResponse();
39 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAccountId() const{ return m_accountId; }
47 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
48 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
49 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
50 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
51 inline AccountAggregationResponse& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
52 inline AccountAggregationResponse& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
53 inline AccountAggregationResponse& WithAccountId(const char* value) { SetAccountId(value); return *this;}
55
57
60 inline long long GetExploitAvailableCount() const{ return m_exploitAvailableCount; }
61 inline bool ExploitAvailableCountHasBeenSet() const { return m_exploitAvailableCountHasBeenSet; }
62 inline void SetExploitAvailableCount(long long value) { m_exploitAvailableCountHasBeenSet = true; m_exploitAvailableCount = value; }
63 inline AccountAggregationResponse& WithExploitAvailableCount(long long value) { SetExploitAvailableCount(value); return *this;}
65
67
70 inline long long GetFixAvailableCount() const{ return m_fixAvailableCount; }
71 inline bool FixAvailableCountHasBeenSet() const { return m_fixAvailableCountHasBeenSet; }
72 inline void SetFixAvailableCount(long long value) { m_fixAvailableCountHasBeenSet = true; m_fixAvailableCount = value; }
73 inline AccountAggregationResponse& WithFixAvailableCount(long long value) { SetFixAvailableCount(value); return *this;}
75
77
80 inline const SeverityCounts& GetSeverityCounts() const{ return m_severityCounts; }
81 inline bool SeverityCountsHasBeenSet() const { return m_severityCountsHasBeenSet; }
82 inline void SetSeverityCounts(const SeverityCounts& value) { m_severityCountsHasBeenSet = true; m_severityCounts = value; }
83 inline void SetSeverityCounts(SeverityCounts&& value) { m_severityCountsHasBeenSet = true; m_severityCounts = std::move(value); }
85 inline AccountAggregationResponse& WithSeverityCounts(SeverityCounts&& value) { SetSeverityCounts(std::move(value)); return *this;}
87 private:
88
89 Aws::String m_accountId;
90 bool m_accountIdHasBeenSet = false;
91
92 long long m_exploitAvailableCount;
93 bool m_exploitAvailableCountHasBeenSet = false;
94
95 long long m_fixAvailableCount;
96 bool m_fixAvailableCountHasBeenSet = false;
97
98 SeverityCounts m_severityCounts;
99 bool m_severityCountsHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace Inspector2
104} // namespace Aws
AccountAggregationResponse & WithAccountId(const Aws::String &value)
AWS_INSPECTOR2_API AccountAggregationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AccountAggregationResponse & WithSeverityCounts(SeverityCounts &&value)
AccountAggregationResponse & WithExploitAvailableCount(long long value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AccountAggregationResponse & WithAccountId(const char *value)
AWS_INSPECTOR2_API AccountAggregationResponse(Aws::Utils::Json::JsonView jsonValue)
AccountAggregationResponse & WithAccountId(Aws::String &&value)
AccountAggregationResponse & WithSeverityCounts(const SeverityCounts &value)
AccountAggregationResponse & WithFixAvailableCount(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue