/** * 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 one or more property- and tag-based conditions that define criteria * for including or excluding S3 objects from a classification job. Exclude * conditions take precedence over include conditions.

See Also:

* AWS * API Reference

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

The property- and tag-based conditions that determine which objects to * exclude from the analysis.

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

The property- and tag-based conditions that determine which objects to * exclude from the analysis.

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

The property- and tag-based conditions that determine which objects to * exclude from the analysis.

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

The property- and tag-based conditions that determine which objects to * exclude from the analysis.

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

The property- and tag-based conditions that determine which objects to * exclude from the analysis.

*/ inline Scoping& WithExcludes(const JobScopingBlock& value) { SetExcludes(value); return *this;} /** *

The property- and tag-based conditions that determine which objects to * exclude from the analysis.

*/ inline Scoping& WithExcludes(JobScopingBlock&& value) { SetExcludes(std::move(value)); return *this;} /** *

The property- and tag-based conditions that determine which objects to * include in the analysis.

*/ inline const JobScopingBlock& GetIncludes() const{ return m_includes; } /** *

The property- and tag-based conditions that determine which objects to * include in the analysis.

*/ inline bool IncludesHasBeenSet() const { return m_includesHasBeenSet; } /** *

The property- and tag-based conditions that determine which objects to * include in the analysis.

*/ inline void SetIncludes(const JobScopingBlock& value) { m_includesHasBeenSet = true; m_includes = value; } /** *

The property- and tag-based conditions that determine which objects to * include in the analysis.

*/ inline void SetIncludes(JobScopingBlock&& value) { m_includesHasBeenSet = true; m_includes = std::move(value); } /** *

The property- and tag-based conditions that determine which objects to * include in the analysis.

*/ inline Scoping& WithIncludes(const JobScopingBlock& value) { SetIncludes(value); return *this;} /** *

The property- and tag-based conditions that determine which objects to * include in the analysis.

*/ inline Scoping& WithIncludes(JobScopingBlock&& value) { SetIncludes(std::move(value)); return *this;} private: JobScopingBlock m_excludes; bool m_excludesHasBeenSet = false; JobScopingBlock m_includes; bool m_includesHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws