/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoTSiteWise { namespace Model { class DescribeTimeSeriesResult { public: AWS_IOTSITEWISE_API DescribeTimeSeriesResult(); AWS_IOTSITEWISE_API DescribeTimeSeriesResult(const Aws::AmazonWebServiceResult& result); AWS_IOTSITEWISE_API DescribeTimeSeriesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the asset in which the asset property was created.

*/ inline const Aws::String& GetAssetId() const{ return m_assetId; } /** *

The ID of the asset in which the asset property was created.

*/ inline void SetAssetId(const Aws::String& value) { m_assetId = value; } /** *

The ID of the asset in which the asset property was created.

*/ inline void SetAssetId(Aws::String&& value) { m_assetId = std::move(value); } /** *

The ID of the asset in which the asset property was created.

*/ inline void SetAssetId(const char* value) { m_assetId.assign(value); } /** *

The ID of the asset in which the asset property was created.

*/ inline DescribeTimeSeriesResult& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;} /** *

The ID of the asset in which the asset property was created.

*/ inline DescribeTimeSeriesResult& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;} /** *

The ID of the asset in which the asset property was created.

*/ inline DescribeTimeSeriesResult& WithAssetId(const char* value) { SetAssetId(value); return *this;} /** *

The ID of the asset property.

*/ inline const Aws::String& GetPropertyId() const{ return m_propertyId; } /** *

The ID of the asset property.

*/ inline void SetPropertyId(const Aws::String& value) { m_propertyId = value; } /** *

The ID of the asset property.

*/ inline void SetPropertyId(Aws::String&& value) { m_propertyId = std::move(value); } /** *

The ID of the asset property.

*/ inline void SetPropertyId(const char* value) { m_propertyId.assign(value); } /** *

The ID of the asset property.

*/ inline DescribeTimeSeriesResult& WithPropertyId(const Aws::String& value) { SetPropertyId(value); return *this;} /** *

The ID of the asset property.

*/ inline DescribeTimeSeriesResult& WithPropertyId(Aws::String&& value) { SetPropertyId(std::move(value)); return *this;} /** *

The ID of the asset property.

*/ inline DescribeTimeSeriesResult& WithPropertyId(const char* value) { SetPropertyId(value); return *this;} /** *

The alias that identifies the time series.

*/ inline const Aws::String& GetAlias() const{ return m_alias; } /** *

The alias that identifies the time series.

*/ inline void SetAlias(const Aws::String& value) { m_alias = value; } /** *

The alias that identifies the time series.

*/ inline void SetAlias(Aws::String&& value) { m_alias = std::move(value); } /** *

The alias that identifies the time series.

*/ inline void SetAlias(const char* value) { m_alias.assign(value); } /** *

The alias that identifies the time series.

*/ inline DescribeTimeSeriesResult& WithAlias(const Aws::String& value) { SetAlias(value); return *this;} /** *

The alias that identifies the time series.

*/ inline DescribeTimeSeriesResult& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;} /** *

The alias that identifies the time series.

*/ inline DescribeTimeSeriesResult& WithAlias(const char* value) { SetAlias(value); return *this;} /** *

The ID of the time series.

*/ inline const Aws::String& GetTimeSeriesId() const{ return m_timeSeriesId; } /** *

The ID of the time series.

*/ inline void SetTimeSeriesId(const Aws::String& value) { m_timeSeriesId = value; } /** *

The ID of the time series.

*/ inline void SetTimeSeriesId(Aws::String&& value) { m_timeSeriesId = std::move(value); } /** *

The ID of the time series.

*/ inline void SetTimeSeriesId(const char* value) { m_timeSeriesId.assign(value); } /** *

The ID of the time series.

*/ inline DescribeTimeSeriesResult& WithTimeSeriesId(const Aws::String& value) { SetTimeSeriesId(value); return *this;} /** *

The ID of the time series.

*/ inline DescribeTimeSeriesResult& WithTimeSeriesId(Aws::String&& value) { SetTimeSeriesId(std::move(value)); return *this;} /** *

The ID of the time series.

*/ inline DescribeTimeSeriesResult& WithTimeSeriesId(const char* value) { SetTimeSeriesId(value); return *this;} /** *

The data type of the time series.

If you specify STRUCT, * you must also specify dataTypeSpec to identify the type of the * structure for this time series.

*/ inline const PropertyDataType& GetDataType() const{ return m_dataType; } /** *

The data type of the time series.

If you specify STRUCT, * you must also specify dataTypeSpec to identify the type of the * structure for this time series.

*/ inline void SetDataType(const PropertyDataType& value) { m_dataType = value; } /** *

The data type of the time series.

If you specify STRUCT, * you must also specify dataTypeSpec to identify the type of the * structure for this time series.

*/ inline void SetDataType(PropertyDataType&& value) { m_dataType = std::move(value); } /** *

The data type of the time series.

If you specify STRUCT, * you must also specify dataTypeSpec to identify the type of the * structure for this time series.

*/ inline DescribeTimeSeriesResult& WithDataType(const PropertyDataType& value) { SetDataType(value); return *this;} /** *

The data type of the time series.

If you specify STRUCT, * you must also specify dataTypeSpec to identify the type of the * structure for this time series.

*/ inline DescribeTimeSeriesResult& WithDataType(PropertyDataType&& value) { SetDataType(std::move(value)); return *this;} /** *

The data type of the structure for this time series. This parameter is * required for time series that have the STRUCT data type.

The * options for this parameter depend on the type of the composite model in which * you created the asset property that is associated with your time series. Use * AWS/ALARM_STATE for alarm state in alarm composite models.

*/ inline const Aws::String& GetDataTypeSpec() const{ return m_dataTypeSpec; } /** *

The data type of the structure for this time series. This parameter is * required for time series that have the STRUCT data type.

The * options for this parameter depend on the type of the composite model in which * you created the asset property that is associated with your time series. Use * AWS/ALARM_STATE for alarm state in alarm composite models.

*/ inline void SetDataTypeSpec(const Aws::String& value) { m_dataTypeSpec = value; } /** *

The data type of the structure for this time series. This parameter is * required for time series that have the STRUCT data type.

The * options for this parameter depend on the type of the composite model in which * you created the asset property that is associated with your time series. Use * AWS/ALARM_STATE for alarm state in alarm composite models.

*/ inline void SetDataTypeSpec(Aws::String&& value) { m_dataTypeSpec = std::move(value); } /** *

The data type of the structure for this time series. This parameter is * required for time series that have the STRUCT data type.

The * options for this parameter depend on the type of the composite model in which * you created the asset property that is associated with your time series. Use * AWS/ALARM_STATE for alarm state in alarm composite models.

*/ inline void SetDataTypeSpec(const char* value) { m_dataTypeSpec.assign(value); } /** *

The data type of the structure for this time series. This parameter is * required for time series that have the STRUCT data type.

The * options for this parameter depend on the type of the composite model in which * you created the asset property that is associated with your time series. Use * AWS/ALARM_STATE for alarm state in alarm composite models.

*/ inline DescribeTimeSeriesResult& WithDataTypeSpec(const Aws::String& value) { SetDataTypeSpec(value); return *this;} /** *

The data type of the structure for this time series. This parameter is * required for time series that have the STRUCT data type.

The * options for this parameter depend on the type of the composite model in which * you created the asset property that is associated with your time series. Use * AWS/ALARM_STATE for alarm state in alarm composite models.

*/ inline DescribeTimeSeriesResult& WithDataTypeSpec(Aws::String&& value) { SetDataTypeSpec(std::move(value)); return *this;} /** *

The data type of the structure for this time series. This parameter is * required for time series that have the STRUCT data type.

The * options for this parameter depend on the type of the composite model in which * you created the asset property that is associated with your time series. Use * AWS/ALARM_STATE for alarm state in alarm composite models.

*/ inline DescribeTimeSeriesResult& WithDataTypeSpec(const char* value) { SetDataTypeSpec(value); return *this;} /** *

The date that the time series was created, in Unix epoch time.

*/ inline const Aws::Utils::DateTime& GetTimeSeriesCreationDate() const{ return m_timeSeriesCreationDate; } /** *

The date that the time series was created, in Unix epoch time.

*/ inline void SetTimeSeriesCreationDate(const Aws::Utils::DateTime& value) { m_timeSeriesCreationDate = value; } /** *

The date that the time series was created, in Unix epoch time.

*/ inline void SetTimeSeriesCreationDate(Aws::Utils::DateTime&& value) { m_timeSeriesCreationDate = std::move(value); } /** *

The date that the time series was created, in Unix epoch time.

*/ inline DescribeTimeSeriesResult& WithTimeSeriesCreationDate(const Aws::Utils::DateTime& value) { SetTimeSeriesCreationDate(value); return *this;} /** *

The date that the time series was created, in Unix epoch time.

*/ inline DescribeTimeSeriesResult& WithTimeSeriesCreationDate(Aws::Utils::DateTime&& value) { SetTimeSeriesCreationDate(std::move(value)); return *this;} /** *

The date that the time series was last updated, in Unix epoch time.

*/ inline const Aws::Utils::DateTime& GetTimeSeriesLastUpdateDate() const{ return m_timeSeriesLastUpdateDate; } /** *

The date that the time series was last updated, in Unix epoch time.

*/ inline void SetTimeSeriesLastUpdateDate(const Aws::Utils::DateTime& value) { m_timeSeriesLastUpdateDate = value; } /** *

The date that the time series was last updated, in Unix epoch time.

*/ inline void SetTimeSeriesLastUpdateDate(Aws::Utils::DateTime&& value) { m_timeSeriesLastUpdateDate = std::move(value); } /** *

The date that the time series was last updated, in Unix epoch time.

*/ inline DescribeTimeSeriesResult& WithTimeSeriesLastUpdateDate(const Aws::Utils::DateTime& value) { SetTimeSeriesLastUpdateDate(value); return *this;} /** *

The date that the time series was last updated, in Unix epoch time.

*/ inline DescribeTimeSeriesResult& WithTimeSeriesLastUpdateDate(Aws::Utils::DateTime&& value) { SetTimeSeriesLastUpdateDate(std::move(value)); return *this;} /** *

The ARN * of the time series, which has the following format.

* arn:${Partition}:iotsitewise:${Region}:${Account}:time-series/${TimeSeriesId} *

*/ inline const Aws::String& GetTimeSeriesArn() const{ return m_timeSeriesArn; } /** *

The ARN * of the time series, which has the following format.

* arn:${Partition}:iotsitewise:${Region}:${Account}:time-series/${TimeSeriesId} *

*/ inline void SetTimeSeriesArn(const Aws::String& value) { m_timeSeriesArn = value; } /** *

The ARN * of the time series, which has the following format.

* arn:${Partition}:iotsitewise:${Region}:${Account}:time-series/${TimeSeriesId} *

*/ inline void SetTimeSeriesArn(Aws::String&& value) { m_timeSeriesArn = std::move(value); } /** *

The ARN * of the time series, which has the following format.

* arn:${Partition}:iotsitewise:${Region}:${Account}:time-series/${TimeSeriesId} *

*/ inline void SetTimeSeriesArn(const char* value) { m_timeSeriesArn.assign(value); } /** *

The ARN * of the time series, which has the following format.

* arn:${Partition}:iotsitewise:${Region}:${Account}:time-series/${TimeSeriesId} *

*/ inline DescribeTimeSeriesResult& WithTimeSeriesArn(const Aws::String& value) { SetTimeSeriesArn(value); return *this;} /** *

The ARN * of the time series, which has the following format.

* arn:${Partition}:iotsitewise:${Region}:${Account}:time-series/${TimeSeriesId} *

*/ inline DescribeTimeSeriesResult& WithTimeSeriesArn(Aws::String&& value) { SetTimeSeriesArn(std::move(value)); return *this;} /** *

The ARN * of the time series, which has the following format.

* arn:${Partition}:iotsitewise:${Region}:${Account}:time-series/${TimeSeriesId} *

*/ inline DescribeTimeSeriesResult& WithTimeSeriesArn(const char* value) { SetTimeSeriesArn(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeTimeSeriesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeTimeSeriesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeTimeSeriesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_assetId; Aws::String m_propertyId; Aws::String m_alias; Aws::String m_timeSeriesId; PropertyDataType m_dataType; Aws::String m_dataTypeSpec; Aws::Utils::DateTime m_timeSeriesCreationDate; Aws::Utils::DateTime m_timeSeriesLastUpdateDate; Aws::String m_timeSeriesArn; Aws::String m_requestId; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws