/** * 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 Cloud9 { namespace Model { class AWS_CLOUD9_API CreateEnvironmentEC2Result { public: CreateEnvironmentEC2Result(); CreateEnvironmentEC2Result(const Aws::AmazonWebServiceResult& result); CreateEnvironmentEC2Result& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the environment that was created.

*/ inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; } /** *

The ID of the environment that was created.

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

The ID of the environment that was created.

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

The ID of the environment that was created.

*/ inline void SetEnvironmentId(const char* value) { m_environmentId.assign(value); } /** *

The ID of the environment that was created.

*/ inline CreateEnvironmentEC2Result& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;} /** *

The ID of the environment that was created.

*/ inline CreateEnvironmentEC2Result& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;} /** *

The ID of the environment that was created.

*/ inline CreateEnvironmentEC2Result& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;} private: Aws::String m_environmentId; }; } // namespace Model } // namespace Cloud9 } // namespace Aws