AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace imagebuilder
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_IMAGEBUILDER_API ImageScanFindingAggregation() = default;
41 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const AccountAggregation& GetAccountAggregation() const { return m_accountAggregation; }
49 inline bool AccountAggregationHasBeenSet() const { return m_accountAggregationHasBeenSet; }
50 template<typename AccountAggregationT = AccountAggregation>
51 void SetAccountAggregation(AccountAggregationT&& value) { m_accountAggregationHasBeenSet = true; m_accountAggregation = std::forward<AccountAggregationT>(value); }
52 template<typename AccountAggregationT = AccountAggregation>
53 ImageScanFindingAggregation& WithAccountAggregation(AccountAggregationT&& value) { SetAccountAggregation(std::forward<AccountAggregationT>(value)); return *this;}
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) { m_imageAggregationHasBeenSet = true; m_imageAggregation = std::forward<ImageAggregationT>(value); }
65 template<typename ImageAggregationT = ImageAggregation>
66 ImageScanFindingAggregation& WithImageAggregation(ImageAggregationT&& value) { SetImageAggregation(std::forward<ImageAggregationT>(value)); return *this;}
68
70
74 inline const ImagePipelineAggregation& GetImagePipelineAggregation() const { return m_imagePipelineAggregation; }
75 inline bool ImagePipelineAggregationHasBeenSet() const { return m_imagePipelineAggregationHasBeenSet; }
76 template<typename ImagePipelineAggregationT = ImagePipelineAggregation>
77 void SetImagePipelineAggregation(ImagePipelineAggregationT&& value) { m_imagePipelineAggregationHasBeenSet = true; m_imagePipelineAggregation = std::forward<ImagePipelineAggregationT>(value); }
78 template<typename ImagePipelineAggregationT = ImagePipelineAggregation>
79 ImageScanFindingAggregation& WithImagePipelineAggregation(ImagePipelineAggregationT&& value) { SetImagePipelineAggregation(std::forward<ImagePipelineAggregationT>(value)); return *this;}
81
83
87 inline const VulnerabilityIdAggregation& GetVulnerabilityIdAggregation() const { return m_vulnerabilityIdAggregation; }
88 inline bool VulnerabilityIdAggregationHasBeenSet() const { return m_vulnerabilityIdAggregationHasBeenSet; }
89 template<typename VulnerabilityIdAggregationT = VulnerabilityIdAggregation>
90 void SetVulnerabilityIdAggregation(VulnerabilityIdAggregationT&& value) { m_vulnerabilityIdAggregationHasBeenSet = true; m_vulnerabilityIdAggregation = std::forward<VulnerabilityIdAggregationT>(value); }
91 template<typename VulnerabilityIdAggregationT = VulnerabilityIdAggregation>
92 ImageScanFindingAggregation& WithVulnerabilityIdAggregation(VulnerabilityIdAggregationT&& value) { SetVulnerabilityIdAggregation(std::forward<VulnerabilityIdAggregationT>(value)); return *this;}
94 private:
95
96 AccountAggregation m_accountAggregation;
97 bool m_accountAggregationHasBeenSet = false;
98
99 ImageAggregation m_imageAggregation;
100 bool m_imageAggregationHasBeenSet = false;
101
102 ImagePipelineAggregation m_imagePipelineAggregation;
103 bool m_imagePipelineAggregationHasBeenSet = false;
104
105 VulnerabilityIdAggregation m_vulnerabilityIdAggregation;
106 bool m_vulnerabilityIdAggregationHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace imagebuilder
111} // 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