116 lines
3.7 KiB
C
116 lines
3.7 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/batch/Batch_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
template<typename RESULT_TYPE>
|
|||
|
|
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<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
CreateComputeEnvironmentResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the compute environment.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetComputeEnvironmentName() const{ return m_computeEnvironmentName; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the compute environment.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetComputeEnvironmentName(const Aws::String& value) { m_computeEnvironmentName = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the compute environment.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetComputeEnvironmentName(Aws::String&& value) { m_computeEnvironmentName = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the compute environment.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetComputeEnvironmentName(const char* value) { m_computeEnvironmentName.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the compute environment.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateComputeEnvironmentResult& WithComputeEnvironmentName(const Aws::String& value) { SetComputeEnvironmentName(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the compute environment.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateComputeEnvironmentResult& WithComputeEnvironmentName(Aws::String&& value) { SetComputeEnvironmentName(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the compute environment.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateComputeEnvironmentResult& WithComputeEnvironmentName(const char* value) { SetComputeEnvironmentName(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the compute environment.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetComputeEnvironmentArn() const{ return m_computeEnvironmentArn; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the compute environment.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetComputeEnvironmentArn(const Aws::String& value) { m_computeEnvironmentArn = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the compute environment.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetComputeEnvironmentArn(Aws::String&& value) { m_computeEnvironmentArn = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the compute environment.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetComputeEnvironmentArn(const char* value) { m_computeEnvironmentArn.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the compute environment.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateComputeEnvironmentResult& WithComputeEnvironmentArn(const Aws::String& value) { SetComputeEnvironmentArn(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the compute environment.</p>
|
|||
|
|
*/
|
|||
|
|
inline CreateComputeEnvironmentResult& WithComputeEnvironmentArn(Aws::String&& value) { SetComputeEnvironmentArn(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the compute environment.</p>
|
|||
|
|
*/
|
|||
|
|
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
|