/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A range of attributes.See Also:
AWS
* API Reference
The key of the attribute that the attribute range covers.
*/ inline const AttributeKey& GetAttributeKey() const{ return m_attributeKey; } /** *The key of the attribute that the attribute range covers.
*/ inline bool AttributeKeyHasBeenSet() const { return m_attributeKeyHasBeenSet; } /** *The key of the attribute that the attribute range covers.
*/ inline void SetAttributeKey(const AttributeKey& value) { m_attributeKeyHasBeenSet = true; m_attributeKey = value; } /** *The key of the attribute that the attribute range covers.
*/ inline void SetAttributeKey(AttributeKey&& value) { m_attributeKeyHasBeenSet = true; m_attributeKey = std::move(value); } /** *The key of the attribute that the attribute range covers.
*/ inline ObjectAttributeRange& WithAttributeKey(const AttributeKey& value) { SetAttributeKey(value); return *this;} /** *The key of the attribute that the attribute range covers.
*/ inline ObjectAttributeRange& WithAttributeKey(AttributeKey&& value) { SetAttributeKey(std::move(value)); return *this;} /** *The range of attribute values being selected.
*/ inline const TypedAttributeValueRange& GetRange() const{ return m_range; } /** *The range of attribute values being selected.
*/ inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; } /** *The range of attribute values being selected.
*/ inline void SetRange(const TypedAttributeValueRange& value) { m_rangeHasBeenSet = true; m_range = value; } /** *The range of attribute values being selected.
*/ inline void SetRange(TypedAttributeValueRange&& value) { m_rangeHasBeenSet = true; m_range = std::move(value); } /** *The range of attribute values being selected.
*/ inline ObjectAttributeRange& WithRange(const TypedAttributeValueRange& value) { SetRange(value); return *this;} /** *The range of attribute values being selected.
*/ inline ObjectAttributeRange& WithRange(TypedAttributeValueRange&& value) { SetRange(std::move(value)); return *this;} private: AttributeKey m_attributeKey; bool m_attributeKeyHasBeenSet = false; TypedAttributeValueRange m_range; bool m_rangeHasBeenSet = false; }; } // namespace Model } // namespace CloudDirectory } // namespace Aws