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

A batch operation to remove a facet from an object.

See Also:

* AWS * API Reference

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

The facet to remove from the object.

*/ inline const SchemaFacet& GetSchemaFacet() const{ return m_schemaFacet; } /** *

The facet to remove from the object.

*/ inline bool SchemaFacetHasBeenSet() const { return m_schemaFacetHasBeenSet; } /** *

The facet to remove from the object.

*/ inline void SetSchemaFacet(const SchemaFacet& value) { m_schemaFacetHasBeenSet = true; m_schemaFacet = value; } /** *

The facet to remove from the object.

*/ inline void SetSchemaFacet(SchemaFacet&& value) { m_schemaFacetHasBeenSet = true; m_schemaFacet = std::move(value); } /** *

The facet to remove from the object.

*/ inline BatchRemoveFacetFromObject& WithSchemaFacet(const SchemaFacet& value) { SetSchemaFacet(value); return *this;} /** *

The facet to remove from the object.

*/ inline BatchRemoveFacetFromObject& WithSchemaFacet(SchemaFacet&& value) { SetSchemaFacet(std::move(value)); return *this;} /** *

A reference to the object whose facet will be removed.

*/ inline const ObjectReference& GetObjectReference() const{ return m_objectReference; } /** *

A reference to the object whose facet will be removed.

*/ inline bool ObjectReferenceHasBeenSet() const { return m_objectReferenceHasBeenSet; } /** *

A reference to the object whose facet will be removed.

*/ inline void SetObjectReference(const ObjectReference& value) { m_objectReferenceHasBeenSet = true; m_objectReference = value; } /** *

A reference to the object whose facet will be removed.

*/ inline void SetObjectReference(ObjectReference&& value) { m_objectReferenceHasBeenSet = true; m_objectReference = std::move(value); } /** *

A reference to the object whose facet will be removed.

*/ inline BatchRemoveFacetFromObject& WithObjectReference(const ObjectReference& value) { SetObjectReference(value); return *this;} /** *

A reference to the object whose facet will be removed.

*/ inline BatchRemoveFacetFromObject& WithObjectReference(ObjectReference&& value) { SetObjectReference(std::move(value)); return *this;} private: SchemaFacet m_schemaFacet; bool m_schemaFacetHasBeenSet = false; ObjectReference m_objectReference; bool m_objectReferenceHasBeenSet = false; }; } // namespace Model } // namespace CloudDirectory } // namespace Aws