/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that contains information about a property response.See
* Also:
AWS
* API Reference
An object that specifies information about a property.
*/ inline const PropertyDefinitionResponse& GetDefinition() const{ return m_definition; } /** *An object that specifies information about a property.
*/ inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; } /** *An object that specifies information about a property.
*/ inline void SetDefinition(const PropertyDefinitionResponse& value) { m_definitionHasBeenSet = true; m_definition = value; } /** *An object that specifies information about a property.
*/ inline void SetDefinition(PropertyDefinitionResponse&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); } /** *An object that specifies information about a property.
*/ inline PropertyResponse& WithDefinition(const PropertyDefinitionResponse& value) { SetDefinition(value); return *this;} /** *An object that specifies information about a property.
*/ inline PropertyResponse& WithDefinition(PropertyDefinitionResponse&& value) { SetDefinition(std::move(value)); return *this;} /** *The value of the property.
*/ inline const DataValue& GetValue() const{ return m_value; } /** *The value of the property.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The value of the property.
*/ inline void SetValue(const DataValue& value) { m_valueHasBeenSet = true; m_value = value; } /** *The value of the property.
*/ inline void SetValue(DataValue&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *The value of the property.
*/ inline PropertyResponse& WithValue(const DataValue& value) { SetValue(value); return *this;} /** *The value of the property.
*/ inline PropertyResponse& WithValue(DataValue&& value) { SetValue(std::move(value)); return *this;} private: PropertyDefinitionResponse m_definition; bool m_definitionHasBeenSet = false; DataValue m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace IoTTwinMaker } // namespace Aws