/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoTTwinMaker { namespace Model { /** *

An object that specifies information about time series property values. This * object is used and consumed by the BatchPutPropertyValues * action.

See Also:

AWS * API Reference

*/ class PropertyValueEntry { public: AWS_IOTTWINMAKER_API PropertyValueEntry(); AWS_IOTTWINMAKER_API PropertyValueEntry(Aws::Utils::Json::JsonView jsonValue); AWS_IOTTWINMAKER_API PropertyValueEntry& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

An object that contains information about the entity that has the * property.

*/ inline const EntityPropertyReference& GetEntityPropertyReference() const{ return m_entityPropertyReference; } /** *

An object that contains information about the entity that has the * property.

*/ inline bool EntityPropertyReferenceHasBeenSet() const { return m_entityPropertyReferenceHasBeenSet; } /** *

An object that contains information about the entity that has the * property.

*/ inline void SetEntityPropertyReference(const EntityPropertyReference& value) { m_entityPropertyReferenceHasBeenSet = true; m_entityPropertyReference = value; } /** *

An object that contains information about the entity that has the * property.

*/ inline void SetEntityPropertyReference(EntityPropertyReference&& value) { m_entityPropertyReferenceHasBeenSet = true; m_entityPropertyReference = std::move(value); } /** *

An object that contains information about the entity that has the * property.

*/ inline PropertyValueEntry& WithEntityPropertyReference(const EntityPropertyReference& value) { SetEntityPropertyReference(value); return *this;} /** *

An object that contains information about the entity that has the * property.

*/ inline PropertyValueEntry& WithEntityPropertyReference(EntityPropertyReference&& value) { SetEntityPropertyReference(std::move(value)); return *this;} /** *

A list of objects that specify time series property values.

*/ inline const Aws::Vector& GetPropertyValues() const{ return m_propertyValues; } /** *

A list of objects that specify time series property values.

*/ inline bool PropertyValuesHasBeenSet() const { return m_propertyValuesHasBeenSet; } /** *

A list of objects that specify time series property values.

*/ inline void SetPropertyValues(const Aws::Vector& value) { m_propertyValuesHasBeenSet = true; m_propertyValues = value; } /** *

A list of objects that specify time series property values.

*/ inline void SetPropertyValues(Aws::Vector&& value) { m_propertyValuesHasBeenSet = true; m_propertyValues = std::move(value); } /** *

A list of objects that specify time series property values.

*/ inline PropertyValueEntry& WithPropertyValues(const Aws::Vector& value) { SetPropertyValues(value); return *this;} /** *

A list of objects that specify time series property values.

*/ inline PropertyValueEntry& WithPropertyValues(Aws::Vector&& value) { SetPropertyValues(std::move(value)); return *this;} /** *

A list of objects that specify time series property values.

*/ inline PropertyValueEntry& AddPropertyValues(const PropertyValue& value) { m_propertyValuesHasBeenSet = true; m_propertyValues.push_back(value); return *this; } /** *

A list of objects that specify time series property values.

*/ inline PropertyValueEntry& AddPropertyValues(PropertyValue&& value) { m_propertyValuesHasBeenSet = true; m_propertyValues.push_back(std::move(value)); return *this; } private: EntityPropertyReference m_entityPropertyReference; bool m_entityPropertyReferenceHasBeenSet = false; Aws::Vector m_propertyValues; bool m_propertyValuesHasBeenSet = false; }; } // namespace Model } // namespace IoTTwinMaker } // namespace Aws