/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents a request to the update project operation.See
* Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the project whose name to update.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the project whose name to update.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the project whose name to update.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the project whose name to update.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the project whose name to update.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the project whose name to update.
*/ inline UpdateProjectRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the project whose name to update.
*/ inline UpdateProjectRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the project whose name to update.
*/ inline UpdateProjectRequest& WithArn(const char* value) { SetArn(value); return *this;} /** *A string that represents the new name of the project that you are * updating.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *A string that represents the new name of the project that you are * updating.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *A string that represents the new name of the project that you are * updating.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *A string that represents the new name of the project that you are * updating.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *A string that represents the new name of the project that you are * updating.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *A string that represents the new name of the project that you are * updating.
*/ inline UpdateProjectRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *A string that represents the new name of the project that you are * updating.
*/ inline UpdateProjectRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *A string that represents the new name of the project that you are * updating.
*/ inline UpdateProjectRequest& WithName(const char* value) { SetName(value); return *this;} /** *The number of minutes a test run in the project executes before it times * out.
*/ inline int GetDefaultJobTimeoutMinutes() const{ return m_defaultJobTimeoutMinutes; } /** *The number of minutes a test run in the project executes before it times * out.
*/ inline bool DefaultJobTimeoutMinutesHasBeenSet() const { return m_defaultJobTimeoutMinutesHasBeenSet; } /** *The number of minutes a test run in the project executes before it times * out.
*/ inline void SetDefaultJobTimeoutMinutes(int value) { m_defaultJobTimeoutMinutesHasBeenSet = true; m_defaultJobTimeoutMinutes = value; } /** *The number of minutes a test run in the project executes before it times * out.
*/ inline UpdateProjectRequest& WithDefaultJobTimeoutMinutes(int value) { SetDefaultJobTimeoutMinutes(value); return *this;} /** *The VPC security groups and subnets that are attached to a project.
*/ inline const VpcConfig& 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 VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; } /** *The VPC security groups and subnets that are attached to a project.
*/ inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); } /** *The VPC security groups and subnets that are attached to a project.
*/ inline UpdateProjectRequest& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;} /** *The VPC security groups and subnets that are attached to a project.
*/ inline UpdateProjectRequest& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; int m_defaultJobTimeoutMinutes; bool m_defaultJobTimeoutMinutesHasBeenSet = false; VpcConfig m_vpcConfig; bool m_vpcConfigHasBeenSet = false; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws