/** * 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 { namespace Http { class URI; } //namespace Http namespace IoTSiteWise { namespace Model { /** */ class ListTimeSeriesRequest : public IoTSiteWiseRequest { public: AWS_IOTSITEWISE_API ListTimeSeriesRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListTimeSeries"; } AWS_IOTSITEWISE_API Aws::String SerializePayload() const override; AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The token to be used for the next set of paginated results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The token to be used for the next set of paginated results.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

The token to be used for the next set of paginated results.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

The token to be used for the next set of paginated results.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

The token to be used for the next set of paginated results.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

The token to be used for the next set of paginated results.

*/ inline ListTimeSeriesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The token to be used for the next set of paginated results.

*/ inline ListTimeSeriesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The token to be used for the next set of paginated results.

*/ inline ListTimeSeriesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The maximum number of results to return for each paginated request.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of results to return for each paginated request.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of results to return for each paginated request.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of results to return for each paginated request.

*/ inline ListTimeSeriesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

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 bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; } /** *

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

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

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

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

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

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

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

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

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

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

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

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

The alias prefix of the time series.

*/ inline const Aws::String& GetAliasPrefix() const{ return m_aliasPrefix; } /** *

The alias prefix of the time series.

*/ inline bool AliasPrefixHasBeenSet() const { return m_aliasPrefixHasBeenSet; } /** *

The alias prefix of the time series.

*/ inline void SetAliasPrefix(const Aws::String& value) { m_aliasPrefixHasBeenSet = true; m_aliasPrefix = value; } /** *

The alias prefix of the time series.

*/ inline void SetAliasPrefix(Aws::String&& value) { m_aliasPrefixHasBeenSet = true; m_aliasPrefix = std::move(value); } /** *

The alias prefix of the time series.

*/ inline void SetAliasPrefix(const char* value) { m_aliasPrefixHasBeenSet = true; m_aliasPrefix.assign(value); } /** *

The alias prefix of the time series.

*/ inline ListTimeSeriesRequest& WithAliasPrefix(const Aws::String& value) { SetAliasPrefix(value); return *this;} /** *

The alias prefix of the time series.

*/ inline ListTimeSeriesRequest& WithAliasPrefix(Aws::String&& value) { SetAliasPrefix(std::move(value)); return *this;} /** *

The alias prefix of the time series.

*/ inline ListTimeSeriesRequest& WithAliasPrefix(const char* value) { SetAliasPrefix(value); return *this;} /** *

The type of the time series. The time series type can be one of the following * values:

  • ASSOCIATED – The time series is * associated with an asset property.

  • DISASSOCIATED * – The time series isn't associated with any asset property.

*/ inline const ListTimeSeriesType& GetTimeSeriesType() const{ return m_timeSeriesType; } /** *

The type of the time series. The time series type can be one of the following * values:

  • ASSOCIATED – The time series is * associated with an asset property.

  • DISASSOCIATED * – The time series isn't associated with any asset property.

*/ inline bool TimeSeriesTypeHasBeenSet() const { return m_timeSeriesTypeHasBeenSet; } /** *

The type of the time series. The time series type can be one of the following * values:

  • ASSOCIATED – The time series is * associated with an asset property.

  • DISASSOCIATED * – The time series isn't associated with any asset property.

*/ inline void SetTimeSeriesType(const ListTimeSeriesType& value) { m_timeSeriesTypeHasBeenSet = true; m_timeSeriesType = value; } /** *

The type of the time series. The time series type can be one of the following * values:

  • ASSOCIATED – The time series is * associated with an asset property.

  • DISASSOCIATED * – The time series isn't associated with any asset property.

*/ inline void SetTimeSeriesType(ListTimeSeriesType&& value) { m_timeSeriesTypeHasBeenSet = true; m_timeSeriesType = std::move(value); } /** *

The type of the time series. The time series type can be one of the following * values:

  • ASSOCIATED – The time series is * associated with an asset property.

  • DISASSOCIATED * – The time series isn't associated with any asset property.

*/ inline ListTimeSeriesRequest& WithTimeSeriesType(const ListTimeSeriesType& value) { SetTimeSeriesType(value); return *this;} /** *

The type of the time series. The time series type can be one of the following * values:

  • ASSOCIATED – The time series is * associated with an asset property.

  • DISASSOCIATED * – The time series isn't associated with any asset property.

*/ inline ListTimeSeriesRequest& WithTimeSeriesType(ListTimeSeriesType&& value) { SetTimeSeriesType(std::move(value)); return *this;} private: Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_assetId; bool m_assetIdHasBeenSet = false; Aws::String m_aliasPrefix; bool m_aliasPrefixHasBeenSet = false; ListTimeSeriesType m_timeSeriesType; bool m_timeSeriesTypeHasBeenSet = false; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws