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

Contains the parameters for * DeleteComputeEnvironment.

See Also:

AWS * API Reference

*/ class DeleteComputeEnvironmentRequest : public BatchRequest { public: AWS_BATCH_API DeleteComputeEnvironmentRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteComputeEnvironment"; } AWS_BATCH_API Aws::String SerializePayload() const override; /** *

The name or Amazon Resource Name (ARN) of the compute environment to * delete.

*/ inline const Aws::String& GetComputeEnvironment() const{ return m_computeEnvironment; } /** *

The name or Amazon Resource Name (ARN) of the compute environment to * delete.

*/ inline bool ComputeEnvironmentHasBeenSet() const { return m_computeEnvironmentHasBeenSet; } /** *

The name or Amazon Resource Name (ARN) of the compute environment to * delete.

*/ inline void SetComputeEnvironment(const Aws::String& value) { m_computeEnvironmentHasBeenSet = true; m_computeEnvironment = value; } /** *

The name or Amazon Resource Name (ARN) of the compute environment to * delete.

*/ inline void SetComputeEnvironment(Aws::String&& value) { m_computeEnvironmentHasBeenSet = true; m_computeEnvironment = std::move(value); } /** *

The name or Amazon Resource Name (ARN) of the compute environment to * delete.

*/ inline void SetComputeEnvironment(const char* value) { m_computeEnvironmentHasBeenSet = true; m_computeEnvironment.assign(value); } /** *

The name or Amazon Resource Name (ARN) of the compute environment to * delete.

*/ inline DeleteComputeEnvironmentRequest& WithComputeEnvironment(const Aws::String& value) { SetComputeEnvironment(value); return *this;} /** *

The name or Amazon Resource Name (ARN) of the compute environment to * delete.

*/ inline DeleteComputeEnvironmentRequest& WithComputeEnvironment(Aws::String&& value) { SetComputeEnvironment(std::move(value)); return *this;} /** *

The name or Amazon Resource Name (ARN) of the compute environment to * delete.

*/ inline DeleteComputeEnvironmentRequest& WithComputeEnvironment(const char* value) { SetComputeEnvironment(value); return *this;} private: Aws::String m_computeEnvironment; bool m_computeEnvironmentHasBeenSet = false; }; } // namespace Model } // namespace Batch } // namespace Aws