/** * 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 LookoutEquipment { namespace Model { /** */ class ListDataIngestionJobsRequest : public LookoutEquipmentRequest { public: AWS_LOOKOUTEQUIPMENT_API ListDataIngestionJobsRequest(); // 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 "ListDataIngestionJobs"; } AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override; AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the dataset being used for the data ingestion job.

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

The name of the dataset being used for the data ingestion job.

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

The name of the dataset being used for the data ingestion job.

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

The name of the dataset being used for the data ingestion job.

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

The name of the dataset being used for the data ingestion job.

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

The name of the dataset being used for the data ingestion job.

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

The name of the dataset being used for the data ingestion job.

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

The name of the dataset being used for the data ingestion job.

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

An opaque pagination token indicating where to continue the listing of data * ingestion jobs.

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

An opaque pagination token indicating where to continue the listing of data * ingestion jobs.

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

An opaque pagination token indicating where to continue the listing of data * ingestion jobs.

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

An opaque pagination token indicating where to continue the listing of data * ingestion jobs.

*/ 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 data * ingestion jobs.

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

An opaque pagination token indicating where to continue the listing of data * ingestion jobs.

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

An opaque pagination token indicating where to continue the listing of data * ingestion jobs.

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

An opaque pagination token indicating where to continue the listing of data * ingestion jobs.

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

Specifies the maximum number of data ingestion jobs to list.

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

Specifies the maximum number of data ingestion jobs to list.

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

Specifies the maximum number of data ingestion jobs to list.

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

Specifies the maximum number of data ingestion jobs to list.

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

Indicates the status of the data ingestion job.

*/ inline const IngestionJobStatus& GetStatus() const{ return m_status; } /** *

Indicates the status of the data ingestion job.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

Indicates the status of the data ingestion job.

*/ inline void SetStatus(const IngestionJobStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

Indicates the status of the data ingestion job.

*/ inline void SetStatus(IngestionJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

Indicates the status of the data ingestion job.

*/ inline ListDataIngestionJobsRequest& WithStatus(const IngestionJobStatus& value) { SetStatus(value); return *this;} /** *

Indicates the status of the data ingestion job.

*/ inline ListDataIngestionJobsRequest& WithStatus(IngestionJobStatus&& value) { SetStatus(std::move(value)); return *this;} private: Aws::String m_datasetName; bool m_datasetNameHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; IngestionJobStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace LookoutEquipment } // namespace Aws