AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 TitleAggregationResponse& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
52 inline TitleAggregationResponse& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
53 inline TitleAggregationResponse& WithAccountId(const char* value) { SetAccountId(value); return *this;}
55
57
60 inline const SeverityCounts& GetSeverityCounts() const{ return m_severityCounts; }
61 inline bool SeverityCountsHasBeenSet() const { return m_severityCountsHasBeenSet; }
62 inline void SetSeverityCounts(const SeverityCounts& value) { m_severityCountsHasBeenSet = true; m_severityCounts = value; }
63 inline void SetSeverityCounts(SeverityCounts&& value) { m_severityCountsHasBeenSet = true; m_severityCounts = std::move(value); }
64 inline TitleAggregationResponse& WithSeverityCounts(const SeverityCounts& value) { SetSeverityCounts(value); return *this;}
65 inline TitleAggregationResponse& WithSeverityCounts(SeverityCounts&& value) { SetSeverityCounts(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetTitle() const{ return m_title; }
73 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
74 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
75 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
76 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
77 inline TitleAggregationResponse& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
78 inline TitleAggregationResponse& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
79 inline TitleAggregationResponse& WithTitle(const char* value) { SetTitle(value); return *this;}
81
83
86 inline const Aws::String& GetVulnerabilityId() const{ return m_vulnerabilityId; }
87 inline bool VulnerabilityIdHasBeenSet() const { return m_vulnerabilityIdHasBeenSet; }
88 inline void SetVulnerabilityId(const Aws::String& value) { m_vulnerabilityIdHasBeenSet = true; m_vulnerabilityId = value; }
89 inline void SetVulnerabilityId(Aws::String&& value) { m_vulnerabilityIdHasBeenSet = true; m_vulnerabilityId = std::move(value); }
90 inline void SetVulnerabilityId(const char* value) { m_vulnerabilityIdHasBeenSet = true; m_vulnerabilityId.assign(value); }
91 inline TitleAggregationResponse& WithVulnerabilityId(const Aws::String& value) { SetVulnerabilityId(value); return *this;}
92 inline TitleAggregationResponse& WithVulnerabilityId(Aws::String&& value) { SetVulnerabilityId(std::move(value)); return *this;}
93 inline TitleAggregationResponse& WithVulnerabilityId(const char* value) { SetVulnerabilityId(value); return *this;}
95 private:
96
97 Aws::String m_accountId;
98 bool m_accountIdHasBeenSet = false;
99
100 SeverityCounts m_severityCounts;
101 bool m_severityCountsHasBeenSet = false;
102
103 Aws::String m_title;
104 bool m_titleHasBeenSet = false;
105
106 Aws::String m_vulnerabilityId;
107 bool m_vulnerabilityIdHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace Inspector2
112} // namespace Aws
TitleAggregationResponse & WithAccountId(const char *value)
TitleAggregationResponse & WithTitle(Aws::String &&value)
TitleAggregationResponse & WithSeverityCounts(SeverityCounts &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR2_API TitleAggregationResponse(Aws::Utils::Json::JsonView jsonValue)
TitleAggregationResponse & WithTitle(const Aws::String &value)
TitleAggregationResponse & WithAccountId(const Aws::String &value)
AWS_INSPECTOR2_API TitleAggregationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
TitleAggregationResponse & WithVulnerabilityId(Aws::String &&value)
TitleAggregationResponse & WithTitle(const char *value)
TitleAggregationResponse & WithSeverityCounts(const SeverityCounts &value)
TitleAggregationResponse & WithAccountId(Aws::String &&value)
TitleAggregationResponse & WithVulnerabilityId(const Aws::String &value)
TitleAggregationResponse & WithVulnerabilityId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue