/** * 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 AccessAnalyzer { namespace Model { /** *

Includes details about how the access that generated the finding is granted. * This is populated for Amazon S3 bucket findings.

See Also:

AWS * API Reference

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

The ARN of the access point that generated the finding.

*/ inline const Aws::String& GetAccessPointArn() const{ return m_accessPointArn; } /** *

The ARN of the access point that generated the finding.

*/ inline bool AccessPointArnHasBeenSet() const { return m_accessPointArnHasBeenSet; } /** *

The ARN of the access point that generated the finding.

*/ inline void SetAccessPointArn(const Aws::String& value) { m_accessPointArnHasBeenSet = true; m_accessPointArn = value; } /** *

The ARN of the access point that generated the finding.

*/ inline void SetAccessPointArn(Aws::String&& value) { m_accessPointArnHasBeenSet = true; m_accessPointArn = std::move(value); } /** *

The ARN of the access point that generated the finding.

*/ inline void SetAccessPointArn(const char* value) { m_accessPointArnHasBeenSet = true; m_accessPointArn.assign(value); } /** *

The ARN of the access point that generated the finding.

*/ inline FindingSourceDetail& WithAccessPointArn(const Aws::String& value) { SetAccessPointArn(value); return *this;} /** *

The ARN of the access point that generated the finding.

*/ inline FindingSourceDetail& WithAccessPointArn(Aws::String&& value) { SetAccessPointArn(std::move(value)); return *this;} /** *

The ARN of the access point that generated the finding.

*/ inline FindingSourceDetail& WithAccessPointArn(const char* value) { SetAccessPointArn(value); return *this;} private: Aws::String m_accessPointArn; bool m_accessPointArnHasBeenSet; }; } // namespace Model } // namespace AccessAnalyzer } // namespace Aws