7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/model/DataType.h>
9#include <aws/iottwinmaker/model/DataValue.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
50 template<
typename DataTypeT = DataType>
51 void SetDataType(DataTypeT&& value) { m_dataTypeHasBeenSet =
true; m_dataType = std::forward<DataTypeT>(value); }
52 template<
typename DataTypeT = DataType>
63 inline void SetIsTimeSeries(
bool value) { m_isTimeSeriesHasBeenSet =
true; m_isTimeSeries = value; }
74 inline void SetIsRequiredInEntity(
bool value) { m_isRequiredInEntityHasBeenSet =
true; m_isRequiredInEntity = value; }
85 inline void SetIsExternalId(
bool value) { m_isExternalIdHasBeenSet =
true; m_isExternalId = value; }
95 inline void SetIsStoredExternally(
bool value) { m_isStoredExternallyHasBeenSet =
true; m_isStoredExternally = value; }
106 inline void SetIsImported(
bool value) { m_isImportedHasBeenSet =
true; m_isImported = value; }
117 inline void SetIsFinal(
bool value) { m_isFinalHasBeenSet =
true; m_isFinal = value; }
128 inline void SetIsInherited(
bool value) { m_isInheritedHasBeenSet =
true; m_isInherited = value; }
138 template<
typename DefaultValueT = DataValue>
139 void SetDefaultValue(DefaultValueT&& value) { m_defaultValueHasBeenSet =
true; m_defaultValue = std::forward<DefaultValueT>(value); }
140 template<
typename DefaultValueT = DataValue>
150 template<
typename ConfigurationT = Aws::Map<Aws::String, Aws::String>>
151 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet =
true; m_configuration = std::forward<ConfigurationT>(value); }
152 template<
typename ConfigurationT = Aws::Map<Aws::String, Aws::String>>
154 template<
typename ConfigurationKeyT = Aws::String,
typename ConfigurationValueT = Aws::String>
156 m_configurationHasBeenSet =
true; m_configuration.emplace(std::forward<ConfigurationKeyT>(key), std::forward<ConfigurationValueT>(value));
return *
this;
166 template<
typename DisplayNameT = Aws::String>
167 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
168 template<
typename DisplayNameT = Aws::String>
174 bool m_dataTypeHasBeenSet =
false;
176 bool m_isTimeSeries{
false};
177 bool m_isTimeSeriesHasBeenSet =
false;
179 bool m_isRequiredInEntity{
false};
180 bool m_isRequiredInEntityHasBeenSet =
false;
182 bool m_isExternalId{
false};
183 bool m_isExternalIdHasBeenSet =
false;
185 bool m_isStoredExternally{
false};
186 bool m_isStoredExternallyHasBeenSet =
false;
188 bool m_isImported{
false};
189 bool m_isImportedHasBeenSet =
false;
191 bool m_isFinal{
false};
192 bool m_isFinalHasBeenSet =
false;
194 bool m_isInherited{
false};
195 bool m_isInheritedHasBeenSet =
false;
197 DataValue m_defaultValue;
198 bool m_defaultValueHasBeenSet =
false;
201 bool m_configurationHasBeenSet =
false;
204 bool m_displayNameHasBeenSet =
false;
PropertyDefinitionResponse & AddConfiguration(ConfigurationKeyT &&key, ConfigurationValueT &&value)
bool GetIsExternalId() const
PropertyDefinitionResponse & WithDisplayName(DisplayNameT &&value)
void SetDisplayName(DisplayNameT &&value)
void SetDefaultValue(DefaultValueT &&value)
bool GetIsRequiredInEntity() const
const Aws::Map< Aws::String, Aws::String > & GetConfiguration() const
PropertyDefinitionResponse & WithIsTimeSeries(bool value)
AWS_IOTTWINMAKER_API PropertyDefinitionResponse()=default
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIsFinal(bool value)
bool IsExternalIdHasBeenSet() const
bool IsTimeSeriesHasBeenSet() const
PropertyDefinitionResponse & WithIsInherited(bool value)
AWS_IOTTWINMAKER_API PropertyDefinitionResponse(Aws::Utils::Json::JsonView jsonValue)
bool IsRequiredInEntityHasBeenSet() const
bool GetIsImported() const
bool GetIsStoredExternally() const
PropertyDefinitionResponse & WithConfiguration(ConfigurationT &&value)
bool DefaultValueHasBeenSet() const
PropertyDefinitionResponse & WithDefaultValue(DefaultValueT &&value)
const DataValue & GetDefaultValue() const
void SetIsRequiredInEntity(bool value)
bool GetIsInherited() const
void SetIsTimeSeries(bool value)
bool IsImportedHasBeenSet() const
PropertyDefinitionResponse & WithIsStoredExternally(bool value)
void SetIsInherited(bool value)
void SetConfiguration(ConfigurationT &&value)
const DataType & GetDataType() const
bool DataTypeHasBeenSet() const
bool IsInheritedHasBeenSet() const
PropertyDefinitionResponse & WithIsExternalId(bool value)
PropertyDefinitionResponse & WithIsFinal(bool value)
void SetIsImported(bool value)
bool ConfigurationHasBeenSet() const
bool DisplayNameHasBeenSet() const
bool GetIsTimeSeries() const
PropertyDefinitionResponse & WithIsRequiredInEntity(bool value)
AWS_IOTTWINMAKER_API PropertyDefinitionResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDisplayName() const
PropertyDefinitionResponse & WithIsImported(bool value)
bool IsFinalHasBeenSet() const
bool IsStoredExternallyHasBeenSet() const
void SetIsStoredExternally(bool value)
void SetIsExternalId(bool value)
void SetDataType(DataTypeT &&value)
PropertyDefinitionResponse & WithDataType(DataTypeT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue