AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AggregationResponse.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/AccountAggregationResponse.h>
9#include <aws/inspector2/model/AmiAggregationResponse.h>
10#include <aws/inspector2/model/AwsEcrContainerAggregationResponse.h>
11#include <aws/inspector2/model/Ec2InstanceAggregationResponse.h>
12#include <aws/inspector2/model/FindingTypeAggregationResponse.h>
13#include <aws/inspector2/model/ImageLayerAggregationResponse.h>
14#include <aws/inspector2/model/LambdaFunctionAggregationResponse.h>
15#include <aws/inspector2/model/LambdaLayerAggregationResponse.h>
16#include <aws/inspector2/model/PackageAggregationResponse.h>
17#include <aws/inspector2/model/RepositoryAggregationResponse.h>
18#include <aws/inspector2/model/TitleAggregationResponse.h>
19#include <utility>
20
21namespace Aws
22{
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28 class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace Inspector2
32{
33namespace Model
34{
35
43 {
44 public:
45 AWS_INSPECTOR2_API AggregationResponse();
46 AWS_INSPECTOR2_API AggregationResponse(Aws::Utils::Json::JsonView jsonValue);
48 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
56 inline const AccountAggregationResponse& GetAccountAggregation() const{ return m_accountAggregation; }
57 inline bool AccountAggregationHasBeenSet() const { return m_accountAggregationHasBeenSet; }
58 inline void SetAccountAggregation(const AccountAggregationResponse& value) { m_accountAggregationHasBeenSet = true; m_accountAggregation = value; }
59 inline void SetAccountAggregation(AccountAggregationResponse&& value) { m_accountAggregationHasBeenSet = true; m_accountAggregation = std::move(value); }
63
65
69 inline const AmiAggregationResponse& GetAmiAggregation() const{ return m_amiAggregation; }
70 inline bool AmiAggregationHasBeenSet() const { return m_amiAggregationHasBeenSet; }
71 inline void SetAmiAggregation(const AmiAggregationResponse& value) { m_amiAggregationHasBeenSet = true; m_amiAggregation = value; }
72 inline void SetAmiAggregation(AmiAggregationResponse&& value) { m_amiAggregationHasBeenSet = true; m_amiAggregation = std::move(value); }
74 inline AggregationResponse& WithAmiAggregation(AmiAggregationResponse&& value) { SetAmiAggregation(std::move(value)); return *this;}
76
78
82 inline const AwsEcrContainerAggregationResponse& GetAwsEcrContainerAggregation() const{ return m_awsEcrContainerAggregation; }
83 inline bool AwsEcrContainerAggregationHasBeenSet() const { return m_awsEcrContainerAggregationHasBeenSet; }
84 inline void SetAwsEcrContainerAggregation(const AwsEcrContainerAggregationResponse& value) { m_awsEcrContainerAggregationHasBeenSet = true; m_awsEcrContainerAggregation = value; }
85 inline void SetAwsEcrContainerAggregation(AwsEcrContainerAggregationResponse&& value) { m_awsEcrContainerAggregationHasBeenSet = true; m_awsEcrContainerAggregation = std::move(value); }
89
91
95 inline const Ec2InstanceAggregationResponse& GetEc2InstanceAggregation() const{ return m_ec2InstanceAggregation; }
96 inline bool Ec2InstanceAggregationHasBeenSet() const { return m_ec2InstanceAggregationHasBeenSet; }
97 inline void SetEc2InstanceAggregation(const Ec2InstanceAggregationResponse& value) { m_ec2InstanceAggregationHasBeenSet = true; m_ec2InstanceAggregation = value; }
98 inline void SetEc2InstanceAggregation(Ec2InstanceAggregationResponse&& value) { m_ec2InstanceAggregationHasBeenSet = true; m_ec2InstanceAggregation = std::move(value); }
102
104
108 inline const FindingTypeAggregationResponse& GetFindingTypeAggregation() const{ return m_findingTypeAggregation; }
109 inline bool FindingTypeAggregationHasBeenSet() const { return m_findingTypeAggregationHasBeenSet; }
110 inline void SetFindingTypeAggregation(const FindingTypeAggregationResponse& value) { m_findingTypeAggregationHasBeenSet = true; m_findingTypeAggregation = value; }
111 inline void SetFindingTypeAggregation(FindingTypeAggregationResponse&& value) { m_findingTypeAggregationHasBeenSet = true; m_findingTypeAggregation = std::move(value); }
115
117
121 inline const ImageLayerAggregationResponse& GetImageLayerAggregation() const{ return m_imageLayerAggregation; }
122 inline bool ImageLayerAggregationHasBeenSet() const { return m_imageLayerAggregationHasBeenSet; }
123 inline void SetImageLayerAggregation(const ImageLayerAggregationResponse& value) { m_imageLayerAggregationHasBeenSet = true; m_imageLayerAggregation = value; }
124 inline void SetImageLayerAggregation(ImageLayerAggregationResponse&& value) { m_imageLayerAggregationHasBeenSet = true; m_imageLayerAggregation = std::move(value); }
128
130
133 inline const LambdaFunctionAggregationResponse& GetLambdaFunctionAggregation() const{ return m_lambdaFunctionAggregation; }
134 inline bool LambdaFunctionAggregationHasBeenSet() const { return m_lambdaFunctionAggregationHasBeenSet; }
135 inline void SetLambdaFunctionAggregation(const LambdaFunctionAggregationResponse& value) { m_lambdaFunctionAggregationHasBeenSet = true; m_lambdaFunctionAggregation = value; }
136 inline void SetLambdaFunctionAggregation(LambdaFunctionAggregationResponse&& value) { m_lambdaFunctionAggregationHasBeenSet = true; m_lambdaFunctionAggregation = std::move(value); }
140
142
145 inline const LambdaLayerAggregationResponse& GetLambdaLayerAggregation() const{ return m_lambdaLayerAggregation; }
146 inline bool LambdaLayerAggregationHasBeenSet() const { return m_lambdaLayerAggregationHasBeenSet; }
147 inline void SetLambdaLayerAggregation(const LambdaLayerAggregationResponse& value) { m_lambdaLayerAggregationHasBeenSet = true; m_lambdaLayerAggregation = value; }
148 inline void SetLambdaLayerAggregation(LambdaLayerAggregationResponse&& value) { m_lambdaLayerAggregationHasBeenSet = true; m_lambdaLayerAggregation = std::move(value); }
152
154
158 inline const PackageAggregationResponse& GetPackageAggregation() const{ return m_packageAggregation; }
159 inline bool PackageAggregationHasBeenSet() const { return m_packageAggregationHasBeenSet; }
160 inline void SetPackageAggregation(const PackageAggregationResponse& value) { m_packageAggregationHasBeenSet = true; m_packageAggregation = value; }
161 inline void SetPackageAggregation(PackageAggregationResponse&& value) { m_packageAggregationHasBeenSet = true; m_packageAggregation = std::move(value); }
165
167
171 inline const RepositoryAggregationResponse& GetRepositoryAggregation() const{ return m_repositoryAggregation; }
172 inline bool RepositoryAggregationHasBeenSet() const { return m_repositoryAggregationHasBeenSet; }
173 inline void SetRepositoryAggregation(const RepositoryAggregationResponse& value) { m_repositoryAggregationHasBeenSet = true; m_repositoryAggregation = value; }
174 inline void SetRepositoryAggregation(RepositoryAggregationResponse&& value) { m_repositoryAggregationHasBeenSet = true; m_repositoryAggregation = std::move(value); }
178
180
184 inline const TitleAggregationResponse& GetTitleAggregation() const{ return m_titleAggregation; }
185 inline bool TitleAggregationHasBeenSet() const { return m_titleAggregationHasBeenSet; }
186 inline void SetTitleAggregation(const TitleAggregationResponse& value) { m_titleAggregationHasBeenSet = true; m_titleAggregation = value; }
187 inline void SetTitleAggregation(TitleAggregationResponse&& value) { m_titleAggregationHasBeenSet = true; m_titleAggregation = std::move(value); }
191 private:
192
193 AccountAggregationResponse m_accountAggregation;
194 bool m_accountAggregationHasBeenSet = false;
195
196 AmiAggregationResponse m_amiAggregation;
197 bool m_amiAggregationHasBeenSet = false;
198
199 AwsEcrContainerAggregationResponse m_awsEcrContainerAggregation;
200 bool m_awsEcrContainerAggregationHasBeenSet = false;
201
202 Ec2InstanceAggregationResponse m_ec2InstanceAggregation;
203 bool m_ec2InstanceAggregationHasBeenSet = false;
204
205 FindingTypeAggregationResponse m_findingTypeAggregation;
206 bool m_findingTypeAggregationHasBeenSet = false;
207
208 ImageLayerAggregationResponse m_imageLayerAggregation;
209 bool m_imageLayerAggregationHasBeenSet = false;
210
211 LambdaFunctionAggregationResponse m_lambdaFunctionAggregation;
212 bool m_lambdaFunctionAggregationHasBeenSet = false;
213
214 LambdaLayerAggregationResponse m_lambdaLayerAggregation;
215 bool m_lambdaLayerAggregationHasBeenSet = false;
216
217 PackageAggregationResponse m_packageAggregation;
218 bool m_packageAggregationHasBeenSet = false;
219
220 RepositoryAggregationResponse m_repositoryAggregation;
221 bool m_repositoryAggregationHasBeenSet = false;
222
223 TitleAggregationResponse m_titleAggregation;
224 bool m_titleAggregationHasBeenSet = false;
225 };
226
227} // namespace Model
228} // namespace Inspector2
229} // namespace Aws
AggregationResponse & WithAwsEcrContainerAggregation(const AwsEcrContainerAggregationResponse &value)
void SetAmiAggregation(AmiAggregationResponse &&value)
AggregationResponse & WithLambdaFunctionAggregation(LambdaFunctionAggregationResponse &&value)
AggregationResponse & WithImageLayerAggregation(const ImageLayerAggregationResponse &value)
void SetPackageAggregation(PackageAggregationResponse &&value)
AggregationResponse & WithAmiAggregation(const AmiAggregationResponse &value)
void SetTitleAggregation(TitleAggregationResponse &&value)
const Ec2InstanceAggregationResponse & GetEc2InstanceAggregation() const
void SetLambdaFunctionAggregation(LambdaFunctionAggregationResponse &&value)
AggregationResponse & WithAccountAggregation(const AccountAggregationResponse &value)
AggregationResponse & WithTitleAggregation(TitleAggregationResponse &&value)
AggregationResponse & WithAccountAggregation(AccountAggregationResponse &&value)
const AccountAggregationResponse & GetAccountAggregation() const
AggregationResponse & WithAwsEcrContainerAggregation(AwsEcrContainerAggregationResponse &&value)
AggregationResponse & WithRepositoryAggregation(RepositoryAggregationResponse &&value)
void SetFindingTypeAggregation(const FindingTypeAggregationResponse &value)
AggregationResponse & WithFindingTypeAggregation(FindingTypeAggregationResponse &&value)
void SetRepositoryAggregation(RepositoryAggregationResponse &&value)
void SetEc2InstanceAggregation(const Ec2InstanceAggregationResponse &value)
AggregationResponse & WithImageLayerAggregation(ImageLayerAggregationResponse &&value)
void SetRepositoryAggregation(const RepositoryAggregationResponse &value)
void SetImageLayerAggregation(ImageLayerAggregationResponse &&value)
AWS_INSPECTOR2_API AggregationResponse(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API AggregationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
const AmiAggregationResponse & GetAmiAggregation() const
AggregationResponse & WithEc2InstanceAggregation(Ec2InstanceAggregationResponse &&value)
AggregationResponse & WithEc2InstanceAggregation(const Ec2InstanceAggregationResponse &value)
AggregationResponse & WithPackageAggregation(PackageAggregationResponse &&value)
void SetAmiAggregation(const AmiAggregationResponse &value)
const PackageAggregationResponse & GetPackageAggregation() const
void SetTitleAggregation(const TitleAggregationResponse &value)
void SetEc2InstanceAggregation(Ec2InstanceAggregationResponse &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AggregationResponse & WithTitleAggregation(const TitleAggregationResponse &value)
AggregationResponse & WithFindingTypeAggregation(const FindingTypeAggregationResponse &value)
AggregationResponse & WithLambdaFunctionAggregation(const LambdaFunctionAggregationResponse &value)
const FindingTypeAggregationResponse & GetFindingTypeAggregation() const
void SetLambdaFunctionAggregation(const LambdaFunctionAggregationResponse &value)
void SetAwsEcrContainerAggregation(const AwsEcrContainerAggregationResponse &value)
void SetImageLayerAggregation(const ImageLayerAggregationResponse &value)
const LambdaFunctionAggregationResponse & GetLambdaFunctionAggregation() const
const AwsEcrContainerAggregationResponse & GetAwsEcrContainerAggregation() const
AggregationResponse & WithAmiAggregation(AmiAggregationResponse &&value)
const RepositoryAggregationResponse & GetRepositoryAggregation() const
void SetAwsEcrContainerAggregation(AwsEcrContainerAggregationResponse &&value)
void SetLambdaLayerAggregation(const LambdaLayerAggregationResponse &value)
void SetFindingTypeAggregation(FindingTypeAggregationResponse &&value)
AggregationResponse & WithLambdaLayerAggregation(const LambdaLayerAggregationResponse &value)
void SetAccountAggregation(const AccountAggregationResponse &value)
AggregationResponse & WithPackageAggregation(const PackageAggregationResponse &value)
void SetLambdaLayerAggregation(LambdaLayerAggregationResponse &&value)
void SetAccountAggregation(AccountAggregationResponse &&value)
void SetPackageAggregation(const PackageAggregationResponse &value)
AggregationResponse & WithRepositoryAggregation(const RepositoryAggregationResponse &value)
const LambdaLayerAggregationResponse & GetLambdaLayerAggregation() const
AggregationResponse & WithLambdaLayerAggregation(LambdaLayerAggregationResponse &&value)
const ImageLayerAggregationResponse & GetImageLayerAggregation() const
const TitleAggregationResponse & GetTitleAggregation() const
Aws::Utils::Json::JsonValue JsonValue