/** * 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 refine the * scope of a classification job. These conditions define criteria that determine * which objects a job analyzes.

See Also:

AWS API * Reference

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

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

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

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

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

The property- or 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- or 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- or tag-based conditions that determine which objects to exclude * from the analysis.

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

The property- or 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- or tag-based conditions that determine which objects to include * in the analysis.

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

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

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

The property- or 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- or 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- or tag-based conditions that determine which objects to include * in the analysis.

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

The property- or 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; JobScopingBlock m_includes; bool m_includesHasBeenSet; }; } // namespace Model } // namespace Macie2 } // namespace Aws