AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
UpdateDevEnvironmentResult.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/codecatalyst/model/IdeConfiguration.h>
9#include <aws/codecatalyst/model/InstanceType.h>
10#include <aws/core/http/HttpResponse.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace CodeCatalyst {
26namespace Model {
28 public:
29 AWS_CODECATALYST_API UpdateDevEnvironmentResult() = default;
32
34
37 inline const Aws::String& GetId() const { return m_id; }
38 template <typename IdT = Aws::String>
39 void SetId(IdT&& value) {
40 m_idHasBeenSet = true;
41 m_id = std::forward<IdT>(value);
42 }
43 template <typename IdT = Aws::String>
45 SetId(std::forward<IdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
55 template <typename SpaceNameT = Aws::String>
56 void SetSpaceName(SpaceNameT&& value) {
57 m_spaceNameHasBeenSet = true;
58 m_spaceName = std::forward<SpaceNameT>(value);
59 }
60 template <typename SpaceNameT = Aws::String>
62 SetSpaceName(std::forward<SpaceNameT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetProjectName() const { return m_projectName; }
72 template <typename ProjectNameT = Aws::String>
73 void SetProjectName(ProjectNameT&& value) {
74 m_projectNameHasBeenSet = true;
75 m_projectName = std::forward<ProjectNameT>(value);
76 }
77 template <typename ProjectNameT = Aws::String>
79 SetProjectName(std::forward<ProjectNameT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetAlias() const { return m_alias; }
89 template <typename AliasT = Aws::String>
90 void SetAlias(AliasT&& value) {
91 m_aliasHasBeenSet = true;
92 m_alias = std::forward<AliasT>(value);
93 }
94 template <typename AliasT = Aws::String>
96 SetAlias(std::forward<AliasT>(value));
97 return *this;
98 }
100
102
106 inline const Aws::Vector<IdeConfiguration>& GetIdes() const { return m_ides; }
107 template <typename IdesT = Aws::Vector<IdeConfiguration>>
108 void SetIdes(IdesT&& value) {
109 m_idesHasBeenSet = true;
110 m_ides = std::forward<IdesT>(value);
111 }
112 template <typename IdesT = Aws::Vector<IdeConfiguration>>
114 SetIdes(std::forward<IdesT>(value));
115 return *this;
116 }
117 template <typename IdesT = IdeConfiguration>
119 m_idesHasBeenSet = true;
120 m_ides.emplace_back(std::forward<IdesT>(value));
121 return *this;
122 }
124
126
129 inline InstanceType GetInstanceType() const { return m_instanceType; }
130 inline void SetInstanceType(InstanceType value) {
131 m_instanceTypeHasBeenSet = true;
132 m_instanceType = value;
133 }
135 SetInstanceType(value);
136 return *this;
137 }
139
141
145 inline int GetInactivityTimeoutMinutes() const { return m_inactivityTimeoutMinutes; }
146 inline void SetInactivityTimeoutMinutes(int value) {
147 m_inactivityTimeoutMinutesHasBeenSet = true;
148 m_inactivityTimeoutMinutes = value;
149 }
152 return *this;
153 }
155
157
163 inline const Aws::String& GetClientToken() const { return m_clientToken; }
164 template <typename ClientTokenT = Aws::String>
165 void SetClientToken(ClientTokenT&& value) {
166 m_clientTokenHasBeenSet = true;
167 m_clientToken = std::forward<ClientTokenT>(value);
168 }
169 template <typename ClientTokenT = Aws::String>
171 SetClientToken(std::forward<ClientTokenT>(value));
172 return *this;
173 }
175
177
178 inline const Aws::String& GetRequestId() const { return m_requestId; }
179 template <typename RequestIdT = Aws::String>
180 void SetRequestId(RequestIdT&& value) {
181 m_requestIdHasBeenSet = true;
182 m_requestId = std::forward<RequestIdT>(value);
183 }
184 template <typename RequestIdT = Aws::String>
186 SetRequestId(std::forward<RequestIdT>(value));
187 return *this;
188 }
190 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
191
192 private:
193 Aws::String m_id;
194
195 Aws::String m_spaceName;
196
197 Aws::String m_projectName;
198
199 Aws::String m_alias;
200
202
203 InstanceType m_instanceType{InstanceType::NOT_SET};
204
205 int m_inactivityTimeoutMinutes{0};
206
207 Aws::String m_clientToken;
208
209 Aws::String m_requestId;
210 Aws::Http::HttpResponseCode m_HttpResponseCode;
211 bool m_idHasBeenSet = false;
212 bool m_spaceNameHasBeenSet = false;
213 bool m_projectNameHasBeenSet = false;
214 bool m_aliasHasBeenSet = false;
215 bool m_idesHasBeenSet = false;
216 bool m_instanceTypeHasBeenSet = false;
217 bool m_inactivityTimeoutMinutesHasBeenSet = false;
218 bool m_clientTokenHasBeenSet = false;
219 bool m_requestIdHasBeenSet = false;
220};
221
222} // namespace Model
223} // namespace CodeCatalyst
224} // namespace Aws
UpdateDevEnvironmentResult & WithSpaceName(SpaceNameT &&value)
AWS_CODECATALYST_API UpdateDevEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDevEnvironmentResult & AddIdes(IdesT &&value)
UpdateDevEnvironmentResult & WithProjectName(ProjectNameT &&value)
UpdateDevEnvironmentResult & WithRequestId(RequestIdT &&value)
UpdateDevEnvironmentResult & WithIdes(IdesT &&value)
const Aws::Vector< IdeConfiguration > & GetIdes() const
AWS_CODECATALYST_API UpdateDevEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateDevEnvironmentResult & WithInstanceType(InstanceType value)
UpdateDevEnvironmentResult & WithClientToken(ClientTokenT &&value)
UpdateDevEnvironmentResult & WithInactivityTimeoutMinutes(int value)
AWS_CODECATALYST_API UpdateDevEnvironmentResult()=default
UpdateDevEnvironmentResult & WithAlias(AliasT &&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