/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Batch { namespace Model { class AWS_BATCH_API CreateComputeEnvironmentResult { public: CreateComputeEnvironmentResult(); CreateComputeEnvironmentResult(const Aws::AmazonWebServiceResult& result); CreateComputeEnvironmentResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the compute environment.

*/ inline const Aws::String& GetComputeEnvironmentName() const{ return m_computeEnvironmentName; } /** *

The name of the compute environment.

*/ inline void SetComputeEnvironmentName(const Aws::String& value) { m_computeEnvironmentName = value; } /** *

The name of the compute environment.

*/ inline void SetComputeEnvironmentName(Aws::String&& value) { m_computeEnvironmentName = std::move(value); } /** *

The name of the compute environment.

*/ inline void SetComputeEnvironmentName(const char* value) { m_computeEnvironmentName.assign(value); } /** *

The name of the compute environment.

*/ inline CreateComputeEnvironmentResult& WithComputeEnvironmentName(const Aws::String& value) { SetComputeEnvironmentName(value); return *this;} /** *

The name of the compute environment.

*/ inline CreateComputeEnvironmentResult& WithComputeEnvironmentName(Aws::String&& value) { SetComputeEnvironmentName(std::move(value)); return *this;} /** *

The name of the compute environment.

*/ inline CreateComputeEnvironmentResult& WithComputeEnvironmentName(const char* value) { SetComputeEnvironmentName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the compute environment.

*/ inline const Aws::String& GetComputeEnvironmentArn() const{ return m_computeEnvironmentArn; } /** *

The Amazon Resource Name (ARN) of the compute environment.

*/ inline void SetComputeEnvironmentArn(const Aws::String& value) { m_computeEnvironmentArn = value; } /** *

The Amazon Resource Name (ARN) of the compute environment.

*/ inline void SetComputeEnvironmentArn(Aws::String&& value) { m_computeEnvironmentArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the compute environment.

*/ inline void SetComputeEnvironmentArn(const char* value) { m_computeEnvironmentArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the compute environment.

*/ inline CreateComputeEnvironmentResult& WithComputeEnvironmentArn(const Aws::String& value) { SetComputeEnvironmentArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the compute environment.

*/ inline CreateComputeEnvironmentResult& WithComputeEnvironmentArn(Aws::String&& value) { SetComputeEnvironmentArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the compute environment.

*/ inline CreateComputeEnvironmentResult& WithComputeEnvironmentArn(const char* value) { SetComputeEnvironmentArn(value); return *this;} private: Aws::String m_computeEnvironmentName; Aws::String m_computeEnvironmentArn; }; } // namespace Model } // namespace Batch } // namespace Aws