AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAccountAggregation(const AccountAggregation& value) { m_accountAggregationHasBeenSet = true; m_accountAggregation = value; }
51 inline void SetAccountAggregation(AccountAggregation&& value) { m_accountAggregationHasBeenSet = true; m_accountAggregation = std::move(value); }
55
57
61 inline const ImageAggregation& GetImageAggregation() const{ return m_imageAggregation; }
62 inline bool ImageAggregationHasBeenSet() const { return m_imageAggregationHasBeenSet; }
63 inline void SetImageAggregation(const ImageAggregation& value) { m_imageAggregationHasBeenSet = true; m_imageAggregation = value; }
64 inline void SetImageAggregation(ImageAggregation&& value) { m_imageAggregationHasBeenSet = true; m_imageAggregation = std::move(value); }
66 inline ImageScanFindingAggregation& WithImageAggregation(ImageAggregation&& value) { SetImageAggregation(std::move(value)); return *this;}
68
70
74 inline const ImagePipelineAggregation& GetImagePipelineAggregation() const{ return m_imagePipelineAggregation; }
75 inline bool ImagePipelineAggregationHasBeenSet() const { return m_imagePipelineAggregationHasBeenSet; }
76 inline void SetImagePipelineAggregation(const ImagePipelineAggregation& value) { m_imagePipelineAggregationHasBeenSet = true; m_imagePipelineAggregation = value; }
77 inline void SetImagePipelineAggregation(ImagePipelineAggregation&& value) { m_imagePipelineAggregationHasBeenSet = true; m_imagePipelineAggregation = std::move(value); }
81
83
87 inline const VulnerabilityIdAggregation& GetVulnerabilityIdAggregation() const{ return m_vulnerabilityIdAggregation; }
88 inline bool VulnerabilityIdAggregationHasBeenSet() const { return m_vulnerabilityIdAggregationHasBeenSet; }
89 inline void SetVulnerabilityIdAggregation(const VulnerabilityIdAggregation& value) { m_vulnerabilityIdAggregationHasBeenSet = true; m_vulnerabilityIdAggregation = value; }
90 inline void SetVulnerabilityIdAggregation(VulnerabilityIdAggregation&& value) { m_vulnerabilityIdAggregationHasBeenSet = true; m_vulnerabilityIdAggregation = std::move(value); }
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
const ImagePipelineAggregation & GetImagePipelineAggregation() const
ImageScanFindingAggregation & WithImageAggregation(ImageAggregation &&value)
ImageScanFindingAggregation & WithVulnerabilityIdAggregation(const VulnerabilityIdAggregation &value)
ImageScanFindingAggregation & WithImageAggregation(const ImageAggregation &value)
ImageScanFindingAggregation & WithImagePipelineAggregation(ImagePipelineAggregation &&value)
AWS_IMAGEBUILDER_API ImageScanFindingAggregation(Aws::Utils::Json::JsonView jsonValue)
void SetImagePipelineAggregation(ImagePipelineAggregation &&value)
ImageScanFindingAggregation & WithAccountAggregation(AccountAggregation &&value)
ImageScanFindingAggregation & WithVulnerabilityIdAggregation(VulnerabilityIdAggregation &&value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
const VulnerabilityIdAggregation & GetVulnerabilityIdAggregation() const
ImageScanFindingAggregation & WithAccountAggregation(const AccountAggregation &value)
ImageScanFindingAggregation & WithImagePipelineAggregation(const ImagePipelineAggregation &value)
void SetImagePipelineAggregation(const ImagePipelineAggregation &value)
AWS_IMAGEBUILDER_API ImageScanFindingAggregation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVulnerabilityIdAggregation(const VulnerabilityIdAggregation &value)
void SetVulnerabilityIdAggregation(VulnerabilityIdAggregation &&value)
Aws::Utils::Json::JsonValue JsonValue