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

Retrieves metadata about an object inside a BatchRead operation. For * more information, see GetObjectInformation and * BatchReadRequest$Operations.

See Also:

AWS * API Reference

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

A reference to the object.

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

A reference to the object.

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

A reference to the object.

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

A reference to the object.

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

A reference to the object.

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

A reference to the object.

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