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/CodeRepositoryAggregationResponse.h>
12#include <aws/inspector2/model/ContainerImageAggregationResponse.h>
13#include <aws/inspector2/model/Ec2InstanceAggregationResponse.h>
14#include <aws/inspector2/model/FindingTypeAggregationResponse.h>
15#include <aws/inspector2/model/ImageLayerAggregationResponse.h>
16#include <aws/inspector2/model/LambdaFunctionAggregationResponse.h>
17#include <aws/inspector2/model/LambdaLayerAggregationResponse.h>
18#include <aws/inspector2/model/PackageAggregationResponse.h>
19#include <aws/inspector2/model/RepositoryAggregationResponse.h>
20#include <aws/inspector2/model/ServerlessFunctionAggregationResponse.h>
21#include <aws/inspector2/model/TitleAggregationResponse.h>
22#include <aws/inspector2/model/VmInstanceAggregationResponse.h>
56 template <
typename AccountAggregationT = AccountAggregationResponse>
58 m_accountAggregationHasBeenSet =
true;
59 m_accountAggregation = std::forward<AccountAggregationT>(value);
61 template <
typename AccountAggregationT = AccountAggregationResponse>
75 template <
typename AmiAggregationT = AmiAggregationResponse>
77 m_amiAggregationHasBeenSet =
true;
78 m_amiAggregation = std::forward<AmiAggregationT>(value);
80 template <
typename AmiAggregationT = AmiAggregationResponse>
94 template <
typename AwsEcrContainerAggregationT = AwsEcrContainerAggregationResponse>
96 m_awsEcrContainerAggregationHasBeenSet =
true;
97 m_awsEcrContainerAggregation = std::forward<AwsEcrContainerAggregationT>(value);
99 template <
typename AwsEcrContainerAggregationT = AwsEcrContainerAggregationResponse>
113 template <
typename Ec2InstanceAggregationT = Ec2InstanceAggregationResponse>
115 m_ec2InstanceAggregationHasBeenSet =
true;
116 m_ec2InstanceAggregation = std::forward<Ec2InstanceAggregationT>(value);
118 template <
typename Ec2InstanceAggregationT = Ec2InstanceAggregationResponse>
132 template <
typename FindingTypeAggregationT = FindingTypeAggregationResponse>
134 m_findingTypeAggregationHasBeenSet =
true;
135 m_findingTypeAggregation = std::forward<FindingTypeAggregationT>(value);
137 template <
typename FindingTypeAggregationT = FindingTypeAggregationResponse>
151 template <
typename ImageLayerAggregationT = ImageLayerAggregationResponse>
153 m_imageLayerAggregationHasBeenSet =
true;
154 m_imageLayerAggregation = std::forward<ImageLayerAggregationT>(value);
156 template <
typename ImageLayerAggregationT = ImageLayerAggregationResponse>
170 template <
typename PackageAggregationT = PackageAggregationResponse>
172 m_packageAggregationHasBeenSet =
true;
173 m_packageAggregation = std::forward<PackageAggregationT>(value);
175 template <
typename PackageAggregationT = PackageAggregationResponse>
189 template <
typename RepositoryAggregationT = RepositoryAggregationResponse>
191 m_repositoryAggregationHasBeenSet =
true;
192 m_repositoryAggregation = std::forward<RepositoryAggregationT>(value);
194 template <
typename RepositoryAggregationT = RepositoryAggregationResponse>
208 template <
typename TitleAggregationT = TitleAggregationResponse>
210 m_titleAggregationHasBeenSet =
true;
211 m_titleAggregation = std::forward<TitleAggregationT>(value);
213 template <
typename TitleAggregationT = TitleAggregationResponse>
226 template <
typename LambdaLayerAggregationT = LambdaLayerAggregationResponse>
228 m_lambdaLayerAggregationHasBeenSet =
true;
229 m_lambdaLayerAggregation = std::forward<LambdaLayerAggregationT>(value);
231 template <
typename LambdaLayerAggregationT = LambdaLayerAggregationResponse>
244 template <
typename LambdaFunctionAggregationT = LambdaFunctionAggregationResponse>
246 m_lambdaFunctionAggregationHasBeenSet =
true;
247 m_lambdaFunctionAggregation = std::forward<LambdaFunctionAggregationT>(value);
249 template <
typename LambdaFunctionAggregationT = LambdaFunctionAggregationResponse>
263 template <
typename CodeRepositoryAggregationT = CodeRepositoryAggregationResponse>
265 m_codeRepositoryAggregationHasBeenSet =
true;
266 m_codeRepositoryAggregation = std::forward<CodeRepositoryAggregationT>(value);
268 template <
typename CodeRepositoryAggregationT = CodeRepositoryAggregationResponse>
282 template <
typename VmInstanceAggregationT = VmInstanceAggregationResponse>
284 m_vmInstanceAggregationHasBeenSet =
true;
285 m_vmInstanceAggregation = std::forward<VmInstanceAggregationT>(value);
287 template <
typename VmInstanceAggregationT = VmInstanceAggregationResponse>
301 template <
typename ContainerImageAggregationT = ContainerImageAggregationResponse>
303 m_containerImageAggregationHasBeenSet =
true;
304 m_containerImageAggregation = std::forward<ContainerImageAggregationT>(value);
306 template <
typename ContainerImageAggregationT = ContainerImageAggregationResponse>
320 template <
typename ServerlessFunctionAggregationT = ServerlessFunctionAggregationResponse>
322 m_serverlessFunctionAggregationHasBeenSet =
true;
323 m_serverlessFunctionAggregation = std::forward<ServerlessFunctionAggregationT>(value);
325 template <
typename ServerlessFunctionAggregationT = ServerlessFunctionAggregationResponse>
361 bool m_accountAggregationHasBeenSet =
false;
362 bool m_amiAggregationHasBeenSet =
false;
363 bool m_awsEcrContainerAggregationHasBeenSet =
false;
364 bool m_ec2InstanceAggregationHasBeenSet =
false;
365 bool m_findingTypeAggregationHasBeenSet =
false;
366 bool m_imageLayerAggregationHasBeenSet =
false;
367 bool m_packageAggregationHasBeenSet =
false;
368 bool m_repositoryAggregationHasBeenSet =
false;
369 bool m_titleAggregationHasBeenSet =
false;
370 bool m_lambdaLayerAggregationHasBeenSet =
false;
371 bool m_lambdaFunctionAggregationHasBeenSet =
false;
372 bool m_codeRepositoryAggregationHasBeenSet =
false;
373 bool m_vmInstanceAggregationHasBeenSet =
false;
374 bool m_containerImageAggregationHasBeenSet =
false;
375 bool m_serverlessFunctionAggregationHasBeenSet =
false;
void SetTitleAggregation(TitleAggregationT &&value)
AggregationResponse & WithAmiAggregation(AmiAggregationT &&value)
AggregationResponse & WithAccountAggregation(AccountAggregationT &&value)
bool VmInstanceAggregationHasBeenSet() const
void SetImageLayerAggregation(ImageLayerAggregationT &&value)
void SetPackageAggregation(PackageAggregationT &&value)
void SetLambdaFunctionAggregation(LambdaFunctionAggregationT &&value)
const Ec2InstanceAggregationResponse & GetEc2InstanceAggregation() const
AggregationResponse & WithVmInstanceAggregation(VmInstanceAggregationT &&value)
void SetAwsEcrContainerAggregation(AwsEcrContainerAggregationT &&value)
const AccountAggregationResponse & GetAccountAggregation() const
void SetEc2InstanceAggregation(Ec2InstanceAggregationT &&value)
AWS_INSPECTOR2_API AggregationResponse(Aws::Utils::Json::JsonView jsonValue)
void SetLambdaLayerAggregation(LambdaLayerAggregationT &&value)
AWS_INSPECTOR2_API AggregationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AggregationResponse & WithImageLayerAggregation(ImageLayerAggregationT &&value)
const CodeRepositoryAggregationResponse & GetCodeRepositoryAggregation() const
bool AmiAggregationHasBeenSet() const
const AmiAggregationResponse & GetAmiAggregation() const
AggregationResponse & WithLambdaLayerAggregation(LambdaLayerAggregationT &&value)
bool RepositoryAggregationHasBeenSet() const
void SetServerlessFunctionAggregation(ServerlessFunctionAggregationT &&value)
void SetRepositoryAggregation(RepositoryAggregationT &&value)
void SetVmInstanceAggregation(VmInstanceAggregationT &&value)
const PackageAggregationResponse & GetPackageAggregation() const
AggregationResponse & WithFindingTypeAggregation(FindingTypeAggregationT &&value)
bool TitleAggregationHasBeenSet() const
AggregationResponse & WithPackageAggregation(PackageAggregationT &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR2_API AggregationResponse()=default
void SetAmiAggregation(AmiAggregationT &&value)
bool ImageLayerAggregationHasBeenSet() const
AggregationResponse & WithAwsEcrContainerAggregation(AwsEcrContainerAggregationT &&value)
const FindingTypeAggregationResponse & GetFindingTypeAggregation() const
bool ContainerImageAggregationHasBeenSet() const
const VmInstanceAggregationResponse & GetVmInstanceAggregation() const
void SetCodeRepositoryAggregation(CodeRepositoryAggregationT &&value)
AggregationResponse & WithRepositoryAggregation(RepositoryAggregationT &&value)
AggregationResponse & WithEc2InstanceAggregation(Ec2InstanceAggregationT &&value)
void SetAccountAggregation(AccountAggregationT &&value)
bool PackageAggregationHasBeenSet() const
const LambdaFunctionAggregationResponse & GetLambdaFunctionAggregation() const
const AwsEcrContainerAggregationResponse & GetAwsEcrContainerAggregation() const
AggregationResponse & WithServerlessFunctionAggregation(ServerlessFunctionAggregationT &&value)
const RepositoryAggregationResponse & GetRepositoryAggregation() const
bool AccountAggregationHasBeenSet() const
bool FindingTypeAggregationHasBeenSet() const
void SetContainerImageAggregation(ContainerImageAggregationT &&value)
void SetFindingTypeAggregation(FindingTypeAggregationT &&value)
bool AwsEcrContainerAggregationHasBeenSet() const
bool LambdaLayerAggregationHasBeenSet() const
AggregationResponse & WithCodeRepositoryAggregation(CodeRepositoryAggregationT &&value)
AggregationResponse & WithTitleAggregation(TitleAggregationT &&value)
bool Ec2InstanceAggregationHasBeenSet() const
const ServerlessFunctionAggregationResponse & GetServerlessFunctionAggregation() const
bool CodeRepositoryAggregationHasBeenSet() const
const LambdaLayerAggregationResponse & GetLambdaLayerAggregation() const
const ContainerImageAggregationResponse & GetContainerImageAggregation() const
AggregationResponse & WithLambdaFunctionAggregation(LambdaFunctionAggregationT &&value)
bool ServerlessFunctionAggregationHasBeenSet() const
const ImageLayerAggregationResponse & GetImageLayerAggregation() const
const TitleAggregationResponse & GetTitleAggregation() const
AggregationResponse & WithContainerImageAggregation(ContainerImageAggregationT &&value)
bool LambdaFunctionAggregationHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue