/** * 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 LexModelsV2 { namespace Model { /** */ class ListTestExecutionResultItemsRequest : public LexModelsV2Request { public: AWS_LEXMODELSV2_API ListTestExecutionResultItemsRequest(); // 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 "ListTestExecutionResultItems"; } AWS_LEXMODELSV2_API Aws::String SerializePayload() const override; /** *

The unique identifier of the test execution to list the result items.

*/ inline const Aws::String& GetTestExecutionId() const{ return m_testExecutionId; } /** *

The unique identifier of the test execution to list the result items.

*/ inline bool TestExecutionIdHasBeenSet() const { return m_testExecutionIdHasBeenSet; } /** *

The unique identifier of the test execution to list the result items.

*/ inline void SetTestExecutionId(const Aws::String& value) { m_testExecutionIdHasBeenSet = true; m_testExecutionId = value; } /** *

The unique identifier of the test execution to list the result items.

*/ inline void SetTestExecutionId(Aws::String&& value) { m_testExecutionIdHasBeenSet = true; m_testExecutionId = std::move(value); } /** *

The unique identifier of the test execution to list the result items.

*/ inline void SetTestExecutionId(const char* value) { m_testExecutionIdHasBeenSet = true; m_testExecutionId.assign(value); } /** *

The unique identifier of the test execution to list the result items.

*/ inline ListTestExecutionResultItemsRequest& WithTestExecutionId(const Aws::String& value) { SetTestExecutionId(value); return *this;} /** *

The unique identifier of the test execution to list the result items.

*/ inline ListTestExecutionResultItemsRequest& WithTestExecutionId(Aws::String&& value) { SetTestExecutionId(std::move(value)); return *this;} /** *

The unique identifier of the test execution to list the result items.

*/ inline ListTestExecutionResultItemsRequest& WithTestExecutionId(const char* value) { SetTestExecutionId(value); return *this;} /** *

The filter for the list of results from the test set execution.

*/ inline const TestExecutionResultFilterBy& GetResultFilterBy() const{ return m_resultFilterBy; } /** *

The filter for the list of results from the test set execution.

*/ inline bool ResultFilterByHasBeenSet() const { return m_resultFilterByHasBeenSet; } /** *

The filter for the list of results from the test set execution.

*/ inline void SetResultFilterBy(const TestExecutionResultFilterBy& value) { m_resultFilterByHasBeenSet = true; m_resultFilterBy = value; } /** *

The filter for the list of results from the test set execution.

*/ inline void SetResultFilterBy(TestExecutionResultFilterBy&& value) { m_resultFilterByHasBeenSet = true; m_resultFilterBy = std::move(value); } /** *

The filter for the list of results from the test set execution.

*/ inline ListTestExecutionResultItemsRequest& WithResultFilterBy(const TestExecutionResultFilterBy& value) { SetResultFilterBy(value); return *this;} /** *

The filter for the list of results from the test set execution.

*/ inline ListTestExecutionResultItemsRequest& WithResultFilterBy(TestExecutionResultFilterBy&& value) { SetResultFilterBy(std::move(value)); return *this;} /** *

The maximum number of test execution result items to return in each page. If * there are fewer results than the max page size, only the actual number of * results are returned.

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

The maximum number of test execution result items to return in each page. If * there are fewer results than the max page size, only the actual number of * results are returned.

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

The maximum number of test execution result items to return in each page. If * there are fewer results than the max page size, only the actual number of * results are returned.

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

The maximum number of test execution result items to return in each page. If * there are fewer results than the max page size, only the actual number of * results are returned.

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

If the response from the ListTestExecutionResultItems operation * contains more results than specified in the maxResults parameter, a * token is returned in the response. Use that token in the nextToken * parameter to return the next page of results.

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

If the response from the ListTestExecutionResultItems operation * contains more results than specified in the maxResults parameter, a * token is returned in the response. Use that token in the nextToken * parameter to return the next page of results.

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

If the response from the ListTestExecutionResultItems operation * contains more results than specified in the maxResults parameter, a * token is returned in the response. Use that token in the nextToken * parameter to return the next page of results.

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

If the response from the ListTestExecutionResultItems operation * contains more results than specified in the maxResults parameter, a * token is returned in the response. Use that token in the nextToken * parameter to return the next page of results.

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

If the response from the ListTestExecutionResultItems operation * contains more results than specified in the maxResults parameter, a * token is returned in the response. Use that token in the nextToken * parameter to return the next page of results.

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

If the response from the ListTestExecutionResultItems operation * contains more results than specified in the maxResults parameter, a * token is returned in the response. Use that token in the nextToken * parameter to return the next page of results.

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

If the response from the ListTestExecutionResultItems operation * contains more results than specified in the maxResults parameter, a * token is returned in the response. Use that token in the nextToken * parameter to return the next page of results.

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

If the response from the ListTestExecutionResultItems operation * contains more results than specified in the maxResults parameter, a * token is returned in the response. Use that token in the nextToken * parameter to return the next page of results.

*/ inline ListTestExecutionResultItemsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_testExecutionId; bool m_testExecutionIdHasBeenSet = false; TestExecutionResultFilterBy m_resultFilterBy; bool m_resultFilterByHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws