7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/model/DataValue.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename ValueT = DataValue>
49 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
50 template<
typename ValueT = DataValue>
70 template<
typename TimeT = Aws::String>
71 void SetTime(TimeT&& value) { m_timeHasBeenSet =
true; m_time = std::forward<TimeT>(value); }
72 template<
typename TimeT = Aws::String>
78 bool m_valueHasBeenSet =
false;
81 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