/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Identifies the attribute name and value for a typed link.See
* Also:
AWS
* API Reference
The attribute name of the typed link.
*/ inline const Aws::String& GetAttributeName() const{ return m_attributeName; } /** *The attribute name of the typed link.
*/ inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; } /** *The attribute name of the typed link.
*/ inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; } /** *The attribute name of the typed link.
*/ inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); } /** *The attribute name of the typed link.
*/ inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); } /** *The attribute name of the typed link.
*/ inline AttributeNameAndValue& WithAttributeName(const Aws::String& value) { SetAttributeName(value); return *this;} /** *The attribute name of the typed link.
*/ inline AttributeNameAndValue& WithAttributeName(Aws::String&& value) { SetAttributeName(std::move(value)); return *this;} /** *The attribute name of the typed link.
*/ inline AttributeNameAndValue& WithAttributeName(const char* value) { SetAttributeName(value); return *this;} /** *The value for the typed link.
*/ inline const TypedAttributeValue& GetValue() const{ return m_value; } /** *The value for the typed link.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The value for the typed link.
*/ inline void SetValue(const TypedAttributeValue& value) { m_valueHasBeenSet = true; m_value = value; } /** *The value for the typed link.
*/ inline void SetValue(TypedAttributeValue&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *The value for the typed link.
*/ inline AttributeNameAndValue& WithValue(const TypedAttributeValue& value) { SetValue(value); return *this;} /** *The value for the typed link.
*/ inline AttributeNameAndValue& WithValue(TypedAttributeValue&& value) { SetValue(std::move(value)); return *this;} private: Aws::String m_attributeName; bool m_attributeNameHasBeenSet = false; TypedAttributeValue m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace CloudDirectory } // namespace Aws