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

Represents the output of a DeleteObject operation.

See * Also:

AWS * API Reference

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

The reference that identifies the object.

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

The reference that identifies the object.

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

The reference that identifies the object.

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

The reference that identifies the object.

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

The reference that identifies the object.

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

The reference that identifies the object.

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