AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CodeCatalyst {
25namespace Model {
27 public:
28 AWS_CODECATALYST_API UpdateDevEnvironmentResult() = default;
31
33
36 inline const Aws::String& GetId() const { return m_id; }
37 template <typename IdT = Aws::String>
38 void SetId(IdT&& value) {
39 m_idHasBeenSet = true;
40 m_id = std::forward<IdT>(value);
41 }
42 template <typename IdT = Aws::String>
44 SetId(std::forward<IdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
54 template <typename SpaceNameT = Aws::String>
55 void SetSpaceName(SpaceNameT&& value) {
56 m_spaceNameHasBeenSet = true;
57 m_spaceName = std::forward<SpaceNameT>(value);
58 }
59 template <typename SpaceNameT = Aws::String>
61 SetSpaceName(std::forward<SpaceNameT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetProjectName() const { return m_projectName; }
71 template <typename ProjectNameT = Aws::String>
72 void SetProjectName(ProjectNameT&& value) {
73 m_projectNameHasBeenSet = true;
74 m_projectName = std::forward<ProjectNameT>(value);
75 }
76 template <typename ProjectNameT = Aws::String>
78 SetProjectName(std::forward<ProjectNameT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetAlias() const { return m_alias; }
88 template <typename AliasT = Aws::String>
89 void SetAlias(AliasT&& value) {
90 m_aliasHasBeenSet = true;
91 m_alias = std::forward<AliasT>(value);
92 }
93 template <typename AliasT = Aws::String>
95 SetAlias(std::forward<AliasT>(value));
96 return *this;
97 }
99
101
105 inline const Aws::Vector<IdeConfiguration>& GetIdes() const { return m_ides; }
106 template <typename IdesT = Aws::Vector<IdeConfiguration>>
107 void SetIdes(IdesT&& value) {
108 m_idesHasBeenSet = true;
109 m_ides = std::forward<IdesT>(value);
110 }
111 template <typename IdesT = Aws::Vector<IdeConfiguration>>
113 SetIdes(std::forward<IdesT>(value));
114 return *this;
115 }
116 template <typename IdesT = IdeConfiguration>
118 m_idesHasBeenSet = true;
119 m_ides.emplace_back(std::forward<IdesT>(value));
120 return *this;
121 }
123
125
128 inline InstanceType GetInstanceType() const { return m_instanceType; }
129 inline void SetInstanceType(InstanceType value) {
130 m_instanceTypeHasBeenSet = true;
131 m_instanceType = value;
132 }
134 SetInstanceType(value);
135 return *this;
136 }
138
140
144 inline int GetInactivityTimeoutMinutes() const { return m_inactivityTimeoutMinutes; }
145 inline void SetInactivityTimeoutMinutes(int value) {
146 m_inactivityTimeoutMinutesHasBeenSet = true;
147 m_inactivityTimeoutMinutes = value;
148 }
151 return *this;
152 }
154
156
162 inline const Aws::String& GetClientToken() const { return m_clientToken; }
163 template <typename ClientTokenT = Aws::String>
164 void SetClientToken(ClientTokenT&& value) {
165 m_clientTokenHasBeenSet = true;
166 m_clientToken = std::forward<ClientTokenT>(value);
167 }
168 template <typename ClientTokenT = Aws::String>
170 SetClientToken(std::forward<ClientTokenT>(value));
171 return *this;
172 }
174
176
177 inline const Aws::String& GetRequestId() const { return m_requestId; }
178 template <typename RequestIdT = Aws::String>
179 void SetRequestId(RequestIdT&& value) {
180 m_requestIdHasBeenSet = true;
181 m_requestId = std::forward<RequestIdT>(value);
182 }
183 template <typename RequestIdT = Aws::String>
185 SetRequestId(std::forward<RequestIdT>(value));
186 return *this;
187 }
189 private:
190 Aws::String m_id;
191
192 Aws::String m_spaceName;
193
194 Aws::String m_projectName;
195
196 Aws::String m_alias;
197
199
200 InstanceType m_instanceType{InstanceType::NOT_SET};
201
202 int m_inactivityTimeoutMinutes{0};
203
204 Aws::String m_clientToken;
205
206 Aws::String m_requestId;
207 bool m_idHasBeenSet = false;
208 bool m_spaceNameHasBeenSet = false;
209 bool m_projectNameHasBeenSet = false;
210 bool m_aliasHasBeenSet = false;
211 bool m_idesHasBeenSet = false;
212 bool m_instanceTypeHasBeenSet = false;
213 bool m_inactivityTimeoutMinutesHasBeenSet = false;
214 bool m_clientTokenHasBeenSet = false;
215 bool m_requestIdHasBeenSet = false;
216};
217
218} // namespace Model
219} // namespace CodeCatalyst
220} // 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