AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ImageScanFindingAggregation.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/imagebuilder/model/AccountAggregation.h>
9#include <aws/imagebuilder/model/ImageAggregation.h>
10#include <aws/imagebuilder/model/ImagePipelineAggregation.h>
11#include <aws/imagebuilder/model/VulnerabilityIdAggregation.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace imagebuilder {
23namespace Model {
24
32 public:
33 AWS_IMAGEBUILDER_API ImageScanFindingAggregation() = default;
36 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const AccountAggregation& GetAccountAggregation() const { return m_accountAggregation; }
43 inline bool AccountAggregationHasBeenSet() const { return m_accountAggregationHasBeenSet; }
44 template <typename AccountAggregationT = AccountAggregation>
45 void SetAccountAggregation(AccountAggregationT&& value) {
46 m_accountAggregationHasBeenSet = true;
47 m_accountAggregation = std::forward<AccountAggregationT>(value);
48 }
49 template <typename AccountAggregationT = AccountAggregation>
51 SetAccountAggregation(std::forward<AccountAggregationT>(value));
52 return *this;
53 }
55
57
61 inline const ImageAggregation& GetImageAggregation() const { return m_imageAggregation; }
62 inline bool ImageAggregationHasBeenSet() const { return m_imageAggregationHasBeenSet; }
63 template <typename ImageAggregationT = ImageAggregation>
64 void SetImageAggregation(ImageAggregationT&& value) {
65 m_imageAggregationHasBeenSet = true;
66 m_imageAggregation = std::forward<ImageAggregationT>(value);
67 }
68 template <typename ImageAggregationT = ImageAggregation>
70 SetImageAggregation(std::forward<ImageAggregationT>(value));
71 return *this;
72 }
74
76
80 inline const ImagePipelineAggregation& GetImagePipelineAggregation() const { return m_imagePipelineAggregation; }
81 inline bool ImagePipelineAggregationHasBeenSet() const { return m_imagePipelineAggregationHasBeenSet; }
82 template <typename ImagePipelineAggregationT = ImagePipelineAggregation>
83 void SetImagePipelineAggregation(ImagePipelineAggregationT&& value) {
84 m_imagePipelineAggregationHasBeenSet = true;
85 m_imagePipelineAggregation = std::forward<ImagePipelineAggregationT>(value);
86 }
87 template <typename ImagePipelineAggregationT = ImagePipelineAggregation>
88 ImageScanFindingAggregation& WithImagePipelineAggregation(ImagePipelineAggregationT&& value) {
89 SetImagePipelineAggregation(std::forward<ImagePipelineAggregationT>(value));
90 return *this;
91 }
93
95
99 inline const VulnerabilityIdAggregation& GetVulnerabilityIdAggregation() const { return m_vulnerabilityIdAggregation; }
100 inline bool VulnerabilityIdAggregationHasBeenSet() const { return m_vulnerabilityIdAggregationHasBeenSet; }
101 template <typename VulnerabilityIdAggregationT = VulnerabilityIdAggregation>
102 void SetVulnerabilityIdAggregation(VulnerabilityIdAggregationT&& value) {
103 m_vulnerabilityIdAggregationHasBeenSet = true;
104 m_vulnerabilityIdAggregation = std::forward<VulnerabilityIdAggregationT>(value);
105 }
106 template <typename VulnerabilityIdAggregationT = VulnerabilityIdAggregation>
107 ImageScanFindingAggregation& WithVulnerabilityIdAggregation(VulnerabilityIdAggregationT&& value) {
108 SetVulnerabilityIdAggregation(std::forward<VulnerabilityIdAggregationT>(value));
109 return *this;
110 }
112 private:
113 AccountAggregation m_accountAggregation;
114
115 ImageAggregation m_imageAggregation;
116
117 ImagePipelineAggregation m_imagePipelineAggregation;
118
119 VulnerabilityIdAggregation m_vulnerabilityIdAggregation;
120 bool m_accountAggregationHasBeenSet = false;
121 bool m_imageAggregationHasBeenSet = false;
122 bool m_imagePipelineAggregationHasBeenSet = false;
123 bool m_vulnerabilityIdAggregationHasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace imagebuilder
128} // namespace Aws
ImageScanFindingAggregation & WithImagePipelineAggregation(ImagePipelineAggregationT &&value)
void SetImagePipelineAggregation(ImagePipelineAggregationT &&value)
const ImagePipelineAggregation & GetImagePipelineAggregation() const
AWS_IMAGEBUILDER_API ImageScanFindingAggregation()=default
ImageScanFindingAggregation & WithVulnerabilityIdAggregation(VulnerabilityIdAggregationT &&value)
AWS_IMAGEBUILDER_API ImageScanFindingAggregation(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
const VulnerabilityIdAggregation & GetVulnerabilityIdAggregation() const
ImageScanFindingAggregation & WithAccountAggregation(AccountAggregationT &&value)
void SetVulnerabilityIdAggregation(VulnerabilityIdAggregationT &&value)
ImageScanFindingAggregation & WithImageAggregation(ImageAggregationT &&value)
AWS_IMAGEBUILDER_API ImageScanFindingAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue