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

Represents an operating-system neutral workspace for running and managing * tests.

See Also:

AWS * API Reference

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

The project's ARN.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The project's ARN.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The project's ARN.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The project's ARN.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The project's ARN.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The project's ARN.

*/ inline Project& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The project's ARN.

*/ inline Project& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The project's ARN.

*/ inline Project& WithArn(const char* value) { SetArn(value); return *this;} /** *

The project's name.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The project's name.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The project's name.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The project's name.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The project's name.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The project's name.

*/ inline Project& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The project's name.

*/ inline Project& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The project's name.

*/ inline Project& WithName(const char* value) { SetName(value); return *this;} /** *

The default number of minutes (at the project level) a test run executes * before it times out. The default value is 150 minutes.

*/ inline int GetDefaultJobTimeoutMinutes() const{ return m_defaultJobTimeoutMinutes; } /** *

The default number of minutes (at the project level) a test run executes * before it times out. The default value is 150 minutes.

*/ inline bool DefaultJobTimeoutMinutesHasBeenSet() const { return m_defaultJobTimeoutMinutesHasBeenSet; } /** *

The default number of minutes (at the project level) a test run executes * before it times out. The default value is 150 minutes.

*/ inline void SetDefaultJobTimeoutMinutes(int value) { m_defaultJobTimeoutMinutesHasBeenSet = true; m_defaultJobTimeoutMinutes = value; } /** *

The default number of minutes (at the project level) a test run executes * before it times out. The default value is 150 minutes.

*/ inline Project& WithDefaultJobTimeoutMinutes(int value) { SetDefaultJobTimeoutMinutes(value); return *this;} /** *

When the project was created.

*/ inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; } /** *

When the project was created.

*/ inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; } /** *

When the project was created.

*/ inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; } /** *

When the project was created.

*/ inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); } /** *

When the project was created.

*/ inline Project& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;} /** *

When the project was created.

*/ inline Project& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet; Aws::String m_name; bool m_nameHasBeenSet; int m_defaultJobTimeoutMinutes; bool m_defaultJobTimeoutMinutesHasBeenSet; Aws::Utils::DateTime m_created; bool m_createdHasBeenSet; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws