1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/cloud9/Cloud9_EXPORTS.h>
8 #include <aws/core/utils/memory/stl/AWSString.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20   class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Cloud9
24 {
25 namespace Model
26 {
27   class AWS_CLOUD9_API CreateEnvironmentEC2Result
28   {
29   public:
30     CreateEnvironmentEC2Result();
31     CreateEnvironmentEC2Result(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
32     CreateEnvironmentEC2Result& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
33 
34 
35     /**
36      * <p>The ID of the environment that was created.</p>
37      */
GetEnvironmentId()38     inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
39 
40     /**
41      * <p>The ID of the environment that was created.</p>
42      */
SetEnvironmentId(const Aws::String & value)43     inline void SetEnvironmentId(const Aws::String& value) { m_environmentId = value; }
44 
45     /**
46      * <p>The ID of the environment that was created.</p>
47      */
SetEnvironmentId(Aws::String && value)48     inline void SetEnvironmentId(Aws::String&& value) { m_environmentId = std::move(value); }
49 
50     /**
51      * <p>The ID of the environment that was created.</p>
52      */
SetEnvironmentId(const char * value)53     inline void SetEnvironmentId(const char* value) { m_environmentId.assign(value); }
54 
55     /**
56      * <p>The ID of the environment that was created.</p>
57      */
WithEnvironmentId(const Aws::String & value)58     inline CreateEnvironmentEC2Result& WithEnvironmentId(const Aws::String& value) { SetEnvironmentId(value); return *this;}
59 
60     /**
61      * <p>The ID of the environment that was created.</p>
62      */
WithEnvironmentId(Aws::String && value)63     inline CreateEnvironmentEC2Result& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
64 
65     /**
66      * <p>The ID of the environment that was created.</p>
67      */
WithEnvironmentId(const char * value)68     inline CreateEnvironmentEC2Result& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
69 
70   private:
71 
72     Aws::String m_environmentId;
73   };
74 
75 } // namespace Model
76 } // namespace Cloud9
77 } // namespace Aws
78