7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
10#include <aws/iottwinmaker/model/DataType.h>
11#include <aws/iottwinmaker/model/DataValue.h>
22namespace IoTTwinMaker {
44 template <
typename DataTypeT = DataType>
46 m_dataTypeHasBeenSet =
true;
47 m_dataType = std::forward<DataTypeT>(value);
49 template <
typename DataTypeT = DataType>
64 m_isTimeSeriesHasBeenSet =
true;
65 m_isTimeSeries = value;
81 m_isRequiredInEntityHasBeenSet =
true;
82 m_isRequiredInEntity = value;
98 m_isExternalIdHasBeenSet =
true;
99 m_isExternalId = value;
114 m_isStoredExternallyHasBeenSet =
true;
115 m_isStoredExternally = value;
131 m_isImportedHasBeenSet =
true;
132 m_isImported = value;
148 m_isFinalHasBeenSet =
true;
165 m_isInheritedHasBeenSet =
true;
166 m_isInherited = value;
180 template <
typename DefaultValueT = DataValue>
182 m_defaultValueHasBeenSet =
true;
183 m_defaultValue = std::forward<DefaultValueT>(value);
185 template <
typename DefaultValueT = DataValue>
198 template <
typename ConfigurationT = Aws::Map<Aws::String, Aws::String>>
200 m_configurationHasBeenSet =
true;
201 m_configuration = std::forward<ConfigurationT>(value);
203 template <
typename ConfigurationT = Aws::Map<Aws::String, Aws::String>>
208 template <
typename ConfigurationKeyT = Aws::String,
typename ConfigurationValueT = Aws::String>
210 m_configurationHasBeenSet =
true;
211 m_configuration.emplace(std::forward<ConfigurationKeyT>(key), std::forward<ConfigurationValueT>(value));
222 template <
typename DisplayNameT = Aws::String>
224 m_displayNameHasBeenSet =
true;
225 m_displayName = std::forward<DisplayNameT>(value);
227 template <
typename DisplayNameT = Aws::String>
236 bool m_isTimeSeries{
false};
238 bool m_isRequiredInEntity{
false};
240 bool m_isExternalId{
false};
242 bool m_isStoredExternally{
false};
244 bool m_isImported{
false};
246 bool m_isFinal{
false};
248 bool m_isInherited{
false};
250 DataValue m_defaultValue;
255 bool m_dataTypeHasBeenSet =
false;
256 bool m_isTimeSeriesHasBeenSet =
false;
257 bool m_isRequiredInEntityHasBeenSet =
false;
258 bool m_isExternalIdHasBeenSet =
false;
259 bool m_isStoredExternallyHasBeenSet =
false;
260 bool m_isImportedHasBeenSet =
false;
261 bool m_isFinalHasBeenSet =
false;
262 bool m_isInheritedHasBeenSet =
false;
263 bool m_defaultValueHasBeenSet =
false;
264 bool m_configurationHasBeenSet =
false;
265 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