/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents a collection of one or more tests.See Also:
AWS
* API Reference
The suite's ARN.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The suite's ARN.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The suite's ARN.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The suite's ARN.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The suite's ARN.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The suite's ARN.
*/ inline Suite& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The suite's ARN.
*/ inline Suite& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The suite's ARN.
*/ inline Suite& WithArn(const char* value) { SetArn(value); return *this;} /** *The suite's name.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The suite's name.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The suite's name.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The suite's name.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The suite's name.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The suite's name.
*/ inline Suite& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The suite's name.
*/ inline Suite& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The suite's name.
*/ inline Suite& WithName(const char* value) { SetName(value); return *this;} /** *The suite's type.
Must be one of the following values:
BUILTIN_FUZZ
BUILTIN_EXPLORER
Only available * for Android; an app explorer that traverses an Android app, interacting with it * and capturing screenshots at the same time.
APPIUM_JAVA_JUNIT
APPIUM_JAVA_TESTNG
APPIUM_PYTHON
APPIUM_NODE
APPIUM_RUBY
*APPIUM_WEB_JAVA_JUNIT
APPIUM_WEB_JAVA_TESTNG
*APPIUM_WEB_PYTHON
APPIUM_WEB_NODE
APPIUM_WEB_RUBY
CALABASH
INSTRUMENTATION
UIAUTOMATION
UIAUTOMATOR
XCTEST
XCTEST_UI
The suite's type.
Must be one of the following values:
BUILTIN_FUZZ
BUILTIN_EXPLORER
Only available * for Android; an app explorer that traverses an Android app, interacting with it * and capturing screenshots at the same time.
APPIUM_JAVA_JUNIT
APPIUM_JAVA_TESTNG
APPIUM_PYTHON
APPIUM_NODE
APPIUM_RUBY
*APPIUM_WEB_JAVA_JUNIT
APPIUM_WEB_JAVA_TESTNG
*APPIUM_WEB_PYTHON
APPIUM_WEB_NODE
APPIUM_WEB_RUBY
CALABASH
INSTRUMENTATION
UIAUTOMATION
UIAUTOMATOR
XCTEST
XCTEST_UI
The suite's type.
Must be one of the following values:
BUILTIN_FUZZ
BUILTIN_EXPLORER
Only available * for Android; an app explorer that traverses an Android app, interacting with it * and capturing screenshots at the same time.
APPIUM_JAVA_JUNIT
APPIUM_JAVA_TESTNG
APPIUM_PYTHON
APPIUM_NODE
APPIUM_RUBY
*APPIUM_WEB_JAVA_JUNIT
APPIUM_WEB_JAVA_TESTNG
*APPIUM_WEB_PYTHON
APPIUM_WEB_NODE
APPIUM_WEB_RUBY
CALABASH
INSTRUMENTATION
UIAUTOMATION
UIAUTOMATOR
XCTEST
XCTEST_UI
The suite's type.
Must be one of the following values:
BUILTIN_FUZZ
BUILTIN_EXPLORER
Only available * for Android; an app explorer that traverses an Android app, interacting with it * and capturing screenshots at the same time.
APPIUM_JAVA_JUNIT
APPIUM_JAVA_TESTNG
APPIUM_PYTHON
APPIUM_NODE
APPIUM_RUBY
*APPIUM_WEB_JAVA_JUNIT
APPIUM_WEB_JAVA_TESTNG
*APPIUM_WEB_PYTHON
APPIUM_WEB_NODE
APPIUM_WEB_RUBY
CALABASH
INSTRUMENTATION
UIAUTOMATION
UIAUTOMATOR
XCTEST
XCTEST_UI
The suite's type.
Must be one of the following values:
BUILTIN_FUZZ
BUILTIN_EXPLORER
Only available * for Android; an app explorer that traverses an Android app, interacting with it * and capturing screenshots at the same time.
APPIUM_JAVA_JUNIT
APPIUM_JAVA_TESTNG
APPIUM_PYTHON
APPIUM_NODE
APPIUM_RUBY
*APPIUM_WEB_JAVA_JUNIT
APPIUM_WEB_JAVA_TESTNG
*APPIUM_WEB_PYTHON
APPIUM_WEB_NODE
APPIUM_WEB_RUBY
CALABASH
INSTRUMENTATION
UIAUTOMATION
UIAUTOMATOR
XCTEST
XCTEST_UI
The suite's type.
Must be one of the following values:
BUILTIN_FUZZ
BUILTIN_EXPLORER
Only available * for Android; an app explorer that traverses an Android app, interacting with it * and capturing screenshots at the same time.
APPIUM_JAVA_JUNIT
APPIUM_JAVA_TESTNG
APPIUM_PYTHON
APPIUM_NODE
APPIUM_RUBY
*APPIUM_WEB_JAVA_JUNIT
APPIUM_WEB_JAVA_TESTNG
*APPIUM_WEB_PYTHON
APPIUM_WEB_NODE
APPIUM_WEB_RUBY
CALABASH
INSTRUMENTATION
UIAUTOMATION
UIAUTOMATOR
XCTEST
XCTEST_UI
When the suite was created.
*/ inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; } /** *When the suite was created.
*/ inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; } /** *When the suite was created.
*/ inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; } /** *When the suite was created.
*/ inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); } /** *When the suite was created.
*/ inline Suite& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;} /** *When the suite was created.
*/ inline Suite& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;} /** *The suite's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
*PREPARING
RUNNING
COMPLETED
STOPPING
The suite's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
*PREPARING
RUNNING
COMPLETED
STOPPING
The suite's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
*PREPARING
RUNNING
COMPLETED
STOPPING
The suite's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
*PREPARING
RUNNING
COMPLETED
STOPPING
The suite's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
*PREPARING
RUNNING
COMPLETED
STOPPING
The suite's status.
Allowed values include:
PENDING
PENDING_CONCURRENCY
PENDING_DEVICE
PROCESSING
SCHEDULING
*PREPARING
RUNNING
COMPLETED
STOPPING
The suite's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
The suite's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
The suite's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
The suite's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
The suite's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
The suite's result.
Allowed values include:
PENDING
PASSED
WARNED
FAILED
SKIPPED
ERRORED
STOPPED
The suite's start time.
*/ inline const Aws::Utils::DateTime& GetStarted() const{ return m_started; } /** *The suite's start time.
*/ inline bool StartedHasBeenSet() const { return m_startedHasBeenSet; } /** *The suite's start time.
*/ inline void SetStarted(const Aws::Utils::DateTime& value) { m_startedHasBeenSet = true; m_started = value; } /** *The suite's start time.
*/ inline void SetStarted(Aws::Utils::DateTime&& value) { m_startedHasBeenSet = true; m_started = std::move(value); } /** *The suite's start time.
*/ inline Suite& WithStarted(const Aws::Utils::DateTime& value) { SetStarted(value); return *this;} /** *The suite's start time.
*/ inline Suite& WithStarted(Aws::Utils::DateTime&& value) { SetStarted(std::move(value)); return *this;} /** *The suite's stop time.
*/ inline const Aws::Utils::DateTime& GetStopped() const{ return m_stopped; } /** *The suite's stop time.
*/ inline bool StoppedHasBeenSet() const { return m_stoppedHasBeenSet; } /** *The suite's stop time.
*/ inline void SetStopped(const Aws::Utils::DateTime& value) { m_stoppedHasBeenSet = true; m_stopped = value; } /** *The suite's stop time.
*/ inline void SetStopped(Aws::Utils::DateTime&& value) { m_stoppedHasBeenSet = true; m_stopped = std::move(value); } /** *The suite's stop time.
*/ inline Suite& WithStopped(const Aws::Utils::DateTime& value) { SetStopped(value); return *this;} /** *The suite's stop time.
*/ inline Suite& WithStopped(Aws::Utils::DateTime&& value) { SetStopped(std::move(value)); return *this;} /** *The suite's result counters.
*/ inline const Counters& GetCounters() const{ return m_counters; } /** *The suite's result counters.
*/ inline bool CountersHasBeenSet() const { return m_countersHasBeenSet; } /** *The suite's result counters.
*/ inline void SetCounters(const Counters& value) { m_countersHasBeenSet = true; m_counters = value; } /** *The suite's result counters.
*/ inline void SetCounters(Counters&& value) { m_countersHasBeenSet = true; m_counters = std::move(value); } /** *The suite's result counters.
*/ inline Suite& WithCounters(const Counters& value) { SetCounters(value); return *this;} /** *The suite's result counters.
*/ inline Suite& WithCounters(Counters&& value) { SetCounters(std::move(value)); return *this;} /** *A message about the suite's result.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *A message about the suite's result.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *A message about the suite's result.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *A message about the suite's result.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *A message about the suite's result.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *A message about the suite's result.
*/ inline Suite& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *A message about the suite's result.
*/ inline Suite& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *A message about the suite's result.
*/ inline Suite& WithMessage(const char* value) { SetMessage(value); return *this;} /** *Represents the total (metered or unmetered) minutes used by the test * suite.
*/ inline const DeviceMinutes& GetDeviceMinutes() const{ return m_deviceMinutes; } /** *Represents the total (metered or unmetered) minutes used by the test * suite.
*/ inline bool DeviceMinutesHasBeenSet() const { return m_deviceMinutesHasBeenSet; } /** *Represents the total (metered or unmetered) minutes used by the test * suite.
*/ inline void SetDeviceMinutes(const DeviceMinutes& value) { m_deviceMinutesHasBeenSet = true; m_deviceMinutes = value; } /** *Represents the total (metered or unmetered) minutes used by the test * suite.
*/ inline void SetDeviceMinutes(DeviceMinutes&& value) { m_deviceMinutesHasBeenSet = true; m_deviceMinutes = std::move(value); } /** *Represents the total (metered or unmetered) minutes used by the test * suite.
*/ inline Suite& WithDeviceMinutes(const DeviceMinutes& value) { SetDeviceMinutes(value); return *this;} /** *Represents the total (metered or unmetered) minutes used by the test * suite.
*/ inline Suite& WithDeviceMinutes(DeviceMinutes&& value) { SetDeviceMinutes(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; TestType m_type; bool m_typeHasBeenSet = false; Aws::Utils::DateTime m_created; bool m_createdHasBeenSet = false; ExecutionStatus m_status; bool m_statusHasBeenSet = false; ExecutionResult m_result; bool m_resultHasBeenSet = false; Aws::Utils::DateTime m_started; bool m_startedHasBeenSet = false; Aws::Utils::DateTime m_stopped; bool m_stoppedHasBeenSet = false; Counters m_counters; bool m_countersHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; DeviceMinutes m_deviceMinutes; bool m_deviceMinutesHasBeenSet = false; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws