7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/model/DataValue.h>
9#include <aws/iottwinmaker/model/PropertyDefinitionRequest.h>
10#include <aws/iottwinmaker/model/PropertyUpdateType.h>
21namespace IoTTwinMaker {
43 template <
typename DefinitionT = PropertyDefinitionRequest>
45 m_definitionHasBeenSet =
true;
46 m_definition = std::forward<DefinitionT>(value);
48 template <
typename DefinitionT = PropertyDefinitionRequest>
61 template <
typename ValueT = DataValue>
63 m_valueHasBeenSet =
true;
64 m_value = std::forward<ValueT>(value);
66 template <
typename ValueT = DataValue>
68 SetValue(std::forward<ValueT>(value));
80 m_updateTypeHasBeenSet =
true;
94 bool m_definitionHasBeenSet =
false;
95 bool m_valueHasBeenSet =
false;
96 bool m_updateTypeHasBeenSet =
false;
bool UpdateTypeHasBeenSet() const
void SetUpdateType(PropertyUpdateType value)
const DataValue & GetValue() const
const PropertyDefinitionRequest & GetDefinition() const
PropertyRequest & WithDefinition(DefinitionT &&value)
AWS_IOTTWINMAKER_API PropertyRequest()=default
PropertyUpdateType GetUpdateType() const
PropertyRequest & WithValue(ValueT &&value)
void SetDefinition(DefinitionT &&value)
AWS_IOTTWINMAKER_API PropertyRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
PropertyRequest & WithUpdateType(PropertyUpdateType value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ValueHasBeenSet() const
bool DefinitionHasBeenSet() const
void SetValue(ValueT &&value)
AWS_IOTTWINMAKER_API PropertyRequest(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue