AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TitleAggregationResponse.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 TitleAggregationResponse() = default;
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 template<typename AccountIdT = Aws::String>
49 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
50 template<typename AccountIdT = Aws::String>
51 TitleAggregationResponse& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
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) { m_severityCountsHasBeenSet = true; m_severityCounts = std::forward<SeverityCountsT>(value); }
62 template<typename SeverityCountsT = SeverityCounts>
63 TitleAggregationResponse& WithSeverityCounts(SeverityCountsT&& value) { SetSeverityCounts(std::forward<SeverityCountsT>(value)); return *this;}
65
67
70 inline const Aws::String& GetTitle() const { return m_title; }
71 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
72 template<typename TitleT = Aws::String>
73 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
74 template<typename TitleT = Aws::String>
75 TitleAggregationResponse& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
77
79
82 inline const Aws::String& GetVulnerabilityId() const { return m_vulnerabilityId; }
83 inline bool VulnerabilityIdHasBeenSet() const { return m_vulnerabilityIdHasBeenSet; }
84 template<typename VulnerabilityIdT = Aws::String>
85 void SetVulnerabilityId(VulnerabilityIdT&& value) { m_vulnerabilityIdHasBeenSet = true; m_vulnerabilityId = std::forward<VulnerabilityIdT>(value); }
86 template<typename VulnerabilityIdT = Aws::String>
87 TitleAggregationResponse& WithVulnerabilityId(VulnerabilityIdT&& value) { SetVulnerabilityId(std::forward<VulnerabilityIdT>(value)); return *this;}
89 private:
90
91 Aws::String m_accountId;
92 bool m_accountIdHasBeenSet = false;
93
94 SeverityCounts m_severityCounts;
95 bool m_severityCountsHasBeenSet = false;
96
97 Aws::String m_title;
98 bool m_titleHasBeenSet = false;
99
100 Aws::String m_vulnerabilityId;
101 bool m_vulnerabilityIdHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Inspector2
106} // namespace Aws
TitleAggregationResponse & WithSeverityCounts(SeverityCountsT &&value)
AWS_INSPECTOR2_API TitleAggregationResponse()=default
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR2_API TitleAggregationResponse(Aws::Utils::Json::JsonView jsonValue)
TitleAggregationResponse & WithTitle(TitleT &&value)
AWS_INSPECTOR2_API TitleAggregationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
TitleAggregationResponse & WithVulnerabilityId(VulnerabilityIdT &&value)
TitleAggregationResponse & WithAccountId(AccountIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue