AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDevEnvironmentResult.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/codecatalyst/model/InstanceType.h>
11#include <aws/codecatalyst/model/IdeConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace CodeCatalyst
27{
28namespace Model
29{
31 {
32 public:
33 AWS_CODECATALYST_API UpdateDevEnvironmentResult();
36
37
39
42 inline const Aws::String& GetId() const{ return m_id; }
43 inline void SetId(const Aws::String& value) { m_id = value; }
44 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
45 inline void SetId(const char* value) { m_id.assign(value); }
46 inline UpdateDevEnvironmentResult& WithId(const Aws::String& value) { SetId(value); return *this;}
47 inline UpdateDevEnvironmentResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
48 inline UpdateDevEnvironmentResult& WithId(const char* value) { SetId(value); return *this;}
50
52
55 inline const Aws::String& GetSpaceName() const{ return m_spaceName; }
56 inline void SetSpaceName(const Aws::String& value) { m_spaceName = value; }
57 inline void SetSpaceName(Aws::String&& value) { m_spaceName = std::move(value); }
58 inline void SetSpaceName(const char* value) { m_spaceName.assign(value); }
59 inline UpdateDevEnvironmentResult& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;}
60 inline UpdateDevEnvironmentResult& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;}
61 inline UpdateDevEnvironmentResult& WithSpaceName(const char* value) { SetSpaceName(value); return *this;}
63
65
68 inline const Aws::String& GetProjectName() const{ return m_projectName; }
69 inline void SetProjectName(const Aws::String& value) { m_projectName = value; }
70 inline void SetProjectName(Aws::String&& value) { m_projectName = std::move(value); }
71 inline void SetProjectName(const char* value) { m_projectName.assign(value); }
72 inline UpdateDevEnvironmentResult& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
73 inline UpdateDevEnvironmentResult& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
74 inline UpdateDevEnvironmentResult& WithProjectName(const char* value) { SetProjectName(value); return *this;}
76
78
81 inline const Aws::String& GetAlias() const{ return m_alias; }
82 inline void SetAlias(const Aws::String& value) { m_alias = value; }
83 inline void SetAlias(Aws::String&& value) { m_alias = std::move(value); }
84 inline void SetAlias(const char* value) { m_alias.assign(value); }
85 inline UpdateDevEnvironmentResult& WithAlias(const Aws::String& value) { SetAlias(value); return *this;}
86 inline UpdateDevEnvironmentResult& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;}
87 inline UpdateDevEnvironmentResult& WithAlias(const char* value) { SetAlias(value); return *this;}
89
91
95 inline const Aws::Vector<IdeConfiguration>& GetIdes() const{ return m_ides; }
96 inline void SetIdes(const Aws::Vector<IdeConfiguration>& value) { m_ides = value; }
97 inline void SetIdes(Aws::Vector<IdeConfiguration>&& value) { m_ides = std::move(value); }
98 inline UpdateDevEnvironmentResult& WithIdes(const Aws::Vector<IdeConfiguration>& value) { SetIdes(value); return *this;}
99 inline UpdateDevEnvironmentResult& WithIdes(Aws::Vector<IdeConfiguration>&& value) { SetIdes(std::move(value)); return *this;}
100 inline UpdateDevEnvironmentResult& AddIdes(const IdeConfiguration& value) { m_ides.push_back(value); return *this; }
101 inline UpdateDevEnvironmentResult& AddIdes(IdeConfiguration&& value) { m_ides.push_back(std::move(value)); return *this; }
103
105
108 inline const InstanceType& GetInstanceType() const{ return m_instanceType; }
109 inline void SetInstanceType(const InstanceType& value) { m_instanceType = value; }
110 inline void SetInstanceType(InstanceType&& value) { m_instanceType = std::move(value); }
111 inline UpdateDevEnvironmentResult& WithInstanceType(const InstanceType& value) { SetInstanceType(value); return *this;}
112 inline UpdateDevEnvironmentResult& WithInstanceType(InstanceType&& value) { SetInstanceType(std::move(value)); return *this;}
114
116
120 inline int GetInactivityTimeoutMinutes() const{ return m_inactivityTimeoutMinutes; }
121 inline void SetInactivityTimeoutMinutes(int value) { m_inactivityTimeoutMinutes = value; }
124
126
132 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
133 inline void SetClientToken(const Aws::String& value) { m_clientToken = value; }
134 inline void SetClientToken(Aws::String&& value) { m_clientToken = std::move(value); }
135 inline void SetClientToken(const char* value) { m_clientToken.assign(value); }
136 inline UpdateDevEnvironmentResult& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
137 inline UpdateDevEnvironmentResult& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
138 inline UpdateDevEnvironmentResult& WithClientToken(const char* value) { SetClientToken(value); return *this;}
140
142
143 inline const Aws::String& GetRequestId() const{ return m_requestId; }
144 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
145 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
146 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
147 inline UpdateDevEnvironmentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
148 inline UpdateDevEnvironmentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
149 inline UpdateDevEnvironmentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
151 private:
152
153 Aws::String m_id;
154
155 Aws::String m_spaceName;
156
157 Aws::String m_projectName;
158
159 Aws::String m_alias;
160
162
163 InstanceType m_instanceType;
164
165 int m_inactivityTimeoutMinutes;
166
167 Aws::String m_clientToken;
168
169 Aws::String m_requestId;
170 };
171
172} // namespace Model
173} // namespace CodeCatalyst
174} // namespace Aws
UpdateDevEnvironmentResult & AddIdes(IdeConfiguration &&value)
void SetIdes(Aws::Vector< IdeConfiguration > &&value)
UpdateDevEnvironmentResult & WithAlias(const char *value)
AWS_CODECATALYST_API UpdateDevEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDevEnvironmentResult & WithProjectName(Aws::String &&value)
UpdateDevEnvironmentResult & WithIdes(const Aws::Vector< IdeConfiguration > &value)
UpdateDevEnvironmentResult & WithRequestId(const char *value)
UpdateDevEnvironmentResult & WithId(const Aws::String &value)
UpdateDevEnvironmentResult & WithClientToken(const char *value)
UpdateDevEnvironmentResult & WithProjectName(const Aws::String &value)
UpdateDevEnvironmentResult & WithId(const char *value)
UpdateDevEnvironmentResult & WithInstanceType(InstanceType &&value)
UpdateDevEnvironmentResult & WithRequestId(const Aws::String &value)
UpdateDevEnvironmentResult & WithId(Aws::String &&value)
UpdateDevEnvironmentResult & WithSpaceName(const Aws::String &value)
UpdateDevEnvironmentResult & WithInstanceType(const InstanceType &value)
const Aws::Vector< IdeConfiguration > & GetIdes() const
AWS_CODECATALYST_API UpdateDevEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetIdes(const Aws::Vector< IdeConfiguration > &value)
UpdateDevEnvironmentResult & WithRequestId(Aws::String &&value)
UpdateDevEnvironmentResult & WithProjectName(const char *value)
UpdateDevEnvironmentResult & WithAlias(const Aws::String &value)
UpdateDevEnvironmentResult & WithAlias(Aws::String &&value)
UpdateDevEnvironmentResult & WithClientToken(const Aws::String &value)
UpdateDevEnvironmentResult & WithInactivityTimeoutMinutes(int value)
UpdateDevEnvironmentResult & WithIdes(Aws::Vector< IdeConfiguration > &&value)
UpdateDevEnvironmentResult & WithClientToken(Aws::String &&value)
UpdateDevEnvironmentResult & AddIdes(const IdeConfiguration &value)
UpdateDevEnvironmentResult & WithSpaceName(Aws::String &&value)
UpdateDevEnvironmentResult & WithSpaceName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue