/** * 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 AttachToIndex response * operation.

See Also:

AWS * API Reference

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

The ObjectIdentifier of the object that was attached to the * index.

*/ inline const Aws::String& GetAttachedObjectIdentifier() const{ return m_attachedObjectIdentifier; } /** *

The ObjectIdentifier of the object that was attached to the * index.

*/ inline bool AttachedObjectIdentifierHasBeenSet() const { return m_attachedObjectIdentifierHasBeenSet; } /** *

The ObjectIdentifier of the object that was attached to the * index.

*/ inline void SetAttachedObjectIdentifier(const Aws::String& value) { m_attachedObjectIdentifierHasBeenSet = true; m_attachedObjectIdentifier = value; } /** *

The ObjectIdentifier of the object that was attached to the * index.

*/ inline void SetAttachedObjectIdentifier(Aws::String&& value) { m_attachedObjectIdentifierHasBeenSet = true; m_attachedObjectIdentifier = std::move(value); } /** *

The ObjectIdentifier of the object that was attached to the * index.

*/ inline void SetAttachedObjectIdentifier(const char* value) { m_attachedObjectIdentifierHasBeenSet = true; m_attachedObjectIdentifier.assign(value); } /** *

The ObjectIdentifier of the object that was attached to the * index.

*/ inline BatchAttachToIndexResponse& WithAttachedObjectIdentifier(const Aws::String& value) { SetAttachedObjectIdentifier(value); return *this;} /** *

The ObjectIdentifier of the object that was attached to the * index.

*/ inline BatchAttachToIndexResponse& WithAttachedObjectIdentifier(Aws::String&& value) { SetAttachedObjectIdentifier(std::move(value)); return *this;} /** *

The ObjectIdentifier of the object that was attached to the * index.

*/ inline BatchAttachToIndexResponse& WithAttachedObjectIdentifier(const char* value) { SetAttachedObjectIdentifier(value); return *this;} private: Aws::String m_attachedObjectIdentifier; bool m_attachedObjectIdentifierHasBeenSet = false; }; } // namespace Model } // namespace CloudDirectory } // namespace Aws