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

Specifies the names of the S3 buckets that are excluded from automated * sensitive data discovery.

See Also:

AWS * API Reference

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

An array of strings, one for each S3 bucket that is excluded. Each string is * the full name of an excluded bucket.

*/ inline const Aws::Vector& GetBucketNames() const{ return m_bucketNames; } /** *

An array of strings, one for each S3 bucket that is excluded. Each string is * the full name of an excluded bucket.

*/ inline bool BucketNamesHasBeenSet() const { return m_bucketNamesHasBeenSet; } /** *

An array of strings, one for each S3 bucket that is excluded. Each string is * the full name of an excluded bucket.

*/ inline void SetBucketNames(const Aws::Vector& value) { m_bucketNamesHasBeenSet = true; m_bucketNames = value; } /** *

An array of strings, one for each S3 bucket that is excluded. Each string is * the full name of an excluded bucket.

*/ inline void SetBucketNames(Aws::Vector&& value) { m_bucketNamesHasBeenSet = true; m_bucketNames = std::move(value); } /** *

An array of strings, one for each S3 bucket that is excluded. Each string is * the full name of an excluded bucket.

*/ inline S3ClassificationScopeExclusion& WithBucketNames(const Aws::Vector& value) { SetBucketNames(value); return *this;} /** *

An array of strings, one for each S3 bucket that is excluded. Each string is * the full name of an excluded bucket.

*/ inline S3ClassificationScopeExclusion& WithBucketNames(Aws::Vector&& value) { SetBucketNames(std::move(value)); return *this;} /** *

An array of strings, one for each S3 bucket that is excluded. Each string is * the full name of an excluded bucket.

*/ inline S3ClassificationScopeExclusion& AddBucketNames(const Aws::String& value) { m_bucketNamesHasBeenSet = true; m_bucketNames.push_back(value); return *this; } /** *

An array of strings, one for each S3 bucket that is excluded. Each string is * the full name of an excluded bucket.

*/ inline S3ClassificationScopeExclusion& AddBucketNames(Aws::String&& value) { m_bucketNamesHasBeenSet = true; m_bucketNames.push_back(std::move(value)); return *this; } /** *

An array of strings, one for each S3 bucket that is excluded. Each string is * the full name of an excluded bucket.

*/ inline S3ClassificationScopeExclusion& AddBucketNames(const char* value) { m_bucketNamesHasBeenSet = true; m_bucketNames.push_back(value); return *this; } private: Aws::Vector m_bucketNames; bool m_bucketNamesHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws