/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace LexModelsV2 { namespace Model { class ListTestExecutionsResult { public: AWS_LEXMODELSV2_API ListTestExecutionsResult(); AWS_LEXMODELSV2_API ListTestExecutionsResult(const Aws::AmazonWebServiceResult& result); AWS_LEXMODELSV2_API ListTestExecutionsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The list of test executions.

*/ inline const Aws::Vector& GetTestExecutions() const{ return m_testExecutions; } /** *

The list of test executions.

*/ inline void SetTestExecutions(const Aws::Vector& value) { m_testExecutions = value; } /** *

The list of test executions.

*/ inline void SetTestExecutions(Aws::Vector&& value) { m_testExecutions = std::move(value); } /** *

The list of test executions.

*/ inline ListTestExecutionsResult& WithTestExecutions(const Aws::Vector& value) { SetTestExecutions(value); return *this;} /** *

The list of test executions.

*/ inline ListTestExecutionsResult& WithTestExecutions(Aws::Vector&& value) { SetTestExecutions(std::move(value)); return *this;} /** *

The list of test executions.

*/ inline ListTestExecutionsResult& AddTestExecutions(const TestExecutionSummary& value) { m_testExecutions.push_back(value); return *this; } /** *

The list of test executions.

*/ inline ListTestExecutionsResult& AddTestExecutions(TestExecutionSummary&& value) { m_testExecutions.push_back(std::move(value)); return *this; } /** *

A token that indicates whether there are more results to return in a response * to the ListTestExecutions operation. If the nextToken field is present, you send * the contents as the nextToken parameter of a ListTestExecutions operation * request to get the next page of results.

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

A token that indicates whether there are more results to return in a response * to the ListTestExecutions operation. If the nextToken field is present, you send * the contents as the nextToken parameter of a ListTestExecutions operation * request to get the next page of results.

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

A token that indicates whether there are more results to return in a response * to the ListTestExecutions operation. If the nextToken field is present, you send * the contents as the nextToken parameter of a ListTestExecutions operation * request to get the next page of results.

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

A token that indicates whether there are more results to return in a response * to the ListTestExecutions operation. If the nextToken field is present, you send * the contents as the nextToken parameter of a ListTestExecutions operation * request to get the next page of results.

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

A token that indicates whether there are more results to return in a response * to the ListTestExecutions operation. If the nextToken field is present, you send * the contents as the nextToken parameter of a ListTestExecutions operation * request to get the next page of results.

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

A token that indicates whether there are more results to return in a response * to the ListTestExecutions operation. If the nextToken field is present, you send * the contents as the nextToken parameter of a ListTestExecutions operation * request to get the next page of results.

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

A token that indicates whether there are more results to return in a response * to the ListTestExecutions operation. If the nextToken field is present, you send * the contents as the nextToken parameter of a ListTestExecutions operation * request to get the next page of results.

*/ inline ListTestExecutionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ListTestExecutionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListTestExecutionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListTestExecutionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_testExecutions; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws