/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides test case scenario.See Also:
AWS
* API Reference
Provides test case scenario ID.
*/ inline const Aws::String& GetTestCaseScenarioId() const{ return m_testCaseScenarioId; } /** *Provides test case scenario ID.
*/ inline bool TestCaseScenarioIdHasBeenSet() const { return m_testCaseScenarioIdHasBeenSet; } /** *Provides test case scenario ID.
*/ inline void SetTestCaseScenarioId(const Aws::String& value) { m_testCaseScenarioIdHasBeenSet = true; m_testCaseScenarioId = value; } /** *Provides test case scenario ID.
*/ inline void SetTestCaseScenarioId(Aws::String&& value) { m_testCaseScenarioIdHasBeenSet = true; m_testCaseScenarioId = std::move(value); } /** *Provides test case scenario ID.
*/ inline void SetTestCaseScenarioId(const char* value) { m_testCaseScenarioIdHasBeenSet = true; m_testCaseScenarioId.assign(value); } /** *Provides test case scenario ID.
*/ inline TestCaseScenario& WithTestCaseScenarioId(const Aws::String& value) { SetTestCaseScenarioId(value); return *this;} /** *Provides test case scenario ID.
*/ inline TestCaseScenario& WithTestCaseScenarioId(Aws::String&& value) { SetTestCaseScenarioId(std::move(value)); return *this;} /** *Provides test case scenario ID.
*/ inline TestCaseScenario& WithTestCaseScenarioId(const char* value) { SetTestCaseScenarioId(value); return *this;} /** *Provides test case scenario type. Type is one of the following:
Advanced
Basic
Provides test case scenario type. Type is one of the following:
Advanced
Basic
Provides test case scenario type. Type is one of the following:
Advanced
Basic
Provides test case scenario type. Type is one of the following:
Advanced
Basic
Provides test case scenario type. Type is one of the following:
Advanced
Basic
Provides test case scenario type. Type is one of the following:
Advanced
Basic
Provides the test case scenario 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 scenario 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 scenario 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 scenario 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 scenario 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 scenario 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 scenario failure result.
*/ inline const Aws::String& GetFailure() const{ return m_failure; } /** *Provides test case scenario failure result.
*/ inline bool FailureHasBeenSet() const { return m_failureHasBeenSet; } /** *Provides test case scenario failure result.
*/ inline void SetFailure(const Aws::String& value) { m_failureHasBeenSet = true; m_failure = value; } /** *Provides test case scenario failure result.
*/ inline void SetFailure(Aws::String&& value) { m_failureHasBeenSet = true; m_failure = std::move(value); } /** *Provides test case scenario failure result.
*/ inline void SetFailure(const char* value) { m_failureHasBeenSet = true; m_failure.assign(value); } /** *Provides test case scenario failure result.
*/ inline TestCaseScenario& WithFailure(const Aws::String& value) { SetFailure(value); return *this;} /** *Provides test case scenario failure result.
*/ inline TestCaseScenario& WithFailure(Aws::String&& value) { SetFailure(std::move(value)); return *this;} /** *Provides test case scenario failure result.
*/ inline TestCaseScenario& WithFailure(const char* value) { SetFailure(value); return *this;} /** *Provides test case scenario system messages if any.
*/ inline const Aws::String& GetSystemMessage() const{ return m_systemMessage; } /** *Provides test case scenario system messages if any.
*/ inline bool SystemMessageHasBeenSet() const { return m_systemMessageHasBeenSet; } /** *Provides test case scenario system messages if any.
*/ inline void SetSystemMessage(const Aws::String& value) { m_systemMessageHasBeenSet = true; m_systemMessage = value; } /** *Provides test case scenario system messages if any.
*/ inline void SetSystemMessage(Aws::String&& value) { m_systemMessageHasBeenSet = true; m_systemMessage = std::move(value); } /** *Provides test case scenario system messages if any.
*/ inline void SetSystemMessage(const char* value) { m_systemMessageHasBeenSet = true; m_systemMessage.assign(value); } /** *Provides test case scenario system messages if any.
*/ inline TestCaseScenario& WithSystemMessage(const Aws::String& value) { SetSystemMessage(value); return *this;} /** *Provides test case scenario system messages if any.
*/ inline TestCaseScenario& WithSystemMessage(Aws::String&& value) { SetSystemMessage(std::move(value)); return *this;} /** *Provides test case scenario system messages if any.
*/ inline TestCaseScenario& WithSystemMessage(const char* value) { SetSystemMessage(value); return *this;} private: Aws::String m_testCaseScenarioId; bool m_testCaseScenarioIdHasBeenSet = false; TestCaseScenarioType m_testCaseScenarioType; bool m_testCaseScenarioTypeHasBeenSet = false; TestCaseScenarioStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_failure; bool m_failureHasBeenSet = false; Aws::String m_systemMessage; bool m_systemMessageHasBeenSet = false; }; } // namespace Model } // namespace IoTDeviceAdvisor } // namespace Aws