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>
53 template <
typename AccountAggregationT = AccountAggregationResponse>
55 m_accountAggregationHasBeenSet =
true;
56 m_accountAggregation = std::forward<AccountAggregationT>(value);
58 template <
typename AccountAggregationT = AccountAggregationResponse>
72 template <
typename AmiAggregationT = AmiAggregationResponse>
74 m_amiAggregationHasBeenSet =
true;
75 m_amiAggregation = std::forward<AmiAggregationT>(value);
77 template <
typename AmiAggregationT = AmiAggregationResponse>
91 template <
typename AwsEcrContainerAggregationT = AwsEcrContainerAggregationResponse>
93 m_awsEcrContainerAggregationHasBeenSet =
true;
94 m_awsEcrContainerAggregation = std::forward<AwsEcrContainerAggregationT>(value);
96 template <
typename AwsEcrContainerAggregationT = AwsEcrContainerAggregationResponse>
110 template <
typename Ec2InstanceAggregationT = Ec2InstanceAggregationResponse>
112 m_ec2InstanceAggregationHasBeenSet =
true;
113 m_ec2InstanceAggregation = std::forward<Ec2InstanceAggregationT>(value);
115 template <
typename Ec2InstanceAggregationT = Ec2InstanceAggregationResponse>
129 template <
typename FindingTypeAggregationT = FindingTypeAggregationResponse>
131 m_findingTypeAggregationHasBeenSet =
true;
132 m_findingTypeAggregation = std::forward<FindingTypeAggregationT>(value);
134 template <
typename FindingTypeAggregationT = FindingTypeAggregationResponse>
148 template <
typename ImageLayerAggregationT = ImageLayerAggregationResponse>
150 m_imageLayerAggregationHasBeenSet =
true;
151 m_imageLayerAggregation = std::forward<ImageLayerAggregationT>(value);
153 template <
typename ImageLayerAggregationT = ImageLayerAggregationResponse>
167 template <
typename PackageAggregationT = PackageAggregationResponse>
169 m_packageAggregationHasBeenSet =
true;
170 m_packageAggregation = std::forward<PackageAggregationT>(value);
172 template <
typename PackageAggregationT = PackageAggregationResponse>
186 template <
typename RepositoryAggregationT = RepositoryAggregationResponse>
188 m_repositoryAggregationHasBeenSet =
true;
189 m_repositoryAggregation = std::forward<RepositoryAggregationT>(value);
191 template <
typename RepositoryAggregationT = RepositoryAggregationResponse>
205 template <
typename TitleAggregationT = TitleAggregationResponse>
207 m_titleAggregationHasBeenSet =
true;
208 m_titleAggregation = std::forward<TitleAggregationT>(value);
210 template <
typename TitleAggregationT = TitleAggregationResponse>
223 template <
typename LambdaLayerAggregationT = LambdaLayerAggregationResponse>
225 m_lambdaLayerAggregationHasBeenSet =
true;
226 m_lambdaLayerAggregation = std::forward<LambdaLayerAggregationT>(value);
228 template <
typename LambdaLayerAggregationT = LambdaLayerAggregationResponse>
241 template <
typename LambdaFunctionAggregationT = LambdaFunctionAggregationResponse>
243 m_lambdaFunctionAggregationHasBeenSet =
true;
244 m_lambdaFunctionAggregation = std::forward<LambdaFunctionAggregationT>(value);
246 template <
typename LambdaFunctionAggregationT = LambdaFunctionAggregationResponse>
260 template <
typename CodeRepositoryAggregationT = CodeRepositoryAggregationResponse>
262 m_codeRepositoryAggregationHasBeenSet =
true;
263 m_codeRepositoryAggregation = std::forward<CodeRepositoryAggregationT>(value);
265 template <
typename CodeRepositoryAggregationT = CodeRepositoryAggregationResponse>
295 bool m_accountAggregationHasBeenSet =
false;
296 bool m_amiAggregationHasBeenSet =
false;
297 bool m_awsEcrContainerAggregationHasBeenSet =
false;
298 bool m_ec2InstanceAggregationHasBeenSet =
false;
299 bool m_findingTypeAggregationHasBeenSet =
false;
300 bool m_imageLayerAggregationHasBeenSet =
false;
301 bool m_packageAggregationHasBeenSet =
false;
302 bool m_repositoryAggregationHasBeenSet =
false;
303 bool m_titleAggregationHasBeenSet =
false;
304 bool m_lambdaLayerAggregationHasBeenSet =
false;
305 bool m_lambdaFunctionAggregationHasBeenSet =
false;
306 bool m_codeRepositoryAggregationHasBeenSet =
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