AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
VulnerabilityIdAggregation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
9#include <aws/imagebuilder/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 imagebuilder {
21namespace Model {
22
30 public:
31 AWS_IMAGEBUILDER_API VulnerabilityIdAggregation() = default;
34 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetVulnerabilityId() const { return m_vulnerabilityId; }
41 inline bool VulnerabilityIdHasBeenSet() const { return m_vulnerabilityIdHasBeenSet; }
42 template <typename VulnerabilityIdT = Aws::String>
43 void SetVulnerabilityId(VulnerabilityIdT&& value) {
44 m_vulnerabilityIdHasBeenSet = true;
45 m_vulnerabilityId = std::forward<VulnerabilityIdT>(value);
46 }
47 template <typename VulnerabilityIdT = Aws::String>
49 SetVulnerabilityId(std::forward<VulnerabilityIdT>(value));
50 return *this;
51 }
53
55
59 inline const SeverityCounts& GetSeverityCounts() const { return m_severityCounts; }
60 inline bool SeverityCountsHasBeenSet() const { return m_severityCountsHasBeenSet; }
61 template <typename SeverityCountsT = SeverityCounts>
62 void SetSeverityCounts(SeverityCountsT&& value) {
63 m_severityCountsHasBeenSet = true;
64 m_severityCounts = std::forward<SeverityCountsT>(value);
65 }
66 template <typename SeverityCountsT = SeverityCounts>
68 SetSeverityCounts(std::forward<SeverityCountsT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_vulnerabilityId;
74
75 SeverityCounts m_severityCounts;
76 bool m_vulnerabilityIdHasBeenSet = false;
77 bool m_severityCountsHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace imagebuilder
82} // namespace Aws
AWS_IMAGEBUILDER_API VulnerabilityIdAggregation()=default
VulnerabilityIdAggregation & WithSeverityCounts(SeverityCountsT &&value)
AWS_IMAGEBUILDER_API VulnerabilityIdAggregation(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
VulnerabilityIdAggregation & WithVulnerabilityId(VulnerabilityIdT &&value)
AWS_IMAGEBUILDER_API VulnerabilityIdAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue