/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the test case run.See Also:
AWS
* API Reference
Provides the test case run ID.
*/ inline const Aws::String& GetTestCaseRunId() const{ return m_testCaseRunId; } /** *Provides the test case run ID.
*/ inline bool TestCaseRunIdHasBeenSet() const { return m_testCaseRunIdHasBeenSet; } /** *Provides the test case run ID.
*/ inline void SetTestCaseRunId(const Aws::String& value) { m_testCaseRunIdHasBeenSet = true; m_testCaseRunId = value; } /** *Provides the test case run ID.
*/ inline void SetTestCaseRunId(Aws::String&& value) { m_testCaseRunIdHasBeenSet = true; m_testCaseRunId = std::move(value); } /** *Provides the test case run ID.
*/ inline void SetTestCaseRunId(const char* value) { m_testCaseRunIdHasBeenSet = true; m_testCaseRunId.assign(value); } /** *Provides the test case run ID.
*/ inline TestCaseRun& WithTestCaseRunId(const Aws::String& value) { SetTestCaseRunId(value); return *this;} /** *Provides the test case run ID.
*/ inline TestCaseRun& WithTestCaseRunId(Aws::String&& value) { SetTestCaseRunId(std::move(value)); return *this;} /** *Provides the test case run ID.
*/ inline TestCaseRun& WithTestCaseRunId(const char* value) { SetTestCaseRunId(value); return *this;} /** *Provides the test case run definition ID.
*/ inline const Aws::String& GetTestCaseDefinitionId() const{ return m_testCaseDefinitionId; } /** *Provides the test case run definition ID.
*/ inline bool TestCaseDefinitionIdHasBeenSet() const { return m_testCaseDefinitionIdHasBeenSet; } /** *Provides the test case run definition ID.
*/ inline void SetTestCaseDefinitionId(const Aws::String& value) { m_testCaseDefinitionIdHasBeenSet = true; m_testCaseDefinitionId = value; } /** *Provides the test case run definition ID.
*/ inline void SetTestCaseDefinitionId(Aws::String&& value) { m_testCaseDefinitionIdHasBeenSet = true; m_testCaseDefinitionId = std::move(value); } /** *Provides the test case run definition ID.
*/ inline void SetTestCaseDefinitionId(const char* value) { m_testCaseDefinitionIdHasBeenSet = true; m_testCaseDefinitionId.assign(value); } /** *Provides the test case run definition ID.
*/ inline TestCaseRun& WithTestCaseDefinitionId(const Aws::String& value) { SetTestCaseDefinitionId(value); return *this;} /** *Provides the test case run definition ID.
*/ inline TestCaseRun& WithTestCaseDefinitionId(Aws::String&& value) { SetTestCaseDefinitionId(std::move(value)); return *this;} /** *Provides the test case run definition ID.
*/ inline TestCaseRun& WithTestCaseDefinitionId(const char* value) { SetTestCaseDefinitionId(value); return *this;} /** *Provides the test case run definition name.
*/ inline const Aws::String& GetTestCaseDefinitionName() const{ return m_testCaseDefinitionName; } /** *Provides the test case run definition name.
*/ inline bool TestCaseDefinitionNameHasBeenSet() const { return m_testCaseDefinitionNameHasBeenSet; } /** *Provides the test case run definition name.
*/ inline void SetTestCaseDefinitionName(const Aws::String& value) { m_testCaseDefinitionNameHasBeenSet = true; m_testCaseDefinitionName = value; } /** *Provides the test case run definition name.
*/ inline void SetTestCaseDefinitionName(Aws::String&& value) { m_testCaseDefinitionNameHasBeenSet = true; m_testCaseDefinitionName = std::move(value); } /** *Provides the test case run definition name.
*/ inline void SetTestCaseDefinitionName(const char* value) { m_testCaseDefinitionNameHasBeenSet = true; m_testCaseDefinitionName.assign(value); } /** *Provides the test case run definition name.
*/ inline TestCaseRun& WithTestCaseDefinitionName(const Aws::String& value) { SetTestCaseDefinitionName(value); return *this;} /** *Provides the test case run definition name.
*/ inline TestCaseRun& WithTestCaseDefinitionName(Aws::String&& value) { SetTestCaseDefinitionName(std::move(value)); return *this;} /** *Provides the test case run definition name.
*/ inline TestCaseRun& WithTestCaseDefinitionName(const char* value) { SetTestCaseDefinitionName(value); return *this;} /** *Provides the test case run status. Status is one of the following:
PASS
: Test passed.
FAIL
:
* Test failed.
PENDING
: Test has not started
* running but is scheduled.
RUNNING
: Test is
* running.
STOPPING
: Test is performing cleanup
* steps. You will see this status only if you stop a suite run.
* STOPPED
Test is stopped. You will see this status only if you stop
* a suite run.
PASS_WITH_WARNINGS
: Test passed
* with warnings.
ERORR
: Test faced an error when
* running due to an internal issue.
Provides the test case run status. Status is one of the following:
PASS
: Test passed.
FAIL
:
* Test failed.
PENDING
: Test has not started
* running but is scheduled.
RUNNING
: Test is
* running.
STOPPING
: Test is performing cleanup
* steps. You will see this status only if you stop a suite run.
* STOPPED
Test is stopped. You will see this status only if you stop
* a suite run.
PASS_WITH_WARNINGS
: Test passed
* with warnings.
ERORR
: Test faced an error when
* running due to an internal issue.
Provides the test case run status. Status is one of the following:
PASS
: Test passed.
FAIL
:
* Test failed.
PENDING
: Test has not started
* running but is scheduled.
RUNNING
: Test is
* running.
STOPPING
: Test is performing cleanup
* steps. You will see this status only if you stop a suite run.
* STOPPED
Test is stopped. You will see this status only if you stop
* a suite run.
PASS_WITH_WARNINGS
: Test passed
* with warnings.
ERORR
: Test faced an error when
* running due to an internal issue.
Provides the test case run status. Status is one of the following:
PASS
: Test passed.
FAIL
:
* Test failed.
PENDING
: Test has not started
* running but is scheduled.
RUNNING
: Test is
* running.
STOPPING
: Test is performing cleanup
* steps. You will see this status only if you stop a suite run.
* STOPPED
Test is stopped. You will see this status only if you stop
* a suite run.
PASS_WITH_WARNINGS
: Test passed
* with warnings.
ERORR
: Test faced an error when
* running due to an internal issue.
Provides the test case run status. Status is one of the following:
PASS
: Test passed.
FAIL
:
* Test failed.
PENDING
: Test has not started
* running but is scheduled.
RUNNING
: Test is
* running.
STOPPING
: Test is performing cleanup
* steps. You will see this status only if you stop a suite run.
* STOPPED
Test is stopped. You will see this status only if you stop
* a suite run.
PASS_WITH_WARNINGS
: Test passed
* with warnings.
ERORR
: Test faced an error when
* running due to an internal issue.
Provides the test case run status. Status is one of the following:
PASS
: Test passed.
FAIL
:
* Test failed.
PENDING
: Test has not started
* running but is scheduled.
RUNNING
: Test is
* running.
STOPPING
: Test is performing cleanup
* steps. You will see this status only if you stop a suite run.
* STOPPED
Test is stopped. You will see this status only if you stop
* a suite run.
PASS_WITH_WARNINGS
: Test passed
* with warnings.
ERORR
: Test faced an error when
* running due to an internal issue.
Provides test case run start time.
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *Provides test case run start time.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *Provides test case run start time.
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *Provides test case run start time.
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *Provides test case run start time.
*/ inline TestCaseRun& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *Provides test case run start time.
*/ inline TestCaseRun& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *Provides test case run end time.
*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *Provides test case run end time.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *Provides test case run end time.
*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *Provides test case run end time.
*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *Provides test case run end time.
*/ inline TestCaseRun& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *Provides test case run end time.
*/ inline TestCaseRun& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *Provides test case run log URL.
*/ inline const Aws::String& GetLogUrl() const{ return m_logUrl; } /** *Provides test case run log URL.
*/ inline bool LogUrlHasBeenSet() const { return m_logUrlHasBeenSet; } /** *Provides test case run log URL.
*/ inline void SetLogUrl(const Aws::String& value) { m_logUrlHasBeenSet = true; m_logUrl = value; } /** *Provides test case run log URL.
*/ inline void SetLogUrl(Aws::String&& value) { m_logUrlHasBeenSet = true; m_logUrl = std::move(value); } /** *Provides test case run log URL.
*/ inline void SetLogUrl(const char* value) { m_logUrlHasBeenSet = true; m_logUrl.assign(value); } /** *Provides test case run log URL.
*/ inline TestCaseRun& WithLogUrl(const Aws::String& value) { SetLogUrl(value); return *this;} /** *Provides test case run log URL.
*/ inline TestCaseRun& WithLogUrl(Aws::String&& value) { SetLogUrl(std::move(value)); return *this;} /** *Provides test case run log URL.
*/ inline TestCaseRun& WithLogUrl(const char* value) { SetLogUrl(value); return *this;} /** *Provides test case run warnings.
*/ inline const Aws::String& GetWarnings() const{ return m_warnings; } /** *Provides test case run warnings.
*/ inline bool WarningsHasBeenSet() const { return m_warningsHasBeenSet; } /** *Provides test case run warnings.
*/ inline void SetWarnings(const Aws::String& value) { m_warningsHasBeenSet = true; m_warnings = value; } /** *Provides test case run warnings.
*/ inline void SetWarnings(Aws::String&& value) { m_warningsHasBeenSet = true; m_warnings = std::move(value); } /** *Provides test case run warnings.
*/ inline void SetWarnings(const char* value) { m_warningsHasBeenSet = true; m_warnings.assign(value); } /** *Provides test case run warnings.
*/ inline TestCaseRun& WithWarnings(const Aws::String& value) { SetWarnings(value); return *this;} /** *Provides test case run warnings.
*/ inline TestCaseRun& WithWarnings(Aws::String&& value) { SetWarnings(std::move(value)); return *this;} /** *Provides test case run warnings.
*/ inline TestCaseRun& WithWarnings(const char* value) { SetWarnings(value); return *this;} /** *Provides test case run failure result.
*/ inline const Aws::String& GetFailure() const{ return m_failure; } /** *Provides test case run failure result.
*/ inline bool FailureHasBeenSet() const { return m_failureHasBeenSet; } /** *Provides test case run failure result.
*/ inline void SetFailure(const Aws::String& value) { m_failureHasBeenSet = true; m_failure = value; } /** *Provides test case run failure result.
*/ inline void SetFailure(Aws::String&& value) { m_failureHasBeenSet = true; m_failure = std::move(value); } /** *Provides test case run failure result.
*/ inline void SetFailure(const char* value) { m_failureHasBeenSet = true; m_failure.assign(value); } /** *Provides test case run failure result.
*/ inline TestCaseRun& WithFailure(const Aws::String& value) { SetFailure(value); return *this;} /** *Provides test case run failure result.
*/ inline TestCaseRun& WithFailure(Aws::String&& value) { SetFailure(std::move(value)); return *this;} /** *Provides test case run failure result.
*/ inline TestCaseRun& WithFailure(const char* value) { SetFailure(value); return *this;} /** *Provides the test scenarios for the test case run.
*/ inline const Aws::VectorProvides the test scenarios for the test case run.
*/ inline bool TestScenariosHasBeenSet() const { return m_testScenariosHasBeenSet; } /** *Provides the test scenarios for the test case run.
*/ inline void SetTestScenarios(const Aws::VectorProvides the test scenarios for the test case run.
*/ inline void SetTestScenarios(Aws::VectorProvides the test scenarios for the test case run.
*/ inline TestCaseRun& WithTestScenarios(const Aws::VectorProvides the test scenarios for the test case run.
*/ inline TestCaseRun& WithTestScenarios(Aws::VectorProvides the test scenarios for the test case run.
*/ inline TestCaseRun& AddTestScenarios(const TestCaseScenario& value) { m_testScenariosHasBeenSet = true; m_testScenarios.push_back(value); return *this; } /** *Provides the test scenarios for the test case run.
*/ inline TestCaseRun& AddTestScenarios(TestCaseScenario&& value) { m_testScenariosHasBeenSet = true; m_testScenarios.push_back(std::move(value)); return *this; } private: Aws::String m_testCaseRunId; bool m_testCaseRunIdHasBeenSet = false; Aws::String m_testCaseDefinitionId; bool m_testCaseDefinitionIdHasBeenSet = false; Aws::String m_testCaseDefinitionName; bool m_testCaseDefinitionNameHasBeenSet = false; Status m_status; bool m_statusHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; Aws::String m_logUrl; bool m_logUrlHasBeenSet = false; Aws::String m_warnings; bool m_warningsHasBeenSet = false; Aws::String m_failure; bool m_failureHasBeenSet = false; Aws::Vector