/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that sets information about a property.See Also:
* AWS
* API Reference
An object that contains information about the data type.
*/ inline const DataType& GetDataType() const{ return m_dataType; } /** *An object that contains information about the data type.
*/ inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; } /** *An object that contains information about the data type.
*/ inline void SetDataType(const DataType& value) { m_dataTypeHasBeenSet = true; m_dataType = value; } /** *An object that contains information about the data type.
*/ inline void SetDataType(DataType&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); } /** *An object that contains information about the data type.
*/ inline PropertyDefinitionRequest& WithDataType(const DataType& value) { SetDataType(value); return *this;} /** *An object that contains information about the data type.
*/ inline PropertyDefinitionRequest& WithDataType(DataType&& value) { SetDataType(std::move(value)); return *this;} /** *A Boolean value that specifies whether the property is required.
*/ inline bool GetIsRequiredInEntity() const{ return m_isRequiredInEntity; } /** *A Boolean value that specifies whether the property is required.
*/ inline bool IsRequiredInEntityHasBeenSet() const { return m_isRequiredInEntityHasBeenSet; } /** *A Boolean value that specifies whether the property is required.
*/ inline void SetIsRequiredInEntity(bool value) { m_isRequiredInEntityHasBeenSet = true; m_isRequiredInEntity = value; } /** *A Boolean value that specifies whether the property is required.
*/ inline PropertyDefinitionRequest& WithIsRequiredInEntity(bool value) { SetIsRequiredInEntity(value); return *this;} /** *A Boolean value that specifies whether the property ID comes from an external * data store.
*/ inline bool GetIsExternalId() const{ return m_isExternalId; } /** *A Boolean value that specifies whether the property ID comes from an external * data store.
*/ inline bool IsExternalIdHasBeenSet() const { return m_isExternalIdHasBeenSet; } /** *A Boolean value that specifies whether the property ID comes from an external * data store.
*/ inline void SetIsExternalId(bool value) { m_isExternalIdHasBeenSet = true; m_isExternalId = value; } /** *A Boolean value that specifies whether the property ID comes from an external * data store.
*/ inline PropertyDefinitionRequest& WithIsExternalId(bool value) { SetIsExternalId(value); return *this;} /** *A Boolean value that specifies whether the property is stored externally.
*/ inline bool GetIsStoredExternally() const{ return m_isStoredExternally; } /** *A Boolean value that specifies whether the property is stored externally.
*/ inline bool IsStoredExternallyHasBeenSet() const { return m_isStoredExternallyHasBeenSet; } /** *A Boolean value that specifies whether the property is stored externally.
*/ inline void SetIsStoredExternally(bool value) { m_isStoredExternallyHasBeenSet = true; m_isStoredExternally = value; } /** *A Boolean value that specifies whether the property is stored externally.
*/ inline PropertyDefinitionRequest& WithIsStoredExternally(bool value) { SetIsStoredExternally(value); return *this;} /** *A Boolean value that specifies whether the property consists of time series * data.
*/ inline bool GetIsTimeSeries() const{ return m_isTimeSeries; } /** *A Boolean value that specifies whether the property consists of time series * data.
*/ inline bool IsTimeSeriesHasBeenSet() const { return m_isTimeSeriesHasBeenSet; } /** *A Boolean value that specifies whether the property consists of time series * data.
*/ inline void SetIsTimeSeries(bool value) { m_isTimeSeriesHasBeenSet = true; m_isTimeSeries = value; } /** *A Boolean value that specifies whether the property consists of time series * data.
*/ inline PropertyDefinitionRequest& WithIsTimeSeries(bool value) { SetIsTimeSeries(value); return *this;} /** *An object that contains the default value.
*/ inline const DataValue& GetDefaultValue() const{ return m_defaultValue; } /** *An object that contains the default value.
*/ inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; } /** *An object that contains the default value.
*/ inline void SetDefaultValue(const DataValue& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; } /** *An object that contains the default value.
*/ inline void SetDefaultValue(DataValue&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); } /** *An object that contains the default value.
*/ inline PropertyDefinitionRequest& WithDefaultValue(const DataValue& value) { SetDefaultValue(value); return *this;} /** *An object that contains the default value.
*/ inline PropertyDefinitionRequest& WithDefaultValue(DataValue&& value) { SetDefaultValue(std::move(value)); return *this;} /** *A mapping that specifies configuration information about the property. Use * this field to specify information that you read from and write to an external * source.
*/ inline const Aws::MapA mapping that specifies configuration information about the property. Use * this field to specify information that you read from and write to an external * source.
*/ inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } /** *A mapping that specifies configuration information about the property. Use * this field to specify information that you read from and write to an external * source.
*/ inline void SetConfiguration(const Aws::MapA mapping that specifies configuration information about the property. Use * this field to specify information that you read from and write to an external * source.
*/ inline void SetConfiguration(Aws::MapA mapping that specifies configuration information about the property. Use * this field to specify information that you read from and write to an external * source.
*/ inline PropertyDefinitionRequest& WithConfiguration(const Aws::MapA mapping that specifies configuration information about the property. Use * this field to specify information that you read from and write to an external * source.
*/ inline PropertyDefinitionRequest& WithConfiguration(Aws::MapA mapping that specifies configuration information about the property. Use * this field to specify information that you read from and write to an external * source.
*/ inline PropertyDefinitionRequest& AddConfiguration(const Aws::String& key, const Aws::String& value) { m_configurationHasBeenSet = true; m_configuration.emplace(key, value); return *this; } /** *A mapping that specifies configuration information about the property. Use * this field to specify information that you read from and write to an external * source.
*/ inline PropertyDefinitionRequest& AddConfiguration(Aws::String&& key, const Aws::String& value) { m_configurationHasBeenSet = true; m_configuration.emplace(std::move(key), value); return *this; } /** *A mapping that specifies configuration information about the property. Use * this field to specify information that you read from and write to an external * source.
*/ inline PropertyDefinitionRequest& AddConfiguration(const Aws::String& key, Aws::String&& value) { m_configurationHasBeenSet = true; m_configuration.emplace(key, std::move(value)); return *this; } /** *A mapping that specifies configuration information about the property. Use * this field to specify information that you read from and write to an external * source.
*/ inline PropertyDefinitionRequest& AddConfiguration(Aws::String&& key, Aws::String&& value) { m_configurationHasBeenSet = true; m_configuration.emplace(std::move(key), std::move(value)); return *this; } /** *A mapping that specifies configuration information about the property. Use * this field to specify information that you read from and write to an external * source.
*/ inline PropertyDefinitionRequest& AddConfiguration(const char* key, Aws::String&& value) { m_configurationHasBeenSet = true; m_configuration.emplace(key, std::move(value)); return *this; } /** *A mapping that specifies configuration information about the property. Use * this field to specify information that you read from and write to an external * source.
*/ inline PropertyDefinitionRequest& AddConfiguration(Aws::String&& key, const char* value) { m_configurationHasBeenSet = true; m_configuration.emplace(std::move(key), value); return *this; } /** *A mapping that specifies configuration information about the property. Use * this field to specify information that you read from and write to an external * source.
*/ inline PropertyDefinitionRequest& AddConfiguration(const char* key, const char* value) { m_configurationHasBeenSet = true; m_configuration.emplace(key, value); return *this; } /** *A friendly name for the property.
*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *A friendly name for the property.
*/ inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } /** *A friendly name for the property.
*/ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } /** *A friendly name for the property.
*/ inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } /** *A friendly name for the property.
*/ inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } /** *A friendly name for the property.
*/ inline PropertyDefinitionRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *A friendly name for the property.
*/ inline PropertyDefinitionRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *A friendly name for the property.
*/ inline PropertyDefinitionRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} private: DataType m_dataType; bool m_dataTypeHasBeenSet = false; bool m_isRequiredInEntity; bool m_isRequiredInEntityHasBeenSet = false; bool m_isExternalId; bool m_isExternalIdHasBeenSet = false; bool m_isStoredExternally; bool m_isStoredExternallyHasBeenSet = false; bool m_isTimeSeries; bool m_isTimeSeriesHasBeenSet = false; DataValue m_defaultValue; bool m_defaultValueHasBeenSet = false; Aws::Map