/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Additional details about a resource related to a finding. To provide
* the details, use the object that corresponds to the resource type. For example,
* if the resource type is If the
* type-specific object does not contain all of the fields you want to populate,
* then you use the You also use the AwsEc2Instance, then you use the
* AwsEc2Instance object to provide the details.Other object to populate those additional
* fields.Other object to populate the
* details when the selected type does not have a corresponding
* object.See Also:
AWS
* API Reference
Details for an autoscaling group.
*/ inline const AwsAutoScalingAutoScalingGroupDetails& GetAwsAutoScalingAutoScalingGroup() const{ return m_awsAutoScalingAutoScalingGroup; } /** *Details for an autoscaling group.
*/ inline bool AwsAutoScalingAutoScalingGroupHasBeenSet() const { return m_awsAutoScalingAutoScalingGroupHasBeenSet; } /** *Details for an autoscaling group.
*/ inline void SetAwsAutoScalingAutoScalingGroup(const AwsAutoScalingAutoScalingGroupDetails& value) { m_awsAutoScalingAutoScalingGroupHasBeenSet = true; m_awsAutoScalingAutoScalingGroup = value; } /** *Details for an autoscaling group.
*/ inline void SetAwsAutoScalingAutoScalingGroup(AwsAutoScalingAutoScalingGroupDetails&& value) { m_awsAutoScalingAutoScalingGroupHasBeenSet = true; m_awsAutoScalingAutoScalingGroup = std::move(value); } /** *Details for an autoscaling group.
*/ inline ResourceDetails& WithAwsAutoScalingAutoScalingGroup(const AwsAutoScalingAutoScalingGroupDetails& value) { SetAwsAutoScalingAutoScalingGroup(value); return *this;} /** *Details for an autoscaling group.
*/ inline ResourceDetails& WithAwsAutoScalingAutoScalingGroup(AwsAutoScalingAutoScalingGroupDetails&& value) { SetAwsAutoScalingAutoScalingGroup(std::move(value)); return *this;} /** *Details for an AWS CodeBuild project.
*/ inline const AwsCodeBuildProjectDetails& GetAwsCodeBuildProject() const{ return m_awsCodeBuildProject; } /** *Details for an AWS CodeBuild project.
*/ inline bool AwsCodeBuildProjectHasBeenSet() const { return m_awsCodeBuildProjectHasBeenSet; } /** *Details for an AWS CodeBuild project.
*/ inline void SetAwsCodeBuildProject(const AwsCodeBuildProjectDetails& value) { m_awsCodeBuildProjectHasBeenSet = true; m_awsCodeBuildProject = value; } /** *Details for an AWS CodeBuild project.
*/ inline void SetAwsCodeBuildProject(AwsCodeBuildProjectDetails&& value) { m_awsCodeBuildProjectHasBeenSet = true; m_awsCodeBuildProject = std::move(value); } /** *Details for an AWS CodeBuild project.
*/ inline ResourceDetails& WithAwsCodeBuildProject(const AwsCodeBuildProjectDetails& value) { SetAwsCodeBuildProject(value); return *this;} /** *Details for an AWS CodeBuild project.
*/ inline ResourceDetails& WithAwsCodeBuildProject(AwsCodeBuildProjectDetails&& value) { SetAwsCodeBuildProject(std::move(value)); return *this;} /** *Details about a CloudFront distribution.
*/ inline const AwsCloudFrontDistributionDetails& GetAwsCloudFrontDistribution() const{ return m_awsCloudFrontDistribution; } /** *Details about a CloudFront distribution.
*/ inline bool AwsCloudFrontDistributionHasBeenSet() const { return m_awsCloudFrontDistributionHasBeenSet; } /** *Details about a CloudFront distribution.
*/ inline void SetAwsCloudFrontDistribution(const AwsCloudFrontDistributionDetails& value) { m_awsCloudFrontDistributionHasBeenSet = true; m_awsCloudFrontDistribution = value; } /** *Details about a CloudFront distribution.
*/ inline void SetAwsCloudFrontDistribution(AwsCloudFrontDistributionDetails&& value) { m_awsCloudFrontDistributionHasBeenSet = true; m_awsCloudFrontDistribution = std::move(value); } /** *Details about a CloudFront distribution.
*/ inline ResourceDetails& WithAwsCloudFrontDistribution(const AwsCloudFrontDistributionDetails& value) { SetAwsCloudFrontDistribution(value); return *this;} /** *Details about a CloudFront distribution.
*/ inline ResourceDetails& WithAwsCloudFrontDistribution(AwsCloudFrontDistributionDetails&& value) { SetAwsCloudFrontDistribution(std::move(value)); return *this;} /** *Details about an Amazon EC2 instance related to a finding.
*/ inline const AwsEc2InstanceDetails& GetAwsEc2Instance() const{ return m_awsEc2Instance; } /** *Details about an Amazon EC2 instance related to a finding.
*/ inline bool AwsEc2InstanceHasBeenSet() const { return m_awsEc2InstanceHasBeenSet; } /** *Details about an Amazon EC2 instance related to a finding.
*/ inline void SetAwsEc2Instance(const AwsEc2InstanceDetails& value) { m_awsEc2InstanceHasBeenSet = true; m_awsEc2Instance = value; } /** *Details about an Amazon EC2 instance related to a finding.
*/ inline void SetAwsEc2Instance(AwsEc2InstanceDetails&& value) { m_awsEc2InstanceHasBeenSet = true; m_awsEc2Instance = std::move(value); } /** *Details about an Amazon EC2 instance related to a finding.
*/ inline ResourceDetails& WithAwsEc2Instance(const AwsEc2InstanceDetails& value) { SetAwsEc2Instance(value); return *this;} /** *Details about an Amazon EC2 instance related to a finding.
*/ inline ResourceDetails& WithAwsEc2Instance(AwsEc2InstanceDetails&& value) { SetAwsEc2Instance(std::move(value)); return *this;} /** *Details for an Amazon EC2 network interface.
*/ inline const AwsEc2NetworkInterfaceDetails& GetAwsEc2NetworkInterface() const{ return m_awsEc2NetworkInterface; } /** *Details for an Amazon EC2 network interface.
*/ inline bool AwsEc2NetworkInterfaceHasBeenSet() const { return m_awsEc2NetworkInterfaceHasBeenSet; } /** *Details for an Amazon EC2 network interface.
*/ inline void SetAwsEc2NetworkInterface(const AwsEc2NetworkInterfaceDetails& value) { m_awsEc2NetworkInterfaceHasBeenSet = true; m_awsEc2NetworkInterface = value; } /** *Details for an Amazon EC2 network interface.
*/ inline void SetAwsEc2NetworkInterface(AwsEc2NetworkInterfaceDetails&& value) { m_awsEc2NetworkInterfaceHasBeenSet = true; m_awsEc2NetworkInterface = std::move(value); } /** *Details for an Amazon EC2 network interface.
*/ inline ResourceDetails& WithAwsEc2NetworkInterface(const AwsEc2NetworkInterfaceDetails& value) { SetAwsEc2NetworkInterface(value); return *this;} /** *Details for an Amazon EC2 network interface.
*/ inline ResourceDetails& WithAwsEc2NetworkInterface(AwsEc2NetworkInterfaceDetails&& value) { SetAwsEc2NetworkInterface(std::move(value)); return *this;} /** *Details for an EC2 security group.
*/ inline const AwsEc2SecurityGroupDetails& GetAwsEc2SecurityGroup() const{ return m_awsEc2SecurityGroup; } /** *Details for an EC2 security group.
*/ inline bool AwsEc2SecurityGroupHasBeenSet() const { return m_awsEc2SecurityGroupHasBeenSet; } /** *Details for an EC2 security group.
*/ inline void SetAwsEc2SecurityGroup(const AwsEc2SecurityGroupDetails& value) { m_awsEc2SecurityGroupHasBeenSet = true; m_awsEc2SecurityGroup = value; } /** *Details for an EC2 security group.
*/ inline void SetAwsEc2SecurityGroup(AwsEc2SecurityGroupDetails&& value) { m_awsEc2SecurityGroupHasBeenSet = true; m_awsEc2SecurityGroup = std::move(value); } /** *Details for an EC2 security group.
*/ inline ResourceDetails& WithAwsEc2SecurityGroup(const AwsEc2SecurityGroupDetails& value) { SetAwsEc2SecurityGroup(value); return *this;} /** *Details for an EC2 security group.
*/ inline ResourceDetails& WithAwsEc2SecurityGroup(AwsEc2SecurityGroupDetails&& value) { SetAwsEc2SecurityGroup(std::move(value)); return *this;} /** *Details for an EC2 volume.
*/ inline const AwsEc2VolumeDetails& GetAwsEc2Volume() const{ return m_awsEc2Volume; } /** *Details for an EC2 volume.
*/ inline bool AwsEc2VolumeHasBeenSet() const { return m_awsEc2VolumeHasBeenSet; } /** *Details for an EC2 volume.
*/ inline void SetAwsEc2Volume(const AwsEc2VolumeDetails& value) { m_awsEc2VolumeHasBeenSet = true; m_awsEc2Volume = value; } /** *Details for an EC2 volume.
*/ inline void SetAwsEc2Volume(AwsEc2VolumeDetails&& value) { m_awsEc2VolumeHasBeenSet = true; m_awsEc2Volume = std::move(value); } /** *Details for an EC2 volume.
*/ inline ResourceDetails& WithAwsEc2Volume(const AwsEc2VolumeDetails& value) { SetAwsEc2Volume(value); return *this;} /** *Details for an EC2 volume.
*/ inline ResourceDetails& WithAwsEc2Volume(AwsEc2VolumeDetails&& value) { SetAwsEc2Volume(std::move(value)); return *this;} /** *Details for an EC2 VPC.
*/ inline const AwsEc2VpcDetails& GetAwsEc2Vpc() const{ return m_awsEc2Vpc; } /** *Details for an EC2 VPC.
*/ inline bool AwsEc2VpcHasBeenSet() const { return m_awsEc2VpcHasBeenSet; } /** *Details for an EC2 VPC.
*/ inline void SetAwsEc2Vpc(const AwsEc2VpcDetails& value) { m_awsEc2VpcHasBeenSet = true; m_awsEc2Vpc = value; } /** *Details for an EC2 VPC.
*/ inline void SetAwsEc2Vpc(AwsEc2VpcDetails&& value) { m_awsEc2VpcHasBeenSet = true; m_awsEc2Vpc = std::move(value); } /** *Details for an EC2 VPC.
*/ inline ResourceDetails& WithAwsEc2Vpc(const AwsEc2VpcDetails& value) { SetAwsEc2Vpc(value); return *this;} /** *Details for an EC2 VPC.
*/ inline ResourceDetails& WithAwsEc2Vpc(AwsEc2VpcDetails&& value) { SetAwsEc2Vpc(std::move(value)); return *this;} /** *Details about an Elastic IP address.
*/ inline const AwsEc2EipDetails& GetAwsEc2Eip() const{ return m_awsEc2Eip; } /** *Details about an Elastic IP address.
*/ inline bool AwsEc2EipHasBeenSet() const { return m_awsEc2EipHasBeenSet; } /** *Details about an Elastic IP address.
*/ inline void SetAwsEc2Eip(const AwsEc2EipDetails& value) { m_awsEc2EipHasBeenSet = true; m_awsEc2Eip = value; } /** *Details about an Elastic IP address.
*/ inline void SetAwsEc2Eip(AwsEc2EipDetails&& value) { m_awsEc2EipHasBeenSet = true; m_awsEc2Eip = std::move(value); } /** *Details about an Elastic IP address.
*/ inline ResourceDetails& WithAwsEc2Eip(const AwsEc2EipDetails& value) { SetAwsEc2Eip(value); return *this;} /** *Details about an Elastic IP address.
*/ inline ResourceDetails& WithAwsEc2Eip(AwsEc2EipDetails&& value) { SetAwsEc2Eip(std::move(value)); return *this;} /** *Details about a load balancer.
*/ inline const AwsElbv2LoadBalancerDetails& GetAwsElbv2LoadBalancer() const{ return m_awsElbv2LoadBalancer; } /** *Details about a load balancer.
*/ inline bool AwsElbv2LoadBalancerHasBeenSet() const { return m_awsElbv2LoadBalancerHasBeenSet; } /** *Details about a load balancer.
*/ inline void SetAwsElbv2LoadBalancer(const AwsElbv2LoadBalancerDetails& value) { m_awsElbv2LoadBalancerHasBeenSet = true; m_awsElbv2LoadBalancer = value; } /** *Details about a load balancer.
*/ inline void SetAwsElbv2LoadBalancer(AwsElbv2LoadBalancerDetails&& value) { m_awsElbv2LoadBalancerHasBeenSet = true; m_awsElbv2LoadBalancer = std::move(value); } /** *Details about a load balancer.
*/ inline ResourceDetails& WithAwsElbv2LoadBalancer(const AwsElbv2LoadBalancerDetails& value) { SetAwsElbv2LoadBalancer(value); return *this;} /** *Details about a load balancer.
*/ inline ResourceDetails& WithAwsElbv2LoadBalancer(AwsElbv2LoadBalancerDetails&& value) { SetAwsElbv2LoadBalancer(std::move(value)); return *this;} /** *Details for an Elasticsearch domain.
*/ inline const AwsElasticsearchDomainDetails& GetAwsElasticsearchDomain() const{ return m_awsElasticsearchDomain; } /** *Details for an Elasticsearch domain.
*/ inline bool AwsElasticsearchDomainHasBeenSet() const { return m_awsElasticsearchDomainHasBeenSet; } /** *Details for an Elasticsearch domain.
*/ inline void SetAwsElasticsearchDomain(const AwsElasticsearchDomainDetails& value) { m_awsElasticsearchDomainHasBeenSet = true; m_awsElasticsearchDomain = value; } /** *Details for an Elasticsearch domain.
*/ inline void SetAwsElasticsearchDomain(AwsElasticsearchDomainDetails&& value) { m_awsElasticsearchDomainHasBeenSet = true; m_awsElasticsearchDomain = std::move(value); } /** *Details for an Elasticsearch domain.
*/ inline ResourceDetails& WithAwsElasticsearchDomain(const AwsElasticsearchDomainDetails& value) { SetAwsElasticsearchDomain(value); return *this;} /** *Details for an Elasticsearch domain.
*/ inline ResourceDetails& WithAwsElasticsearchDomain(AwsElasticsearchDomainDetails&& value) { SetAwsElasticsearchDomain(std::move(value)); return *this;} /** *Details about an Amazon S3 bucket related to a finding.
*/ inline const AwsS3BucketDetails& GetAwsS3Bucket() const{ return m_awsS3Bucket; } /** *Details about an Amazon S3 bucket related to a finding.
*/ inline bool AwsS3BucketHasBeenSet() const { return m_awsS3BucketHasBeenSet; } /** *Details about an Amazon S3 bucket related to a finding.
*/ inline void SetAwsS3Bucket(const AwsS3BucketDetails& value) { m_awsS3BucketHasBeenSet = true; m_awsS3Bucket = value; } /** *Details about an Amazon S3 bucket related to a finding.
*/ inline void SetAwsS3Bucket(AwsS3BucketDetails&& value) { m_awsS3BucketHasBeenSet = true; m_awsS3Bucket = std::move(value); } /** *Details about an Amazon S3 bucket related to a finding.
*/ inline ResourceDetails& WithAwsS3Bucket(const AwsS3BucketDetails& value) { SetAwsS3Bucket(value); return *this;} /** *Details about an Amazon S3 bucket related to a finding.
*/ inline ResourceDetails& WithAwsS3Bucket(AwsS3BucketDetails&& value) { SetAwsS3Bucket(std::move(value)); return *this;} /** *Details about an Amazon S3 object related to a finding.
*/ inline const AwsS3ObjectDetails& GetAwsS3Object() const{ return m_awsS3Object; } /** *Details about an Amazon S3 object related to a finding.
*/ inline bool AwsS3ObjectHasBeenSet() const { return m_awsS3ObjectHasBeenSet; } /** *Details about an Amazon S3 object related to a finding.
*/ inline void SetAwsS3Object(const AwsS3ObjectDetails& value) { m_awsS3ObjectHasBeenSet = true; m_awsS3Object = value; } /** *Details about an Amazon S3 object related to a finding.
*/ inline void SetAwsS3Object(AwsS3ObjectDetails&& value) { m_awsS3ObjectHasBeenSet = true; m_awsS3Object = std::move(value); } /** *Details about an Amazon S3 object related to a finding.
*/ inline ResourceDetails& WithAwsS3Object(const AwsS3ObjectDetails& value) { SetAwsS3Object(value); return *this;} /** *Details about an Amazon S3 object related to a finding.
*/ inline ResourceDetails& WithAwsS3Object(AwsS3ObjectDetails&& value) { SetAwsS3Object(std::move(value)); return *this;} /** *Details about a Secrets Manager secret.
*/ inline const AwsSecretsManagerSecretDetails& GetAwsSecretsManagerSecret() const{ return m_awsSecretsManagerSecret; } /** *Details about a Secrets Manager secret.
*/ inline bool AwsSecretsManagerSecretHasBeenSet() const { return m_awsSecretsManagerSecretHasBeenSet; } /** *Details about a Secrets Manager secret.
*/ inline void SetAwsSecretsManagerSecret(const AwsSecretsManagerSecretDetails& value) { m_awsSecretsManagerSecretHasBeenSet = true; m_awsSecretsManagerSecret = value; } /** *Details about a Secrets Manager secret.
*/ inline void SetAwsSecretsManagerSecret(AwsSecretsManagerSecretDetails&& value) { m_awsSecretsManagerSecretHasBeenSet = true; m_awsSecretsManagerSecret = std::move(value); } /** *Details about a Secrets Manager secret.
*/ inline ResourceDetails& WithAwsSecretsManagerSecret(const AwsSecretsManagerSecretDetails& value) { SetAwsSecretsManagerSecret(value); return *this;} /** *Details about a Secrets Manager secret.
*/ inline ResourceDetails& WithAwsSecretsManagerSecret(AwsSecretsManagerSecretDetails&& value) { SetAwsSecretsManagerSecret(std::move(value)); return *this;} /** *Details about an IAM access key related to a finding.
*/ inline const AwsIamAccessKeyDetails& GetAwsIamAccessKey() const{ return m_awsIamAccessKey; } /** *Details about an IAM access key related to a finding.
*/ inline bool AwsIamAccessKeyHasBeenSet() const { return m_awsIamAccessKeyHasBeenSet; } /** *Details about an IAM access key related to a finding.
*/ inline void SetAwsIamAccessKey(const AwsIamAccessKeyDetails& value) { m_awsIamAccessKeyHasBeenSet = true; m_awsIamAccessKey = value; } /** *Details about an IAM access key related to a finding.
*/ inline void SetAwsIamAccessKey(AwsIamAccessKeyDetails&& value) { m_awsIamAccessKeyHasBeenSet = true; m_awsIamAccessKey = std::move(value); } /** *Details about an IAM access key related to a finding.
*/ inline ResourceDetails& WithAwsIamAccessKey(const AwsIamAccessKeyDetails& value) { SetAwsIamAccessKey(value); return *this;} /** *Details about an IAM access key related to a finding.
*/ inline ResourceDetails& WithAwsIamAccessKey(AwsIamAccessKeyDetails&& value) { SetAwsIamAccessKey(std::move(value)); return *this;} /** *Details about an IAM user.
*/ inline const AwsIamUserDetails& GetAwsIamUser() const{ return m_awsIamUser; } /** *Details about an IAM user.
*/ inline bool AwsIamUserHasBeenSet() const { return m_awsIamUserHasBeenSet; } /** *Details about an IAM user.
*/ inline void SetAwsIamUser(const AwsIamUserDetails& value) { m_awsIamUserHasBeenSet = true; m_awsIamUser = value; } /** *Details about an IAM user.
*/ inline void SetAwsIamUser(AwsIamUserDetails&& value) { m_awsIamUserHasBeenSet = true; m_awsIamUser = std::move(value); } /** *Details about an IAM user.
*/ inline ResourceDetails& WithAwsIamUser(const AwsIamUserDetails& value) { SetAwsIamUser(value); return *this;} /** *Details about an IAM user.
*/ inline ResourceDetails& WithAwsIamUser(AwsIamUserDetails&& value) { SetAwsIamUser(std::move(value)); return *this;} /** *Details about an IAM permissions policy.
*/ inline const AwsIamPolicyDetails& GetAwsIamPolicy() const{ return m_awsIamPolicy; } /** *Details about an IAM permissions policy.
*/ inline bool AwsIamPolicyHasBeenSet() const { return m_awsIamPolicyHasBeenSet; } /** *Details about an IAM permissions policy.
*/ inline void SetAwsIamPolicy(const AwsIamPolicyDetails& value) { m_awsIamPolicyHasBeenSet = true; m_awsIamPolicy = value; } /** *Details about an IAM permissions policy.
*/ inline void SetAwsIamPolicy(AwsIamPolicyDetails&& value) { m_awsIamPolicyHasBeenSet = true; m_awsIamPolicy = std::move(value); } /** *Details about an IAM permissions policy.
*/ inline ResourceDetails& WithAwsIamPolicy(const AwsIamPolicyDetails& value) { SetAwsIamPolicy(value); return *this;} /** *Details about an IAM permissions policy.
*/ inline ResourceDetails& WithAwsIamPolicy(AwsIamPolicyDetails&& value) { SetAwsIamPolicy(std::move(value)); return *this;} /** *Details about a DynamoDB table.
*/ inline const AwsDynamoDbTableDetails& GetAwsDynamoDbTable() const{ return m_awsDynamoDbTable; } /** *Details about a DynamoDB table.
*/ inline bool AwsDynamoDbTableHasBeenSet() const { return m_awsDynamoDbTableHasBeenSet; } /** *Details about a DynamoDB table.
*/ inline void SetAwsDynamoDbTable(const AwsDynamoDbTableDetails& value) { m_awsDynamoDbTableHasBeenSet = true; m_awsDynamoDbTable = value; } /** *Details about a DynamoDB table.
*/ inline void SetAwsDynamoDbTable(AwsDynamoDbTableDetails&& value) { m_awsDynamoDbTableHasBeenSet = true; m_awsDynamoDbTable = std::move(value); } /** *Details about a DynamoDB table.
*/ inline ResourceDetails& WithAwsDynamoDbTable(const AwsDynamoDbTableDetails& value) { SetAwsDynamoDbTable(value); return *this;} /** *Details about a DynamoDB table.
*/ inline ResourceDetails& WithAwsDynamoDbTable(AwsDynamoDbTableDetails&& value) { SetAwsDynamoDbTable(std::move(value)); return *this;} /** *Details about an IAM role.
*/ inline const AwsIamRoleDetails& GetAwsIamRole() const{ return m_awsIamRole; } /** *Details about an IAM role.
*/ inline bool AwsIamRoleHasBeenSet() const { return m_awsIamRoleHasBeenSet; } /** *Details about an IAM role.
*/ inline void SetAwsIamRole(const AwsIamRoleDetails& value) { m_awsIamRoleHasBeenSet = true; m_awsIamRole = value; } /** *Details about an IAM role.
*/ inline void SetAwsIamRole(AwsIamRoleDetails&& value) { m_awsIamRoleHasBeenSet = true; m_awsIamRole = std::move(value); } /** *Details about an IAM role.
*/ inline ResourceDetails& WithAwsIamRole(const AwsIamRoleDetails& value) { SetAwsIamRole(value); return *this;} /** *Details about an IAM role.
*/ inline ResourceDetails& WithAwsIamRole(AwsIamRoleDetails&& value) { SetAwsIamRole(std::move(value)); return *this;} /** *Details about a KMS key.
*/ inline const AwsKmsKeyDetails& GetAwsKmsKey() const{ return m_awsKmsKey; } /** *Details about a KMS key.
*/ inline bool AwsKmsKeyHasBeenSet() const { return m_awsKmsKeyHasBeenSet; } /** *Details about a KMS key.
*/ inline void SetAwsKmsKey(const AwsKmsKeyDetails& value) { m_awsKmsKeyHasBeenSet = true; m_awsKmsKey = value; } /** *Details about a KMS key.
*/ inline void SetAwsKmsKey(AwsKmsKeyDetails&& value) { m_awsKmsKeyHasBeenSet = true; m_awsKmsKey = std::move(value); } /** *Details about a KMS key.
*/ inline ResourceDetails& WithAwsKmsKey(const AwsKmsKeyDetails& value) { SetAwsKmsKey(value); return *this;} /** *Details about a KMS key.
*/ inline ResourceDetails& WithAwsKmsKey(AwsKmsKeyDetails&& value) { SetAwsKmsKey(std::move(value)); return *this;} /** *Details about a Lambda function.
*/ inline const AwsLambdaFunctionDetails& GetAwsLambdaFunction() const{ return m_awsLambdaFunction; } /** *Details about a Lambda function.
*/ inline bool AwsLambdaFunctionHasBeenSet() const { return m_awsLambdaFunctionHasBeenSet; } /** *Details about a Lambda function.
*/ inline void SetAwsLambdaFunction(const AwsLambdaFunctionDetails& value) { m_awsLambdaFunctionHasBeenSet = true; m_awsLambdaFunction = value; } /** *Details about a Lambda function.
*/ inline void SetAwsLambdaFunction(AwsLambdaFunctionDetails&& value) { m_awsLambdaFunctionHasBeenSet = true; m_awsLambdaFunction = std::move(value); } /** *Details about a Lambda function.
*/ inline ResourceDetails& WithAwsLambdaFunction(const AwsLambdaFunctionDetails& value) { SetAwsLambdaFunction(value); return *this;} /** *Details about a Lambda function.
*/ inline ResourceDetails& WithAwsLambdaFunction(AwsLambdaFunctionDetails&& value) { SetAwsLambdaFunction(std::move(value)); return *this;} /** *Details for a Lambda layer version.
*/ inline const AwsLambdaLayerVersionDetails& GetAwsLambdaLayerVersion() const{ return m_awsLambdaLayerVersion; } /** *Details for a Lambda layer version.
*/ inline bool AwsLambdaLayerVersionHasBeenSet() const { return m_awsLambdaLayerVersionHasBeenSet; } /** *Details for a Lambda layer version.
*/ inline void SetAwsLambdaLayerVersion(const AwsLambdaLayerVersionDetails& value) { m_awsLambdaLayerVersionHasBeenSet = true; m_awsLambdaLayerVersion = value; } /** *Details for a Lambda layer version.
*/ inline void SetAwsLambdaLayerVersion(AwsLambdaLayerVersionDetails&& value) { m_awsLambdaLayerVersionHasBeenSet = true; m_awsLambdaLayerVersion = std::move(value); } /** *Details for a Lambda layer version.
*/ inline ResourceDetails& WithAwsLambdaLayerVersion(const AwsLambdaLayerVersionDetails& value) { SetAwsLambdaLayerVersion(value); return *this;} /** *Details for a Lambda layer version.
*/ inline ResourceDetails& WithAwsLambdaLayerVersion(AwsLambdaLayerVersionDetails&& value) { SetAwsLambdaLayerVersion(std::move(value)); return *this;} /** *Details about an Amazon RDS database instance.
*/ inline const AwsRdsDbInstanceDetails& GetAwsRdsDbInstance() const{ return m_awsRdsDbInstance; } /** *Details about an Amazon RDS database instance.
*/ inline bool AwsRdsDbInstanceHasBeenSet() const { return m_awsRdsDbInstanceHasBeenSet; } /** *Details about an Amazon RDS database instance.
*/ inline void SetAwsRdsDbInstance(const AwsRdsDbInstanceDetails& value) { m_awsRdsDbInstanceHasBeenSet = true; m_awsRdsDbInstance = value; } /** *Details about an Amazon RDS database instance.
*/ inline void SetAwsRdsDbInstance(AwsRdsDbInstanceDetails&& value) { m_awsRdsDbInstanceHasBeenSet = true; m_awsRdsDbInstance = std::move(value); } /** *Details about an Amazon RDS database instance.
*/ inline ResourceDetails& WithAwsRdsDbInstance(const AwsRdsDbInstanceDetails& value) { SetAwsRdsDbInstance(value); return *this;} /** *Details about an Amazon RDS database instance.
*/ inline ResourceDetails& WithAwsRdsDbInstance(AwsRdsDbInstanceDetails&& value) { SetAwsRdsDbInstance(std::move(value)); return *this;} /** *Details about an SNS topic.
*/ inline const AwsSnsTopicDetails& GetAwsSnsTopic() const{ return m_awsSnsTopic; } /** *Details about an SNS topic.
*/ inline bool AwsSnsTopicHasBeenSet() const { return m_awsSnsTopicHasBeenSet; } /** *Details about an SNS topic.
*/ inline void SetAwsSnsTopic(const AwsSnsTopicDetails& value) { m_awsSnsTopicHasBeenSet = true; m_awsSnsTopic = value; } /** *Details about an SNS topic.
*/ inline void SetAwsSnsTopic(AwsSnsTopicDetails&& value) { m_awsSnsTopicHasBeenSet = true; m_awsSnsTopic = std::move(value); } /** *Details about an SNS topic.
*/ inline ResourceDetails& WithAwsSnsTopic(const AwsSnsTopicDetails& value) { SetAwsSnsTopic(value); return *this;} /** *Details about an SNS topic.
*/ inline ResourceDetails& WithAwsSnsTopic(AwsSnsTopicDetails&& value) { SetAwsSnsTopic(std::move(value)); return *this;} /** *Details about an SQS queue.
*/ inline const AwsSqsQueueDetails& GetAwsSqsQueue() const{ return m_awsSqsQueue; } /** *Details about an SQS queue.
*/ inline bool AwsSqsQueueHasBeenSet() const { return m_awsSqsQueueHasBeenSet; } /** *Details about an SQS queue.
*/ inline void SetAwsSqsQueue(const AwsSqsQueueDetails& value) { m_awsSqsQueueHasBeenSet = true; m_awsSqsQueue = value; } /** *Details about an SQS queue.
*/ inline void SetAwsSqsQueue(AwsSqsQueueDetails&& value) { m_awsSqsQueueHasBeenSet = true; m_awsSqsQueue = std::move(value); } /** *Details about an SQS queue.
*/ inline ResourceDetails& WithAwsSqsQueue(const AwsSqsQueueDetails& value) { SetAwsSqsQueue(value); return *this;} /** *Details about an SQS queue.
*/ inline ResourceDetails& WithAwsSqsQueue(AwsSqsQueueDetails&& value) { SetAwsSqsQueue(std::move(value)); return *this;} /** *Details for a WAF WebACL.
*/ inline const AwsWafWebAclDetails& GetAwsWafWebAcl() const{ return m_awsWafWebAcl; } /** *Details for a WAF WebACL.
*/ inline bool AwsWafWebAclHasBeenSet() const { return m_awsWafWebAclHasBeenSet; } /** *Details for a WAF WebACL.
*/ inline void SetAwsWafWebAcl(const AwsWafWebAclDetails& value) { m_awsWafWebAclHasBeenSet = true; m_awsWafWebAcl = value; } /** *Details for a WAF WebACL.
*/ inline void SetAwsWafWebAcl(AwsWafWebAclDetails&& value) { m_awsWafWebAclHasBeenSet = true; m_awsWafWebAcl = std::move(value); } /** *Details for a WAF WebACL.
*/ inline ResourceDetails& WithAwsWafWebAcl(const AwsWafWebAclDetails& value) { SetAwsWafWebAcl(value); return *this;} /** *Details for a WAF WebACL.
*/ inline ResourceDetails& WithAwsWafWebAcl(AwsWafWebAclDetails&& value) { SetAwsWafWebAcl(std::move(value)); return *this;} /** *Details about an Amazon RDS database snapshot.
*/ inline const AwsRdsDbSnapshotDetails& GetAwsRdsDbSnapshot() const{ return m_awsRdsDbSnapshot; } /** *Details about an Amazon RDS database snapshot.
*/ inline bool AwsRdsDbSnapshotHasBeenSet() const { return m_awsRdsDbSnapshotHasBeenSet; } /** *Details about an Amazon RDS database snapshot.
*/ inline void SetAwsRdsDbSnapshot(const AwsRdsDbSnapshotDetails& value) { m_awsRdsDbSnapshotHasBeenSet = true; m_awsRdsDbSnapshot = value; } /** *Details about an Amazon RDS database snapshot.
*/ inline void SetAwsRdsDbSnapshot(AwsRdsDbSnapshotDetails&& value) { m_awsRdsDbSnapshotHasBeenSet = true; m_awsRdsDbSnapshot = std::move(value); } /** *Details about an Amazon RDS database snapshot.
*/ inline ResourceDetails& WithAwsRdsDbSnapshot(const AwsRdsDbSnapshotDetails& value) { SetAwsRdsDbSnapshot(value); return *this;} /** *Details about an Amazon RDS database snapshot.
*/ inline ResourceDetails& WithAwsRdsDbSnapshot(AwsRdsDbSnapshotDetails&& value) { SetAwsRdsDbSnapshot(std::move(value)); return *this;} /** *Details about an Amazon RDS database cluster snapshot.
*/ inline const AwsRdsDbClusterSnapshotDetails& GetAwsRdsDbClusterSnapshot() const{ return m_awsRdsDbClusterSnapshot; } /** *Details about an Amazon RDS database cluster snapshot.
*/ inline bool AwsRdsDbClusterSnapshotHasBeenSet() const { return m_awsRdsDbClusterSnapshotHasBeenSet; } /** *Details about an Amazon RDS database cluster snapshot.
*/ inline void SetAwsRdsDbClusterSnapshot(const AwsRdsDbClusterSnapshotDetails& value) { m_awsRdsDbClusterSnapshotHasBeenSet = true; m_awsRdsDbClusterSnapshot = value; } /** *Details about an Amazon RDS database cluster snapshot.
*/ inline void SetAwsRdsDbClusterSnapshot(AwsRdsDbClusterSnapshotDetails&& value) { m_awsRdsDbClusterSnapshotHasBeenSet = true; m_awsRdsDbClusterSnapshot = std::move(value); } /** *Details about an Amazon RDS database cluster snapshot.
*/ inline ResourceDetails& WithAwsRdsDbClusterSnapshot(const AwsRdsDbClusterSnapshotDetails& value) { SetAwsRdsDbClusterSnapshot(value); return *this;} /** *Details about an Amazon RDS database cluster snapshot.
*/ inline ResourceDetails& WithAwsRdsDbClusterSnapshot(AwsRdsDbClusterSnapshotDetails&& value) { SetAwsRdsDbClusterSnapshot(std::move(value)); return *this;} /** *Details about an Amazon RDS database cluster.
*/ inline const AwsRdsDbClusterDetails& GetAwsRdsDbCluster() const{ return m_awsRdsDbCluster; } /** *Details about an Amazon RDS database cluster.
*/ inline bool AwsRdsDbClusterHasBeenSet() const { return m_awsRdsDbClusterHasBeenSet; } /** *Details about an Amazon RDS database cluster.
*/ inline void SetAwsRdsDbCluster(const AwsRdsDbClusterDetails& value) { m_awsRdsDbClusterHasBeenSet = true; m_awsRdsDbCluster = value; } /** *Details about an Amazon RDS database cluster.
*/ inline void SetAwsRdsDbCluster(AwsRdsDbClusterDetails&& value) { m_awsRdsDbClusterHasBeenSet = true; m_awsRdsDbCluster = std::move(value); } /** *Details about an Amazon RDS database cluster.
*/ inline ResourceDetails& WithAwsRdsDbCluster(const AwsRdsDbClusterDetails& value) { SetAwsRdsDbCluster(value); return *this;} /** *Details about an Amazon RDS database cluster.
*/ inline ResourceDetails& WithAwsRdsDbCluster(AwsRdsDbClusterDetails&& value) { SetAwsRdsDbCluster(std::move(value)); return *this;} /** *Details about a container resource related to a finding.
*/ inline const ContainerDetails& GetContainer() const{ return m_container; } /** *Details about a container resource related to a finding.
*/ inline bool ContainerHasBeenSet() const { return m_containerHasBeenSet; } /** *Details about a container resource related to a finding.
*/ inline void SetContainer(const ContainerDetails& value) { m_containerHasBeenSet = true; m_container = value; } /** *Details about a container resource related to a finding.
*/ inline void SetContainer(ContainerDetails&& value) { m_containerHasBeenSet = true; m_container = std::move(value); } /** *Details about a container resource related to a finding.
*/ inline ResourceDetails& WithContainer(const ContainerDetails& value) { SetContainer(value); return *this;} /** *Details about a container resource related to a finding.
*/ inline ResourceDetails& WithContainer(ContainerDetails&& value) { SetContainer(std::move(value)); return *this;} /** *Details about a resource that are not available in a type-specific details
* object. Use the Other object in the following cases.
The type-specific object does not contain all of the fields that you want to
* populate. In this case, first use the type-specific object to populate those
* fields. Use the Other object to populate the fields that are
* missing from the type-specific object.
The resource type does
* not have a corresponding object. This includes resources for which the type is
* Other.
Details about a resource that are not available in a type-specific details
* object. Use the Other object in the following cases.
The type-specific object does not contain all of the fields that you want to
* populate. In this case, first use the type-specific object to populate those
* fields. Use the Other object to populate the fields that are
* missing from the type-specific object.
The resource type does
* not have a corresponding object. This includes resources for which the type is
* Other.
Details about a resource that are not available in a type-specific details
* object. Use the Other object in the following cases.
The type-specific object does not contain all of the fields that you want to
* populate. In this case, first use the type-specific object to populate those
* fields. Use the Other object to populate the fields that are
* missing from the type-specific object.
The resource type does
* not have a corresponding object. This includes resources for which the type is
* Other.
Details about a resource that are not available in a type-specific details
* object. Use the Other object in the following cases.
The type-specific object does not contain all of the fields that you want to
* populate. In this case, first use the type-specific object to populate those
* fields. Use the Other object to populate the fields that are
* missing from the type-specific object.
The resource type does
* not have a corresponding object. This includes resources for which the type is
* Other.
Details about a resource that are not available in a type-specific details
* object. Use the Other object in the following cases.
The type-specific object does not contain all of the fields that you want to
* populate. In this case, first use the type-specific object to populate those
* fields. Use the Other object to populate the fields that are
* missing from the type-specific object.
The resource type does
* not have a corresponding object. This includes resources for which the type is
* Other.
Details about a resource that are not available in a type-specific details
* object. Use the Other object in the following cases.
The type-specific object does not contain all of the fields that you want to
* populate. In this case, first use the type-specific object to populate those
* fields. Use the Other object to populate the fields that are
* missing from the type-specific object.
The resource type does
* not have a corresponding object. This includes resources for which the type is
* Other.
Details about a resource that are not available in a type-specific details
* object. Use the Other object in the following cases.
The type-specific object does not contain all of the fields that you want to
* populate. In this case, first use the type-specific object to populate those
* fields. Use the Other object to populate the fields that are
* missing from the type-specific object.
The resource type does
* not have a corresponding object. This includes resources for which the type is
* Other.
Details about a resource that are not available in a type-specific details
* object. Use the Other object in the following cases.
The type-specific object does not contain all of the fields that you want to
* populate. In this case, first use the type-specific object to populate those
* fields. Use the Other object to populate the fields that are
* missing from the type-specific object.
The resource type does
* not have a corresponding object. This includes resources for which the type is
* Other.
Details about a resource that are not available in a type-specific details
* object. Use the Other object in the following cases.
The type-specific object does not contain all of the fields that you want to
* populate. In this case, first use the type-specific object to populate those
* fields. Use the Other object to populate the fields that are
* missing from the type-specific object.
The resource type does
* not have a corresponding object. This includes resources for which the type is
* Other.
Details about a resource that are not available in a type-specific details
* object. Use the Other object in the following cases.
The type-specific object does not contain all of the fields that you want to
* populate. In this case, first use the type-specific object to populate those
* fields. Use the Other object to populate the fields that are
* missing from the type-specific object.
The resource type does
* not have a corresponding object. This includes resources for which the type is
* Other.
Details about a resource that are not available in a type-specific details
* object. Use the Other object in the following cases.
The type-specific object does not contain all of the fields that you want to
* populate. In this case, first use the type-specific object to populate those
* fields. Use the Other object to populate the fields that are
* missing from the type-specific object.
The resource type does
* not have a corresponding object. This includes resources for which the type is
* Other.
Details about a resource that are not available in a type-specific details
* object. Use the Other object in the following cases.
The type-specific object does not contain all of the fields that you want to
* populate. In this case, first use the type-specific object to populate those
* fields. Use the Other object to populate the fields that are
* missing from the type-specific object.
The resource type does
* not have a corresponding object. This includes resources for which the type is
* Other.
Details about a resource that are not available in a type-specific details
* object. Use the Other object in the following cases.
The type-specific object does not contain all of the fields that you want to
* populate. In this case, first use the type-specific object to populate those
* fields. Use the Other object to populate the fields that are
* missing from the type-specific object.
The resource type does
* not have a corresponding object. This includes resources for which the type is
* Other.