/** * 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 { /** *

Specifies changes to the list of S3 buckets that are excluded from automated * sensitive data discovery for an Amazon Macie account.

See Also:

* AWS * API Reference

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

The names of the S3 buckets to add or remove from the list.

*/ inline const S3ClassificationScopeExclusionUpdate& GetExcludes() const{ return m_excludes; } /** *

The names of the S3 buckets to add or remove from the list.

*/ inline bool ExcludesHasBeenSet() const { return m_excludesHasBeenSet; } /** *

The names of the S3 buckets to add or remove from the list.

*/ inline void SetExcludes(const S3ClassificationScopeExclusionUpdate& value) { m_excludesHasBeenSet = true; m_excludes = value; } /** *

The names of the S3 buckets to add or remove from the list.

*/ inline void SetExcludes(S3ClassificationScopeExclusionUpdate&& value) { m_excludesHasBeenSet = true; m_excludes = std::move(value); } /** *

The names of the S3 buckets to add or remove from the list.

*/ inline S3ClassificationScopeUpdate& WithExcludes(const S3ClassificationScopeExclusionUpdate& value) { SetExcludes(value); return *this;} /** *

The names of the S3 buckets to add or remove from the list.

*/ inline S3ClassificationScopeUpdate& WithExcludes(S3ClassificationScopeExclusionUpdate&& value) { SetExcludes(std::move(value)); return *this;} private: S3ClassificationScopeExclusionUpdate m_excludes; bool m_excludesHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws