/** * 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 Personalize { namespace Model { /** */ class ListDatasetImportJobsRequest : public PersonalizeRequest { public: AWS_PERSONALIZE_API ListDatasetImportJobsRequest(); // 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 "ListDatasetImportJobs"; } AWS_PERSONALIZE_API Aws::String SerializePayload() const override; AWS_PERSONALIZE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Amazon Resource Name (ARN) of the dataset to list the dataset import jobs * for.

*/ inline const Aws::String& GetDatasetArn() const{ return m_datasetArn; } /** *

The Amazon Resource Name (ARN) of the dataset to list the dataset import jobs * for.

*/ inline bool DatasetArnHasBeenSet() const { return m_datasetArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the dataset to list the dataset import jobs * for.

*/ inline void SetDatasetArn(const Aws::String& value) { m_datasetArnHasBeenSet = true; m_datasetArn = value; } /** *

The Amazon Resource Name (ARN) of the dataset to list the dataset import jobs * for.

*/ inline void SetDatasetArn(Aws::String&& value) { m_datasetArnHasBeenSet = true; m_datasetArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the dataset to list the dataset import jobs * for.

*/ inline void SetDatasetArn(const char* value) { m_datasetArnHasBeenSet = true; m_datasetArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the dataset to list the dataset import jobs * for.

*/ inline ListDatasetImportJobsRequest& WithDatasetArn(const Aws::String& value) { SetDatasetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the dataset to list the dataset import jobs * for.

*/ inline ListDatasetImportJobsRequest& WithDatasetArn(Aws::String&& value) { SetDatasetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the dataset to list the dataset import jobs * for.

*/ inline ListDatasetImportJobsRequest& WithDatasetArn(const char* value) { SetDatasetArn(value); return *this;} /** *

A token returned from the previous call to ListDatasetImportJobs * for getting the next set of dataset import jobs (if they exist).

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

A token returned from the previous call to ListDatasetImportJobs * for getting the next set of dataset import jobs (if they exist).

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

A token returned from the previous call to ListDatasetImportJobs * for getting the next set of dataset import jobs (if they exist).

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

A token returned from the previous call to ListDatasetImportJobs * for getting the next set of dataset import jobs (if they exist).

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

A token returned from the previous call to ListDatasetImportJobs * for getting the next set of dataset import jobs (if they exist).

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

A token returned from the previous call to ListDatasetImportJobs * for getting the next set of dataset import jobs (if they exist).

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

A token returned from the previous call to ListDatasetImportJobs * for getting the next set of dataset import jobs (if they exist).

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

A token returned from the previous call to ListDatasetImportJobs * for getting the next set of dataset import jobs (if they exist).

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

The maximum number of dataset import jobs to return.

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

The maximum number of dataset import jobs to return.

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

The maximum number of dataset import jobs to return.

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

The maximum number of dataset import jobs to return.

*/ inline ListDatasetImportJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: Aws::String m_datasetArn; bool m_datasetArnHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace Personalize } // namespace Aws