/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace LookoutEquipment { namespace Model { /** */ class ListSensorStatisticsRequest : public LookoutEquipmentRequest { public: AWS_LOOKOUTEQUIPMENT_API ListSensorStatisticsRequest(); // 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 "ListSensorStatistics"; } AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override; AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the dataset associated with the list of Sensor Statistics.

*/ inline const Aws::String& GetDatasetName() const{ return m_datasetName; } /** *

The name of the dataset associated with the list of Sensor Statistics.

*/ inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; } /** *

The name of the dataset associated with the list of Sensor Statistics.

*/ inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; } /** *

The name of the dataset associated with the list of Sensor Statistics.

*/ inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); } /** *

The name of the dataset associated with the list of Sensor Statistics.

*/ inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); } /** *

The name of the dataset associated with the list of Sensor Statistics.

*/ inline ListSensorStatisticsRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;} /** *

The name of the dataset associated with the list of Sensor Statistics.

*/ inline ListSensorStatisticsRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;} /** *

The name of the dataset associated with the list of Sensor Statistics.

*/ inline ListSensorStatisticsRequest& WithDatasetName(const char* value) { SetDatasetName(value); return *this;} /** *

The ingestion job id associated with the list of Sensor Statistics. To get * sensor statistics for a particular ingestion job id, both dataset name and * ingestion job id must be submitted as inputs.

*/ inline const Aws::String& GetIngestionJobId() const{ return m_ingestionJobId; } /** *

The ingestion job id associated with the list of Sensor Statistics. To get * sensor statistics for a particular ingestion job id, both dataset name and * ingestion job id must be submitted as inputs.

*/ inline bool IngestionJobIdHasBeenSet() const { return m_ingestionJobIdHasBeenSet; } /** *

The ingestion job id associated with the list of Sensor Statistics. To get * sensor statistics for a particular ingestion job id, both dataset name and * ingestion job id must be submitted as inputs.

*/ inline void SetIngestionJobId(const Aws::String& value) { m_ingestionJobIdHasBeenSet = true; m_ingestionJobId = value; } /** *

The ingestion job id associated with the list of Sensor Statistics. To get * sensor statistics for a particular ingestion job id, both dataset name and * ingestion job id must be submitted as inputs.

*/ inline void SetIngestionJobId(Aws::String&& value) { m_ingestionJobIdHasBeenSet = true; m_ingestionJobId = std::move(value); } /** *

The ingestion job id associated with the list of Sensor Statistics. To get * sensor statistics for a particular ingestion job id, both dataset name and * ingestion job id must be submitted as inputs.

*/ inline void SetIngestionJobId(const char* value) { m_ingestionJobIdHasBeenSet = true; m_ingestionJobId.assign(value); } /** *

The ingestion job id associated with the list of Sensor Statistics. To get * sensor statistics for a particular ingestion job id, both dataset name and * ingestion job id must be submitted as inputs.

*/ inline ListSensorStatisticsRequest& WithIngestionJobId(const Aws::String& value) { SetIngestionJobId(value); return *this;} /** *

The ingestion job id associated with the list of Sensor Statistics. To get * sensor statistics for a particular ingestion job id, both dataset name and * ingestion job id must be submitted as inputs.

*/ inline ListSensorStatisticsRequest& WithIngestionJobId(Aws::String&& value) { SetIngestionJobId(std::move(value)); return *this;} /** *

The ingestion job id associated with the list of Sensor Statistics. To get * sensor statistics for a particular ingestion job id, both dataset name and * ingestion job id must be submitted as inputs.

*/ inline ListSensorStatisticsRequest& WithIngestionJobId(const char* value) { SetIngestionJobId(value); return *this;} /** *

Specifies the maximum number of sensors for which to retrieve statistics. *

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

Specifies the maximum number of sensors for which to retrieve statistics. *

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

Specifies the maximum number of sensors for which to retrieve statistics. *

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

Specifies the maximum number of sensors for which to retrieve statistics. *

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

An opaque pagination token indicating where to continue the listing of sensor * statistics.

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

An opaque pagination token indicating where to continue the listing of sensor * statistics.

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

An opaque pagination token indicating where to continue the listing of sensor * statistics.

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

An opaque pagination token indicating where to continue the listing of sensor * statistics.

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

An opaque pagination token indicating where to continue the listing of sensor * statistics.

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

An opaque pagination token indicating where to continue the listing of sensor * statistics.

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

An opaque pagination token indicating where to continue the listing of sensor * statistics.

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

An opaque pagination token indicating where to continue the listing of sensor * statistics.

*/ inline ListSensorStatisticsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_datasetName; bool m_datasetNameHasBeenSet = false; Aws::String m_ingestionJobId; bool m_ingestionJobIdHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace LookoutEquipment } // namespace Aws