/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoTDeviceAdvisor { namespace Model { /** *

Information about the suite run.

Requires permission to access the SuiteRunInformation * action.

See Also:

AWS * API Reference

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

Suite definition ID of the suite run.

*/ inline const Aws::String& GetSuiteDefinitionId() const{ return m_suiteDefinitionId; } /** *

Suite definition ID of the suite run.

*/ inline bool SuiteDefinitionIdHasBeenSet() const { return m_suiteDefinitionIdHasBeenSet; } /** *

Suite definition ID of the suite run.

*/ inline void SetSuiteDefinitionId(const Aws::String& value) { m_suiteDefinitionIdHasBeenSet = true; m_suiteDefinitionId = value; } /** *

Suite definition ID of the suite run.

*/ inline void SetSuiteDefinitionId(Aws::String&& value) { m_suiteDefinitionIdHasBeenSet = true; m_suiteDefinitionId = std::move(value); } /** *

Suite definition ID of the suite run.

*/ inline void SetSuiteDefinitionId(const char* value) { m_suiteDefinitionIdHasBeenSet = true; m_suiteDefinitionId.assign(value); } /** *

Suite definition ID of the suite run.

*/ inline SuiteRunInformation& WithSuiteDefinitionId(const Aws::String& value) { SetSuiteDefinitionId(value); return *this;} /** *

Suite definition ID of the suite run.

*/ inline SuiteRunInformation& WithSuiteDefinitionId(Aws::String&& value) { SetSuiteDefinitionId(std::move(value)); return *this;} /** *

Suite definition ID of the suite run.

*/ inline SuiteRunInformation& WithSuiteDefinitionId(const char* value) { SetSuiteDefinitionId(value); return *this;} /** *

Suite definition version of the suite run.

*/ inline const Aws::String& GetSuiteDefinitionVersion() const{ return m_suiteDefinitionVersion; } /** *

Suite definition version of the suite run.

*/ inline bool SuiteDefinitionVersionHasBeenSet() const { return m_suiteDefinitionVersionHasBeenSet; } /** *

Suite definition version of the suite run.

*/ inline void SetSuiteDefinitionVersion(const Aws::String& value) { m_suiteDefinitionVersionHasBeenSet = true; m_suiteDefinitionVersion = value; } /** *

Suite definition version of the suite run.

*/ inline void SetSuiteDefinitionVersion(Aws::String&& value) { m_suiteDefinitionVersionHasBeenSet = true; m_suiteDefinitionVersion = std::move(value); } /** *

Suite definition version of the suite run.

*/ inline void SetSuiteDefinitionVersion(const char* value) { m_suiteDefinitionVersionHasBeenSet = true; m_suiteDefinitionVersion.assign(value); } /** *

Suite definition version of the suite run.

*/ inline SuiteRunInformation& WithSuiteDefinitionVersion(const Aws::String& value) { SetSuiteDefinitionVersion(value); return *this;} /** *

Suite definition version of the suite run.

*/ inline SuiteRunInformation& WithSuiteDefinitionVersion(Aws::String&& value) { SetSuiteDefinitionVersion(std::move(value)); return *this;} /** *

Suite definition version of the suite run.

*/ inline SuiteRunInformation& WithSuiteDefinitionVersion(const char* value) { SetSuiteDefinitionVersion(value); return *this;} /** *

Suite definition name of the suite run.

*/ inline const Aws::String& GetSuiteDefinitionName() const{ return m_suiteDefinitionName; } /** *

Suite definition name of the suite run.

*/ inline bool SuiteDefinitionNameHasBeenSet() const { return m_suiteDefinitionNameHasBeenSet; } /** *

Suite definition name of the suite run.

*/ inline void SetSuiteDefinitionName(const Aws::String& value) { m_suiteDefinitionNameHasBeenSet = true; m_suiteDefinitionName = value; } /** *

Suite definition name of the suite run.

*/ inline void SetSuiteDefinitionName(Aws::String&& value) { m_suiteDefinitionNameHasBeenSet = true; m_suiteDefinitionName = std::move(value); } /** *

Suite definition name of the suite run.

*/ inline void SetSuiteDefinitionName(const char* value) { m_suiteDefinitionNameHasBeenSet = true; m_suiteDefinitionName.assign(value); } /** *

Suite definition name of the suite run.

*/ inline SuiteRunInformation& WithSuiteDefinitionName(const Aws::String& value) { SetSuiteDefinitionName(value); return *this;} /** *

Suite definition name of the suite run.

*/ inline SuiteRunInformation& WithSuiteDefinitionName(Aws::String&& value) { SetSuiteDefinitionName(std::move(value)); return *this;} /** *

Suite definition name of the suite run.

*/ inline SuiteRunInformation& WithSuiteDefinitionName(const char* value) { SetSuiteDefinitionName(value); return *this;} /** *

Suite run ID of the suite run.

*/ inline const Aws::String& GetSuiteRunId() const{ return m_suiteRunId; } /** *

Suite run ID of the suite run.

*/ inline bool SuiteRunIdHasBeenSet() const { return m_suiteRunIdHasBeenSet; } /** *

Suite run ID of the suite run.

*/ inline void SetSuiteRunId(const Aws::String& value) { m_suiteRunIdHasBeenSet = true; m_suiteRunId = value; } /** *

Suite run ID of the suite run.

*/ inline void SetSuiteRunId(Aws::String&& value) { m_suiteRunIdHasBeenSet = true; m_suiteRunId = std::move(value); } /** *

Suite run ID of the suite run.

*/ inline void SetSuiteRunId(const char* value) { m_suiteRunIdHasBeenSet = true; m_suiteRunId.assign(value); } /** *

Suite run ID of the suite run.

*/ inline SuiteRunInformation& WithSuiteRunId(const Aws::String& value) { SetSuiteRunId(value); return *this;} /** *

Suite run ID of the suite run.

*/ inline SuiteRunInformation& WithSuiteRunId(Aws::String&& value) { SetSuiteRunId(std::move(value)); return *this;} /** *

Suite run ID of the suite run.

*/ inline SuiteRunInformation& WithSuiteRunId(const char* value) { SetSuiteRunId(value); return *this;} /** *

Date (in Unix epoch time) when the suite run was created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

Date (in Unix epoch time) when the suite run was created.

*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *

Date (in Unix epoch time) when the suite run was created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *

Date (in Unix epoch time) when the suite run was created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *

Date (in Unix epoch time) when the suite run was created.

*/ inline SuiteRunInformation& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

Date (in Unix epoch time) when the suite run was created.

*/ inline SuiteRunInformation& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *

Date (in Unix epoch time) when the suite run was started.

*/ inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } /** *

Date (in Unix epoch time) when the suite run was started.

*/ inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; } /** *

Date (in Unix epoch time) when the suite run was started.

*/ inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; } /** *

Date (in Unix epoch time) when the suite run was started.

*/ inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); } /** *

Date (in Unix epoch time) when the suite run was started.

*/ inline SuiteRunInformation& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} /** *

Date (in Unix epoch time) when the suite run was started.

*/ inline SuiteRunInformation& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} /** *

Date (in Unix epoch time) when the suite run ended.

*/ inline const Aws::Utils::DateTime& GetEndAt() const{ return m_endAt; } /** *

Date (in Unix epoch time) when the suite run ended.

*/ inline bool EndAtHasBeenSet() const { return m_endAtHasBeenSet; } /** *

Date (in Unix epoch time) when the suite run ended.

*/ inline void SetEndAt(const Aws::Utils::DateTime& value) { m_endAtHasBeenSet = true; m_endAt = value; } /** *

Date (in Unix epoch time) when the suite run ended.

*/ inline void SetEndAt(Aws::Utils::DateTime&& value) { m_endAtHasBeenSet = true; m_endAt = std::move(value); } /** *

Date (in Unix epoch time) when the suite run ended.

*/ inline SuiteRunInformation& WithEndAt(const Aws::Utils::DateTime& value) { SetEndAt(value); return *this;} /** *

Date (in Unix epoch time) when the suite run ended.

*/ inline SuiteRunInformation& WithEndAt(Aws::Utils::DateTime&& value) { SetEndAt(std::move(value)); return *this;} /** *

Status of the suite run.

*/ inline const SuiteRunStatus& GetStatus() const{ return m_status; } /** *

Status of the suite run.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

Status of the suite run.

*/ inline void SetStatus(const SuiteRunStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

Status of the suite run.

*/ inline void SetStatus(SuiteRunStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

Status of the suite run.

*/ inline SuiteRunInformation& WithStatus(const SuiteRunStatus& value) { SetStatus(value); return *this;} /** *

Status of the suite run.

*/ inline SuiteRunInformation& WithStatus(SuiteRunStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

Number of test cases that passed in the suite run.

*/ inline int GetPassed() const{ return m_passed; } /** *

Number of test cases that passed in the suite run.

*/ inline bool PassedHasBeenSet() const { return m_passedHasBeenSet; } /** *

Number of test cases that passed in the suite run.

*/ inline void SetPassed(int value) { m_passedHasBeenSet = true; m_passed = value; } /** *

Number of test cases that passed in the suite run.

*/ inline SuiteRunInformation& WithPassed(int value) { SetPassed(value); return *this;} /** *

Number of test cases that failed in the suite run.

*/ inline int GetFailed() const{ return m_failed; } /** *

Number of test cases that failed in the suite run.

*/ inline bool FailedHasBeenSet() const { return m_failedHasBeenSet; } /** *

Number of test cases that failed in the suite run.

*/ inline void SetFailed(int value) { m_failedHasBeenSet = true; m_failed = value; } /** *

Number of test cases that failed in the suite run.

*/ inline SuiteRunInformation& WithFailed(int value) { SetFailed(value); return *this;} private: Aws::String m_suiteDefinitionId; bool m_suiteDefinitionIdHasBeenSet = false; Aws::String m_suiteDefinitionVersion; bool m_suiteDefinitionVersionHasBeenSet = false; Aws::String m_suiteDefinitionName; bool m_suiteDefinitionNameHasBeenSet = false; Aws::String m_suiteRunId; bool m_suiteRunIdHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_startedAt; bool m_startedAtHasBeenSet = false; Aws::Utils::DateTime m_endAt; bool m_endAtHasBeenSet = false; SuiteRunStatus m_status; bool m_statusHasBeenSet = false; int m_passed; bool m_passedHasBeenSet = false; int m_failed; bool m_failedHasBeenSet = false; }; } // namespace Model } // namespace IoTDeviceAdvisor } // namespace Aws