/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The combination of an attribute key and an attribute value.See
* Also:
AWS
* API Reference
The key of the attribute.
*/ inline const AttributeKey& GetKey() const{ return m_key; } /** *The key of the attribute.
*/ inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } /** *The key of the attribute.
*/ inline void SetKey(const AttributeKey& value) { m_keyHasBeenSet = true; m_key = value; } /** *The key of the attribute.
*/ inline void SetKey(AttributeKey&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } /** *The key of the attribute.
*/ inline AttributeKeyAndValue& WithKey(const AttributeKey& value) { SetKey(value); return *this;} /** *The key of the attribute.
*/ inline AttributeKeyAndValue& WithKey(AttributeKey&& value) { SetKey(std::move(value)); return *this;} /** *The value of the attribute.
*/ inline const TypedAttributeValue& GetValue() const{ return m_value; } /** *The value of the attribute.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The value of the attribute.
*/ inline void SetValue(const TypedAttributeValue& value) { m_valueHasBeenSet = true; m_value = value; } /** *The value of the attribute.
*/ inline void SetValue(TypedAttributeValue&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *The value of the attribute.
*/ inline AttributeKeyAndValue& WithValue(const TypedAttributeValue& value) { SetValue(value); return *this;} /** *The value of the attribute.
*/ inline AttributeKeyAndValue& WithValue(TypedAttributeValue&& value) { SetValue(std::move(value)); return *this;} private: AttributeKey m_key; bool m_keyHasBeenSet = false; TypedAttributeValue m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace CloudDirectory } // namespace Aws