/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace LexModelsV2 { namespace Model { /** *

Summarizes metadata about the test execution.

See Also:

AWS * API Reference

*/ class TestExecutionSummary { public: AWS_LEXMODELSV2_API TestExecutionSummary(); AWS_LEXMODELSV2_API TestExecutionSummary(Aws::Utils::Json::JsonView jsonValue); AWS_LEXMODELSV2_API TestExecutionSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The unique identifier of the test execution.

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

The unique identifier of the test execution.

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

The unique identifier of the test execution.

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

The unique identifier of the test execution.

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

The unique identifier of the test execution.

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

The unique identifier of the test execution.

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

The unique identifier of the test execution.

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

The unique identifier of the test execution.

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

The date and time at which the test execution was created.

*/ inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; } /** *

The date and time at which the test execution was created.

*/ inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; } /** *

The date and time at which the test execution was created.

*/ inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; } /** *

The date and time at which the test execution was created.

*/ inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); } /** *

The date and time at which the test execution was created.

*/ inline TestExecutionSummary& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;} /** *

The date and time at which the test execution was created.

*/ inline TestExecutionSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;} /** *

The date and time at which the test execution was last updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; } /** *

The date and time at which the test execution was last updated.

*/ inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; } /** *

The date and time at which the test execution was last updated.

*/ inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; } /** *

The date and time at which the test execution was last updated.

*/ inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); } /** *

The date and time at which the test execution was last updated.

*/ inline TestExecutionSummary& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;} /** *

The date and time at which the test execution was last updated.

*/ inline TestExecutionSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;} /** *

The current status of the test execution.

*/ inline const TestExecutionStatus& GetTestExecutionStatus() const{ return m_testExecutionStatus; } /** *

The current status of the test execution.

*/ inline bool TestExecutionStatusHasBeenSet() const { return m_testExecutionStatusHasBeenSet; } /** *

The current status of the test execution.

*/ inline void SetTestExecutionStatus(const TestExecutionStatus& value) { m_testExecutionStatusHasBeenSet = true; m_testExecutionStatus = value; } /** *

The current status of the test execution.

*/ inline void SetTestExecutionStatus(TestExecutionStatus&& value) { m_testExecutionStatusHasBeenSet = true; m_testExecutionStatus = std::move(value); } /** *

The current status of the test execution.

*/ inline TestExecutionSummary& WithTestExecutionStatus(const TestExecutionStatus& value) { SetTestExecutionStatus(value); return *this;} /** *

The current status of the test execution.

*/ inline TestExecutionSummary& WithTestExecutionStatus(TestExecutionStatus&& value) { SetTestExecutionStatus(std::move(value)); return *this;} /** *

The unique identifier of the test set used in the test execution.

*/ inline const Aws::String& GetTestSetId() const{ return m_testSetId; } /** *

The unique identifier of the test set used in the test execution.

*/ inline bool TestSetIdHasBeenSet() const { return m_testSetIdHasBeenSet; } /** *

The unique identifier of the test set used in the test execution.

*/ inline void SetTestSetId(const Aws::String& value) { m_testSetIdHasBeenSet = true; m_testSetId = value; } /** *

The unique identifier of the test set used in the test execution.

*/ inline void SetTestSetId(Aws::String&& value) { m_testSetIdHasBeenSet = true; m_testSetId = std::move(value); } /** *

The unique identifier of the test set used in the test execution.

*/ inline void SetTestSetId(const char* value) { m_testSetIdHasBeenSet = true; m_testSetId.assign(value); } /** *

The unique identifier of the test set used in the test execution.

*/ inline TestExecutionSummary& WithTestSetId(const Aws::String& value) { SetTestSetId(value); return *this;} /** *

The unique identifier of the test set used in the test execution.

*/ inline TestExecutionSummary& WithTestSetId(Aws::String&& value) { SetTestSetId(std::move(value)); return *this;} /** *

The unique identifier of the test set used in the test execution.

*/ inline TestExecutionSummary& WithTestSetId(const char* value) { SetTestSetId(value); return *this;} /** *

The name of the test set used in the test execution.

*/ inline const Aws::String& GetTestSetName() const{ return m_testSetName; } /** *

The name of the test set used in the test execution.

*/ inline bool TestSetNameHasBeenSet() const { return m_testSetNameHasBeenSet; } /** *

The name of the test set used in the test execution.

*/ inline void SetTestSetName(const Aws::String& value) { m_testSetNameHasBeenSet = true; m_testSetName = value; } /** *

The name of the test set used in the test execution.

*/ inline void SetTestSetName(Aws::String&& value) { m_testSetNameHasBeenSet = true; m_testSetName = std::move(value); } /** *

The name of the test set used in the test execution.

*/ inline void SetTestSetName(const char* value) { m_testSetNameHasBeenSet = true; m_testSetName.assign(value); } /** *

The name of the test set used in the test execution.

*/ inline TestExecutionSummary& WithTestSetName(const Aws::String& value) { SetTestSetName(value); return *this;} /** *

The name of the test set used in the test execution.

*/ inline TestExecutionSummary& WithTestSetName(Aws::String&& value) { SetTestSetName(std::move(value)); return *this;} /** *

The name of the test set used in the test execution.

*/ inline TestExecutionSummary& WithTestSetName(const char* value) { SetTestSetName(value); return *this;} /** *

Contains information about the bot used for the test execution..

*/ inline const TestExecutionTarget& GetTarget() const{ return m_target; } /** *

Contains information about the bot used for the test execution..

*/ inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; } /** *

Contains information about the bot used for the test execution..

*/ inline void SetTarget(const TestExecutionTarget& value) { m_targetHasBeenSet = true; m_target = value; } /** *

Contains information about the bot used for the test execution..

*/ inline void SetTarget(TestExecutionTarget&& value) { m_targetHasBeenSet = true; m_target = std::move(value); } /** *

Contains information about the bot used for the test execution..

*/ inline TestExecutionSummary& WithTarget(const TestExecutionTarget& value) { SetTarget(value); return *this;} /** *

Contains information about the bot used for the test execution..

*/ inline TestExecutionSummary& WithTarget(TestExecutionTarget&& value) { SetTarget(std::move(value)); return *this;} /** *

Specifies whether the API mode for the test execution is streaming or * non-streaming.

*/ inline const TestExecutionApiMode& GetApiMode() const{ return m_apiMode; } /** *

Specifies whether the API mode for the test execution is streaming or * non-streaming.

*/ inline bool ApiModeHasBeenSet() const { return m_apiModeHasBeenSet; } /** *

Specifies whether the API mode for the test execution is streaming or * non-streaming.

*/ inline void SetApiMode(const TestExecutionApiMode& value) { m_apiModeHasBeenSet = true; m_apiMode = value; } /** *

Specifies whether the API mode for the test execution is streaming or * non-streaming.

*/ inline void SetApiMode(TestExecutionApiMode&& value) { m_apiModeHasBeenSet = true; m_apiMode = std::move(value); } /** *

Specifies whether the API mode for the test execution is streaming or * non-streaming.

*/ inline TestExecutionSummary& WithApiMode(const TestExecutionApiMode& value) { SetApiMode(value); return *this;} /** *

Specifies whether the API mode for the test execution is streaming or * non-streaming.

*/ inline TestExecutionSummary& WithApiMode(TestExecutionApiMode&& value) { SetApiMode(std::move(value)); return *this;} /** *

Specifies whether the data used for the test execution is written or * spoken.

*/ inline const TestExecutionModality& GetTestExecutionModality() const{ return m_testExecutionModality; } /** *

Specifies whether the data used for the test execution is written or * spoken.

*/ inline bool TestExecutionModalityHasBeenSet() const { return m_testExecutionModalityHasBeenSet; } /** *

Specifies whether the data used for the test execution is written or * spoken.

*/ inline void SetTestExecutionModality(const TestExecutionModality& value) { m_testExecutionModalityHasBeenSet = true; m_testExecutionModality = value; } /** *

Specifies whether the data used for the test execution is written or * spoken.

*/ inline void SetTestExecutionModality(TestExecutionModality&& value) { m_testExecutionModalityHasBeenSet = true; m_testExecutionModality = std::move(value); } /** *

Specifies whether the data used for the test execution is written or * spoken.

*/ inline TestExecutionSummary& WithTestExecutionModality(const TestExecutionModality& value) { SetTestExecutionModality(value); return *this;} /** *

Specifies whether the data used for the test execution is written or * spoken.

*/ inline TestExecutionSummary& WithTestExecutionModality(TestExecutionModality&& value) { SetTestExecutionModality(std::move(value)); return *this;} private: Aws::String m_testExecutionId; bool m_testExecutionIdHasBeenSet = false; Aws::Utils::DateTime m_creationDateTime; bool m_creationDateTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedDateTime; bool m_lastUpdatedDateTimeHasBeenSet = false; TestExecutionStatus m_testExecutionStatus; bool m_testExecutionStatusHasBeenSet = false; Aws::String m_testSetId; bool m_testSetIdHasBeenSet = false; Aws::String m_testSetName; bool m_testSetNameHasBeenSet = false; TestExecutionTarget m_target; bool m_targetHasBeenSet = false; TestExecutionApiMode m_apiMode; bool m_apiModeHasBeenSet = false; TestExecutionModality m_testExecutionModality; bool m_testExecutionModalityHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws