/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ECR { namespace Model { /** *

Contains details about the resource involved in the finding.

See * Also:

AWS * API Reference

*/ class ResourceDetails { public: AWS_ECR_API ResourceDetails(); AWS_ECR_API ResourceDetails(Aws::Utils::Json::JsonView jsonValue); AWS_ECR_API ResourceDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_ECR_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

An object that contains details about the Amazon ECR container image involved * in the finding.

*/ inline const AwsEcrContainerImageDetails& GetAwsEcrContainerImage() const{ return m_awsEcrContainerImage; } /** *

An object that contains details about the Amazon ECR container image involved * in the finding.

*/ inline bool AwsEcrContainerImageHasBeenSet() const { return m_awsEcrContainerImageHasBeenSet; } /** *

An object that contains details about the Amazon ECR container image involved * in the finding.

*/ inline void SetAwsEcrContainerImage(const AwsEcrContainerImageDetails& value) { m_awsEcrContainerImageHasBeenSet = true; m_awsEcrContainerImage = value; } /** *

An object that contains details about the Amazon ECR container image involved * in the finding.

*/ inline void SetAwsEcrContainerImage(AwsEcrContainerImageDetails&& value) { m_awsEcrContainerImageHasBeenSet = true; m_awsEcrContainerImage = std::move(value); } /** *

An object that contains details about the Amazon ECR container image involved * in the finding.

*/ inline ResourceDetails& WithAwsEcrContainerImage(const AwsEcrContainerImageDetails& value) { SetAwsEcrContainerImage(value); return *this;} /** *

An object that contains details about the Amazon ECR container image involved * in the finding.

*/ inline ResourceDetails& WithAwsEcrContainerImage(AwsEcrContainerImageDetails&& value) { SetAwsEcrContainerImage(std::move(value)); return *this;} private: AwsEcrContainerImageDetails m_awsEcrContainerImage; bool m_awsEcrContainerImageHasBeenSet = false; }; } // namespace Model } // namespace ECR } // namespace Aws