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

Represents the output of a GetObjectAttributes response * operation.

See Also:

AWS * API Reference

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

The attribute values that are associated with an object.

*/ inline const Aws::Vector& GetAttributes() const{ return m_attributes; } /** *

The attribute values that are associated with an object.

*/ inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; } /** *

The attribute values that are associated with an object.

*/ inline void SetAttributes(const Aws::Vector& value) { m_attributesHasBeenSet = true; m_attributes = value; } /** *

The attribute values that are associated with an object.

*/ inline void SetAttributes(Aws::Vector&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); } /** *

The attribute values that are associated with an object.

*/ inline BatchGetObjectAttributesResponse& WithAttributes(const Aws::Vector& value) { SetAttributes(value); return *this;} /** *

The attribute values that are associated with an object.

*/ inline BatchGetObjectAttributesResponse& WithAttributes(Aws::Vector&& value) { SetAttributes(std::move(value)); return *this;} /** *

The attribute values that are associated with an object.

*/ inline BatchGetObjectAttributesResponse& AddAttributes(const AttributeKeyAndValue& value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; } /** *

The attribute values that are associated with an object.

*/ inline BatchGetObjectAttributesResponse& AddAttributes(AttributeKeyAndValue&& value) { m_attributesHasBeenSet = true; m_attributes.push_back(std::move(value)); return *this; } private: Aws::Vector m_attributes; bool m_attributesHasBeenSet = false; }; } // namespace Model } // namespace CloudDirectory } // namespace Aws