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

Provides statistical data and other information about an Amazon Web Services * resource that Amazon Macie monitors and analyzes for your account.

See * Also:

AWS * API Reference

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

The details of an S3 bucket that Amazon Macie monitors and analyzes.

*/ inline const MatchingBucket& GetMatchingBucket() const{ return m_matchingBucket; } /** *

The details of an S3 bucket that Amazon Macie monitors and analyzes.

*/ inline bool MatchingBucketHasBeenSet() const { return m_matchingBucketHasBeenSet; } /** *

The details of an S3 bucket that Amazon Macie monitors and analyzes.

*/ inline void SetMatchingBucket(const MatchingBucket& value) { m_matchingBucketHasBeenSet = true; m_matchingBucket = value; } /** *

The details of an S3 bucket that Amazon Macie monitors and analyzes.

*/ inline void SetMatchingBucket(MatchingBucket&& value) { m_matchingBucketHasBeenSet = true; m_matchingBucket = std::move(value); } /** *

The details of an S3 bucket that Amazon Macie monitors and analyzes.

*/ inline MatchingResource& WithMatchingBucket(const MatchingBucket& value) { SetMatchingBucket(value); return *this;} /** *

The details of an S3 bucket that Amazon Macie monitors and analyzes.

*/ inline MatchingResource& WithMatchingBucket(MatchingBucket&& value) { SetMatchingBucket(std::move(value)); return *this;} private: MatchingBucket m_matchingBucket; bool m_matchingBucketHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws