/** * 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 DeviceFarm { namespace Model { /** *

A Selenium testing project. Projects are used to collect and collate * sessions.

See Also:

AWS * API Reference

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

The ARN for the project.

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

The ARN for the project.

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

The ARN for the project.

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

The ARN for the project.

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

The ARN for the project.

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

The ARN for the project.

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

The ARN for the project.

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

The ARN for the project.

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

A human-readable name for the project.

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

A human-readable name for the project.

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

A human-readable name for the project.

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

A human-readable name for the project.

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

A human-readable name for the project.

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

A human-readable name for the project.

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

A human-readable name for the project.

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

A human-readable name for the project.

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

A human-readable description for the project.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A human-readable description for the project.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A human-readable description for the project.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A human-readable description for the project.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A human-readable description for the project.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A human-readable description for the project.

*/ inline TestGridProject& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A human-readable description for the project.

*/ inline TestGridProject& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A human-readable description for the project.

*/ inline TestGridProject& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The VPC security groups and subnets that are attached to a project.

*/ inline const TestGridVpcConfig& GetVpcConfig() const{ return m_vpcConfig; } /** *

The VPC security groups and subnets that are attached to a project.

*/ inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; } /** *

The VPC security groups and subnets that are attached to a project.

*/ inline void SetVpcConfig(const TestGridVpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; } /** *

The VPC security groups and subnets that are attached to a project.

*/ inline void SetVpcConfig(TestGridVpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); } /** *

The VPC security groups and subnets that are attached to a project.

*/ inline TestGridProject& WithVpcConfig(const TestGridVpcConfig& value) { SetVpcConfig(value); return *this;} /** *

The VPC security groups and subnets that are attached to a project.

*/ inline TestGridProject& WithVpcConfig(TestGridVpcConfig&& value) { SetVpcConfig(std::move(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 TestGridProject& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;} /** *

When the project was created.

*/ inline TestGridProject& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; TestGridVpcConfig m_vpcConfig; bool m_vpcConfigHasBeenSet = false; Aws::Utils::DateTime m_created; bool m_createdHasBeenSet = false; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws