AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VulnerabilityIdAggregation.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/imagebuilder/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 imagebuilder
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IMAGEBUILDER_API VulnerabilityIdAggregation();
39 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetVulnerabilityId() const{ return m_vulnerabilityId; }
47 inline bool VulnerabilityIdHasBeenSet() const { return m_vulnerabilityIdHasBeenSet; }
48 inline void SetVulnerabilityId(const Aws::String& value) { m_vulnerabilityIdHasBeenSet = true; m_vulnerabilityId = value; }
49 inline void SetVulnerabilityId(Aws::String&& value) { m_vulnerabilityIdHasBeenSet = true; m_vulnerabilityId = std::move(value); }
50 inline void SetVulnerabilityId(const char* value) { m_vulnerabilityIdHasBeenSet = true; m_vulnerabilityId.assign(value); }
52 inline VulnerabilityIdAggregation& WithVulnerabilityId(Aws::String&& value) { SetVulnerabilityId(std::move(value)); return *this;}
53 inline VulnerabilityIdAggregation& WithVulnerabilityId(const char* value) { SetVulnerabilityId(value); return *this;}
55
57
61 inline const SeverityCounts& GetSeverityCounts() const{ return m_severityCounts; }
62 inline bool SeverityCountsHasBeenSet() const { return m_severityCountsHasBeenSet; }
63 inline void SetSeverityCounts(const SeverityCounts& value) { m_severityCountsHasBeenSet = true; m_severityCounts = value; }
64 inline void SetSeverityCounts(SeverityCounts&& value) { m_severityCountsHasBeenSet = true; m_severityCounts = std::move(value); }
66 inline VulnerabilityIdAggregation& WithSeverityCounts(SeverityCounts&& value) { SetSeverityCounts(std::move(value)); return *this;}
68 private:
69
70 Aws::String m_vulnerabilityId;
71 bool m_vulnerabilityIdHasBeenSet = false;
72
73 SeverityCounts m_severityCounts;
74 bool m_severityCountsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace imagebuilder
79} // namespace Aws
VulnerabilityIdAggregation & WithVulnerabilityId(const Aws::String &value)
VulnerabilityIdAggregation & WithSeverityCounts(SeverityCounts &&value)
AWS_IMAGEBUILDER_API VulnerabilityIdAggregation(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
VulnerabilityIdAggregation & WithVulnerabilityId(Aws::String &&value)
VulnerabilityIdAggregation & WithVulnerabilityId(const char *value)
VulnerabilityIdAggregation & WithSeverityCounts(const SeverityCounts &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