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

See Also:

AWS * API Reference

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

The attributes that are associated with the typed link.

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

The attributes that are associated with the typed link.

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

The attributes that are associated with the typed link.

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

The attributes that are associated with the typed link.

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

The attributes that are associated with the typed link.

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

The attributes that are associated with the typed link.

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

The attributes that are associated with the typed link.

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

The attributes that are associated with the typed link.

*/ inline BatchGetLinkAttributesResponse& 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