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/Ec2InstanceAggregationResponse.h>
13#include <aws/inspector2/model/FindingTypeAggregationResponse.h>
14#include <aws/inspector2/model/ImageLayerAggregationResponse.h>
15#include <aws/inspector2/model/LambdaFunctionAggregationResponse.h>
16#include <aws/inspector2/model/LambdaLayerAggregationResponse.h>
17#include <aws/inspector2/model/PackageAggregationResponse.h>
18#include <aws/inspector2/model/RepositoryAggregationResponse.h>
19#include <aws/inspector2/model/TitleAggregationResponse.h>
59 template<
typename AccountAggregationT = AccountAggregationResponse>
60 void SetAccountAggregation(AccountAggregationT&& value) { m_accountAggregationHasBeenSet =
true; m_accountAggregation = std::forward<AccountAggregationT>(value); }
61 template<
typename AccountAggregationT = AccountAggregationResponse>
72 template<
typename AmiAggregationT = AmiAggregationResponse>
73 void SetAmiAggregation(AmiAggregationT&& value) { m_amiAggregationHasBeenSet =
true; m_amiAggregation = std::forward<AmiAggregationT>(value); }
74 template<
typename AmiAggregationT = AmiAggregationResponse>
85 template<
typename AwsEcrContainerAggregationT = AwsEcrContainerAggregationResponse>
86 void SetAwsEcrContainerAggregation(AwsEcrContainerAggregationT&& value) { m_awsEcrContainerAggregationHasBeenSet =
true; m_awsEcrContainerAggregation = std::forward<AwsEcrContainerAggregationT>(value); }
87 template<
typename AwsEcrContainerAggregationT = AwsEcrContainerAggregationResponse>
98 template<
typename CodeRepositoryAggregationT = CodeRepositoryAggregationResponse>
99 void SetCodeRepositoryAggregation(CodeRepositoryAggregationT&& value) { m_codeRepositoryAggregationHasBeenSet =
true; m_codeRepositoryAggregation = std::forward<CodeRepositoryAggregationT>(value); }
100 template<
typename CodeRepositoryAggregationT = CodeRepositoryAggregationResponse>
111 template<
typename Ec2InstanceAggregationT = Ec2InstanceAggregationResponse>
112 void SetEc2InstanceAggregation(Ec2InstanceAggregationT&& value) { m_ec2InstanceAggregationHasBeenSet =
true; m_ec2InstanceAggregation = std::forward<Ec2InstanceAggregationT>(value); }
113 template<
typename Ec2InstanceAggregationT = Ec2InstanceAggregationResponse>
124 template<
typename FindingTypeAggregationT = FindingTypeAggregationResponse>
125 void SetFindingTypeAggregation(FindingTypeAggregationT&& value) { m_findingTypeAggregationHasBeenSet =
true; m_findingTypeAggregation = std::forward<FindingTypeAggregationT>(value); }
126 template<
typename FindingTypeAggregationT = FindingTypeAggregationResponse>
137 template<
typename ImageLayerAggregationT = ImageLayerAggregationResponse>
138 void SetImageLayerAggregation(ImageLayerAggregationT&& value) { m_imageLayerAggregationHasBeenSet =
true; m_imageLayerAggregation = std::forward<ImageLayerAggregationT>(value); }
139 template<
typename ImageLayerAggregationT = ImageLayerAggregationResponse>
149 template<
typename LambdaFunctionAggregationT = LambdaFunctionAggregationResponse>
150 void SetLambdaFunctionAggregation(LambdaFunctionAggregationT&& value) { m_lambdaFunctionAggregationHasBeenSet =
true; m_lambdaFunctionAggregation = std::forward<LambdaFunctionAggregationT>(value); }
151 template<
typename LambdaFunctionAggregationT = LambdaFunctionAggregationResponse>
161 template<
typename LambdaLayerAggregationT = LambdaLayerAggregationResponse>
162 void SetLambdaLayerAggregation(LambdaLayerAggregationT&& value) { m_lambdaLayerAggregationHasBeenSet =
true; m_lambdaLayerAggregation = std::forward<LambdaLayerAggregationT>(value); }
163 template<
typename LambdaLayerAggregationT = LambdaLayerAggregationResponse>
174 template<
typename PackageAggregationT = PackageAggregationResponse>
175 void SetPackageAggregation(PackageAggregationT&& value) { m_packageAggregationHasBeenSet =
true; m_packageAggregation = std::forward<PackageAggregationT>(value); }
176 template<
typename PackageAggregationT = PackageAggregationResponse>
187 template<
typename RepositoryAggregationT = RepositoryAggregationResponse>
188 void SetRepositoryAggregation(RepositoryAggregationT&& value) { m_repositoryAggregationHasBeenSet =
true; m_repositoryAggregation = std::forward<RepositoryAggregationT>(value); }
189 template<
typename RepositoryAggregationT = RepositoryAggregationResponse>
200 template<
typename TitleAggregationT = TitleAggregationResponse>
201 void SetTitleAggregation(TitleAggregationT&& value) { m_titleAggregationHasBeenSet =
true; m_titleAggregation = std::forward<TitleAggregationT>(value); }
202 template<
typename TitleAggregationT = TitleAggregationResponse>
208 bool m_accountAggregationHasBeenSet =
false;
211 bool m_amiAggregationHasBeenSet =
false;
214 bool m_awsEcrContainerAggregationHasBeenSet =
false;
217 bool m_codeRepositoryAggregationHasBeenSet =
false;
220 bool m_ec2InstanceAggregationHasBeenSet =
false;
223 bool m_findingTypeAggregationHasBeenSet =
false;
226 bool m_imageLayerAggregationHasBeenSet =
false;
229 bool m_lambdaFunctionAggregationHasBeenSet =
false;
232 bool m_lambdaLayerAggregationHasBeenSet =
false;
235 bool m_packageAggregationHasBeenSet =
false;
238 bool m_repositoryAggregationHasBeenSet =
false;
241 bool m_titleAggregationHasBeenSet =
false;
void SetTitleAggregation(TitleAggregationT &&value)
AggregationResponse & WithAmiAggregation(AmiAggregationT &&value)
AggregationResponse & WithAccountAggregation(AccountAggregationT &&value)
void SetImageLayerAggregation(ImageLayerAggregationT &&value)
void SetPackageAggregation(PackageAggregationT &&value)
void SetLambdaFunctionAggregation(LambdaFunctionAggregationT &&value)
const Ec2InstanceAggregationResponse & GetEc2InstanceAggregation() const
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 SetRepositoryAggregation(RepositoryAggregationT &&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
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
const RepositoryAggregationResponse & GetRepositoryAggregation() const
bool AccountAggregationHasBeenSet() const
bool FindingTypeAggregationHasBeenSet() const
void SetFindingTypeAggregation(FindingTypeAggregationT &&value)
bool AwsEcrContainerAggregationHasBeenSet() const
bool LambdaLayerAggregationHasBeenSet() const
AggregationResponse & WithCodeRepositoryAggregation(CodeRepositoryAggregationT &&value)
AggregationResponse & WithTitleAggregation(TitleAggregationT &&value)
bool Ec2InstanceAggregationHasBeenSet() const
bool CodeRepositoryAggregationHasBeenSet() const
const LambdaLayerAggregationResponse & GetLambdaLayerAggregation() const
AggregationResponse & WithLambdaFunctionAggregation(LambdaFunctionAggregationT &&value)
const ImageLayerAggregationResponse & GetImageLayerAggregation() const
const TitleAggregationResponse & GetTitleAggregation() const
bool LambdaFunctionAggregationHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue