AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AggregationRequest.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/AccountAggregation.h>
9#include <aws/inspector2/model/AmiAggregation.h>
10#include <aws/inspector2/model/AwsEcrContainerAggregation.h>
11#include <aws/inspector2/model/Ec2InstanceAggregation.h>
12#include <aws/inspector2/model/FindingTypeAggregation.h>
13#include <aws/inspector2/model/ImageLayerAggregation.h>
14#include <aws/inspector2/model/LambdaFunctionAggregation.h>
15#include <aws/inspector2/model/LambdaLayerAggregation.h>
16#include <aws/inspector2/model/PackageAggregation.h>
17#include <aws/inspector2/model/RepositoryAggregation.h>
18#include <aws/inspector2/model/TitleAggregation.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
42 {
43 public:
44 AWS_INSPECTOR2_API AggregationRequest();
45 AWS_INSPECTOR2_API AggregationRequest(Aws::Utils::Json::JsonView jsonValue);
47 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
55 inline const AccountAggregation& GetAccountAggregation() const{ return m_accountAggregation; }
56 inline bool AccountAggregationHasBeenSet() const { return m_accountAggregationHasBeenSet; }
57 inline void SetAccountAggregation(const AccountAggregation& value) { m_accountAggregationHasBeenSet = true; m_accountAggregation = value; }
58 inline void SetAccountAggregation(AccountAggregation&& value) { m_accountAggregationHasBeenSet = true; m_accountAggregation = std::move(value); }
60 inline AggregationRequest& WithAccountAggregation(AccountAggregation&& value) { SetAccountAggregation(std::move(value)); return *this;}
62
64
68 inline const AmiAggregation& GetAmiAggregation() const{ return m_amiAggregation; }
69 inline bool AmiAggregationHasBeenSet() const { return m_amiAggregationHasBeenSet; }
70 inline void SetAmiAggregation(const AmiAggregation& value) { m_amiAggregationHasBeenSet = true; m_amiAggregation = value; }
71 inline void SetAmiAggregation(AmiAggregation&& value) { m_amiAggregationHasBeenSet = true; m_amiAggregation = std::move(value); }
72 inline AggregationRequest& WithAmiAggregation(const AmiAggregation& value) { SetAmiAggregation(value); return *this;}
73 inline AggregationRequest& WithAmiAggregation(AmiAggregation&& value) { SetAmiAggregation(std::move(value)); return *this;}
75
77
81 inline const AwsEcrContainerAggregation& GetAwsEcrContainerAggregation() const{ return m_awsEcrContainerAggregation; }
82 inline bool AwsEcrContainerAggregationHasBeenSet() const { return m_awsEcrContainerAggregationHasBeenSet; }
83 inline void SetAwsEcrContainerAggregation(const AwsEcrContainerAggregation& value) { m_awsEcrContainerAggregationHasBeenSet = true; m_awsEcrContainerAggregation = value; }
84 inline void SetAwsEcrContainerAggregation(AwsEcrContainerAggregation&& value) { m_awsEcrContainerAggregationHasBeenSet = true; m_awsEcrContainerAggregation = std::move(value); }
88
90
94 inline const Ec2InstanceAggregation& GetEc2InstanceAggregation() const{ return m_ec2InstanceAggregation; }
95 inline bool Ec2InstanceAggregationHasBeenSet() const { return m_ec2InstanceAggregationHasBeenSet; }
96 inline void SetEc2InstanceAggregation(const Ec2InstanceAggregation& value) { m_ec2InstanceAggregationHasBeenSet = true; m_ec2InstanceAggregation = value; }
97 inline void SetEc2InstanceAggregation(Ec2InstanceAggregation&& value) { m_ec2InstanceAggregationHasBeenSet = true; m_ec2InstanceAggregation = std::move(value); }
101
103
107 inline const FindingTypeAggregation& GetFindingTypeAggregation() const{ return m_findingTypeAggregation; }
108 inline bool FindingTypeAggregationHasBeenSet() const { return m_findingTypeAggregationHasBeenSet; }
109 inline void SetFindingTypeAggregation(const FindingTypeAggregation& value) { m_findingTypeAggregationHasBeenSet = true; m_findingTypeAggregation = value; }
110 inline void SetFindingTypeAggregation(FindingTypeAggregation&& value) { m_findingTypeAggregationHasBeenSet = true; m_findingTypeAggregation = std::move(value); }
114
116
120 inline const ImageLayerAggregation& GetImageLayerAggregation() const{ return m_imageLayerAggregation; }
121 inline bool ImageLayerAggregationHasBeenSet() const { return m_imageLayerAggregationHasBeenSet; }
122 inline void SetImageLayerAggregation(const ImageLayerAggregation& value) { m_imageLayerAggregationHasBeenSet = true; m_imageLayerAggregation = value; }
123 inline void SetImageLayerAggregation(ImageLayerAggregation&& value) { m_imageLayerAggregationHasBeenSet = true; m_imageLayerAggregation = std::move(value); }
127
129
133 inline const LambdaFunctionAggregation& GetLambdaFunctionAggregation() const{ return m_lambdaFunctionAggregation; }
134 inline bool LambdaFunctionAggregationHasBeenSet() const { return m_lambdaFunctionAggregationHasBeenSet; }
135 inline void SetLambdaFunctionAggregation(const LambdaFunctionAggregation& value) { m_lambdaFunctionAggregationHasBeenSet = true; m_lambdaFunctionAggregation = value; }
136 inline void SetLambdaFunctionAggregation(LambdaFunctionAggregation&& value) { m_lambdaFunctionAggregationHasBeenSet = true; m_lambdaFunctionAggregation = std::move(value); }
140
142
146 inline const LambdaLayerAggregation& GetLambdaLayerAggregation() const{ return m_lambdaLayerAggregation; }
147 inline bool LambdaLayerAggregationHasBeenSet() const { return m_lambdaLayerAggregationHasBeenSet; }
148 inline void SetLambdaLayerAggregation(const LambdaLayerAggregation& value) { m_lambdaLayerAggregationHasBeenSet = true; m_lambdaLayerAggregation = value; }
149 inline void SetLambdaLayerAggregation(LambdaLayerAggregation&& value) { m_lambdaLayerAggregationHasBeenSet = true; m_lambdaLayerAggregation = std::move(value); }
153
155
159 inline const PackageAggregation& GetPackageAggregation() const{ return m_packageAggregation; }
160 inline bool PackageAggregationHasBeenSet() const { return m_packageAggregationHasBeenSet; }
161 inline void SetPackageAggregation(const PackageAggregation& value) { m_packageAggregationHasBeenSet = true; m_packageAggregation = value; }
162 inline void SetPackageAggregation(PackageAggregation&& value) { m_packageAggregationHasBeenSet = true; m_packageAggregation = std::move(value); }
164 inline AggregationRequest& WithPackageAggregation(PackageAggregation&& value) { SetPackageAggregation(std::move(value)); return *this;}
166
168
172 inline const RepositoryAggregation& GetRepositoryAggregation() const{ return m_repositoryAggregation; }
173 inline bool RepositoryAggregationHasBeenSet() const { return m_repositoryAggregationHasBeenSet; }
174 inline void SetRepositoryAggregation(const RepositoryAggregation& value) { m_repositoryAggregationHasBeenSet = true; m_repositoryAggregation = value; }
175 inline void SetRepositoryAggregation(RepositoryAggregation&& value) { m_repositoryAggregationHasBeenSet = true; m_repositoryAggregation = std::move(value); }
179
181
185 inline const TitleAggregation& GetTitleAggregation() const{ return m_titleAggregation; }
186 inline bool TitleAggregationHasBeenSet() const { return m_titleAggregationHasBeenSet; }
187 inline void SetTitleAggregation(const TitleAggregation& value) { m_titleAggregationHasBeenSet = true; m_titleAggregation = value; }
188 inline void SetTitleAggregation(TitleAggregation&& value) { m_titleAggregationHasBeenSet = true; m_titleAggregation = std::move(value); }
190 inline AggregationRequest& WithTitleAggregation(TitleAggregation&& value) { SetTitleAggregation(std::move(value)); return *this;}
192 private:
193
194 AccountAggregation m_accountAggregation;
195 bool m_accountAggregationHasBeenSet = false;
196
197 AmiAggregation m_amiAggregation;
198 bool m_amiAggregationHasBeenSet = false;
199
200 AwsEcrContainerAggregation m_awsEcrContainerAggregation;
201 bool m_awsEcrContainerAggregationHasBeenSet = false;
202
203 Ec2InstanceAggregation m_ec2InstanceAggregation;
204 bool m_ec2InstanceAggregationHasBeenSet = false;
205
206 FindingTypeAggregation m_findingTypeAggregation;
207 bool m_findingTypeAggregationHasBeenSet = false;
208
209 ImageLayerAggregation m_imageLayerAggregation;
210 bool m_imageLayerAggregationHasBeenSet = false;
211
212 LambdaFunctionAggregation m_lambdaFunctionAggregation;
213 bool m_lambdaFunctionAggregationHasBeenSet = false;
214
215 LambdaLayerAggregation m_lambdaLayerAggregation;
216 bool m_lambdaLayerAggregationHasBeenSet = false;
217
218 PackageAggregation m_packageAggregation;
219 bool m_packageAggregationHasBeenSet = false;
220
221 RepositoryAggregation m_repositoryAggregation;
222 bool m_repositoryAggregationHasBeenSet = false;
223
224 TitleAggregation m_titleAggregation;
225 bool m_titleAggregationHasBeenSet = false;
226 };
227
228} // namespace Model
229} // namespace Inspector2
230} // namespace Aws
AggregationRequest & WithRepositoryAggregation(const RepositoryAggregation &value)
const LambdaLayerAggregation & GetLambdaLayerAggregation() const
AggregationRequest & WithAwsEcrContainerAggregation(AwsEcrContainerAggregation &&value)
AggregationRequest & WithLambdaLayerAggregation(LambdaLayerAggregation &&value)
AggregationRequest & WithRepositoryAggregation(RepositoryAggregation &&value)
AggregationRequest & WithEc2InstanceAggregation(Ec2InstanceAggregation &&value)
const AccountAggregation & GetAccountAggregation() const
void SetEc2InstanceAggregation(Ec2InstanceAggregation &&value)
void SetAccountAggregation(const AccountAggregation &value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AggregationRequest & WithLambdaLayerAggregation(const LambdaLayerAggregation &value)
void SetLambdaLayerAggregation(const LambdaLayerAggregation &value)
const ImageLayerAggregation & GetImageLayerAggregation() const
void SetAwsEcrContainerAggregation(const AwsEcrContainerAggregation &value)
void SetPackageAggregation(const PackageAggregation &value)
AggregationRequest & WithAmiAggregation(AmiAggregation &&value)
void SetPackageAggregation(PackageAggregation &&value)
AggregationRequest & WithLambdaFunctionAggregation(const LambdaFunctionAggregation &value)
AggregationRequest & WithAccountAggregation(AccountAggregation &&value)
void SetLambdaLayerAggregation(LambdaLayerAggregation &&value)
AggregationRequest & WithAwsEcrContainerAggregation(const AwsEcrContainerAggregation &value)
AggregationRequest & WithPackageAggregation(const PackageAggregation &value)
AggregationRequest & WithTitleAggregation(TitleAggregation &&value)
AggregationRequest & WithEc2InstanceAggregation(const Ec2InstanceAggregation &value)
AggregationRequest & WithAmiAggregation(const AmiAggregation &value)
void SetAmiAggregation(AmiAggregation &&value)
AggregationRequest & WithFindingTypeAggregation(FindingTypeAggregation &&value)
void SetTitleAggregation(const TitleAggregation &value)
AggregationRequest & WithLambdaFunctionAggregation(LambdaFunctionAggregation &&value)
void SetImageLayerAggregation(const ImageLayerAggregation &value)
void SetAmiAggregation(const AmiAggregation &value)
const FindingTypeAggregation & GetFindingTypeAggregation() const
const RepositoryAggregation & GetRepositoryAggregation() const
AggregationRequest & WithPackageAggregation(PackageAggregation &&value)
void SetAccountAggregation(AccountAggregation &&value)
AggregationRequest & WithImageLayerAggregation(const ImageLayerAggregation &value)
void SetLambdaFunctionAggregation(LambdaFunctionAggregation &&value)
const AwsEcrContainerAggregation & GetAwsEcrContainerAggregation() const
const AmiAggregation & GetAmiAggregation() const
const PackageAggregation & GetPackageAggregation() const
AggregationRequest & WithAccountAggregation(const AccountAggregation &value)
void SetAwsEcrContainerAggregation(AwsEcrContainerAggregation &&value)
const Ec2InstanceAggregation & GetEc2InstanceAggregation() const
AggregationRequest & WithFindingTypeAggregation(const FindingTypeAggregation &value)
AWS_INSPECTOR2_API AggregationRequest(Aws::Utils::Json::JsonView jsonValue)
void SetRepositoryAggregation(const RepositoryAggregation &value)
const LambdaFunctionAggregation & GetLambdaFunctionAggregation() const
void SetImageLayerAggregation(ImageLayerAggregation &&value)
void SetTitleAggregation(TitleAggregation &&value)
void SetFindingTypeAggregation(FindingTypeAggregation &&value)
void SetFindingTypeAggregation(const FindingTypeAggregation &value)
const TitleAggregation & GetTitleAggregation() const
AggregationRequest & WithImageLayerAggregation(ImageLayerAggregation &&value)
void SetEc2InstanceAggregation(const Ec2InstanceAggregation &value)
AWS_INSPECTOR2_API AggregationRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLambdaFunctionAggregation(const LambdaFunctionAggregation &value)
void SetRepositoryAggregation(RepositoryAggregation &&value)
AggregationRequest & WithTitleAggregation(const TitleAggregation &value)
Aws::Utils::Json::JsonValue JsonValue