7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
9#include <aws/iottwinmaker/model/DataValue.h>
20namespace IoTTwinMaker {
42 template <
typename ValueT = DataValue>
44 m_valueHasBeenSet =
true;
45 m_value = std::forward<ValueT>(value);
47 template <
typename ValueT = DataValue>
49 SetValue(std::forward<ValueT>(value));
70 template <
typename TimeT = Aws::String>
72 m_timeHasBeenSet =
true;
73 m_time = std::forward<TimeT>(value);
75 template <
typename TimeT = Aws::String>
77 SetTime(std::forward<TimeT>(value));
85 bool m_valueHasBeenSet =
false;
86 bool m_timeHasBeenSet =
false;
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const DataValue & GetValue() const
bool TimeHasBeenSet() const
AWS_IOTTWINMAKER_API PropertyValue()=default
PropertyValue & WithTime(TimeT &&value)
void SetTime(TimeT &&value)
void SetValue(ValueT &&value)
bool ValueHasBeenSet() const
AWS_IOTTWINMAKER_API PropertyValue & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTime() const
PropertyValue & WithValue(ValueT &&value)
AWS_IOTTWINMAKER_API PropertyValue(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue