/** * 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 ListBatchInferenceJobsRequest : public PersonalizeRequest { public: AWS_PERSONALIZE_API ListBatchInferenceJobsRequest(); // 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 "ListBatchInferenceJobs"; } AWS_PERSONALIZE_API Aws::String SerializePayload() const override; AWS_PERSONALIZE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Amazon Resource Name (ARN) of the solution version from which the batch * inference jobs were created.

*/ inline const Aws::String& GetSolutionVersionArn() const{ return m_solutionVersionArn; } /** *

The Amazon Resource Name (ARN) of the solution version from which the batch * inference jobs were created.

*/ inline bool SolutionVersionArnHasBeenSet() const { return m_solutionVersionArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the solution version from which the batch * inference jobs were created.

*/ inline void SetSolutionVersionArn(const Aws::String& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = value; } /** *

The Amazon Resource Name (ARN) of the solution version from which the batch * inference jobs were created.

*/ inline void SetSolutionVersionArn(Aws::String&& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the solution version from which the batch * inference jobs were created.

*/ inline void SetSolutionVersionArn(const char* value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the solution version from which the batch * inference jobs were created.

*/ inline ListBatchInferenceJobsRequest& WithSolutionVersionArn(const Aws::String& value) { SetSolutionVersionArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the solution version from which the batch * inference jobs were created.

*/ inline ListBatchInferenceJobsRequest& WithSolutionVersionArn(Aws::String&& value) { SetSolutionVersionArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the solution version from which the batch * inference jobs were created.

*/ inline ListBatchInferenceJobsRequest& WithSolutionVersionArn(const char* value) { SetSolutionVersionArn(value); return *this;} /** *

The token to request the next page of results.

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

The token to request the next page of results.

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

The token to request the next page of results.

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

The token to request the next page of results.

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

The token to request the next page of results.

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

The token to request the next page of results.

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

The token to request the next page of results.

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

The token to request the next page of results.

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

The maximum number of batch inference job results to return in each page. The * default value is 100.

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

The maximum number of batch inference job results to return in each page. The * default value is 100.

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

The maximum number of batch inference job results to return in each page. The * default value is 100.

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

The maximum number of batch inference job results to return in each page. The * default value is 100.

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