78 lines
2.1 KiB
C++
78 lines
2.1 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/cloud9/Cloud9_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 Cloud9
|
|
{
|
|
namespace Model
|
|
{
|
|
class AWS_CLOUD9_API CreateEnvironmentEC2Result
|
|
{
|
|
public:
|
|
CreateEnvironmentEC2Result();
|
|
CreateEnvironmentEC2Result(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
CreateEnvironmentEC2Result& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* <p>The ID of the environment that was created.</p>
|
|
*/
|
|
inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
|
|
|
|
/**
|
|
* <p>The ID of the environment that was created.</p>
|
|
*/
|
|
inline void SetEnvironmentId(const Aws::String& value) { m_environmentId = value; }
|
|
|
|
/**
|
|
* <p>The ID of the environment that was created.</p>
|
|
*/
|
|
inline void SetEnvironmentId(Aws::String&& value) { m_environmentId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The ID of the environment that was created.</p>
|
|
*/
|
|
inline void SetEnvironmentId(const char* value) { m_environmentId.assign(value); }
|
|
|
|
/**
|
|
* <p>The ID of the environment that was created.</p>
|
|
*/
|
|
inline CreateEnvironmentEC2Result& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The ID of the environment that was created.</p>
|
|
*/
|
|
inline CreateEnvironmentEC2Result& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The ID of the environment that was created.</p>
|
|
*/
|
|
inline CreateEnvironmentEC2Result& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_environmentId;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Cloud9
|
|
} // namespace Aws
|