/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A toggle for an individual feature at the instance level.See
* Also:
AWS
* API Reference
The type of attribute.
*/ inline const InstanceAttributeType& GetAttributeType() const{ return m_attributeType; } /** *The type of attribute.
*/ inline bool AttributeTypeHasBeenSet() const { return m_attributeTypeHasBeenSet; } /** *The type of attribute.
*/ inline void SetAttributeType(const InstanceAttributeType& value) { m_attributeTypeHasBeenSet = true; m_attributeType = value; } /** *The type of attribute.
*/ inline void SetAttributeType(InstanceAttributeType&& value) { m_attributeTypeHasBeenSet = true; m_attributeType = std::move(value); } /** *The type of attribute.
*/ inline Attribute& WithAttributeType(const InstanceAttributeType& value) { SetAttributeType(value); return *this;} /** *The type of attribute.
*/ inline Attribute& WithAttributeType(InstanceAttributeType&& value) { SetAttributeType(std::move(value)); return *this;} /** *The value of the attribute.
*/ inline const Aws::String& 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 Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *The value of the attribute.
*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *The value of the attribute.
*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *The value of the attribute.
*/ inline Attribute& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *The value of the attribute.
*/ inline Attribute& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *The value of the attribute.
*/ inline Attribute& WithValue(const char* value) { SetValue(value); return *this;} private: InstanceAttributeType m_attributeType; bool m_attributeTypeHasBeenSet = false; Aws::String m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws