AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetDevEnvironmentResult.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/DateTime.h>
10#include <aws/codecatalyst/model/DevEnvironmentStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/codecatalyst/model/InstanceType.h>
13#include <aws/codecatalyst/model/PersistentStorage.h>
14#include <aws/codecatalyst/model/DevEnvironmentRepositorySummary.h>
15#include <aws/codecatalyst/model/Ide.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace CodeCatalyst
31{
32namespace Model
33{
35 {
36 public:
37 AWS_CODECATALYST_API GetDevEnvironmentResult() = default;
40
41
43
46 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
47 template<typename SpaceNameT = Aws::String>
48 void SetSpaceName(SpaceNameT&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::forward<SpaceNameT>(value); }
49 template<typename SpaceNameT = Aws::String>
50 GetDevEnvironmentResult& WithSpaceName(SpaceNameT&& value) { SetSpaceName(std::forward<SpaceNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetProjectName() const { return m_projectName; }
58 template<typename ProjectNameT = Aws::String>
59 void SetProjectName(ProjectNameT&& value) { m_projectNameHasBeenSet = true; m_projectName = std::forward<ProjectNameT>(value); }
60 template<typename ProjectNameT = Aws::String>
61 GetDevEnvironmentResult& WithProjectName(ProjectNameT&& value) { SetProjectName(std::forward<ProjectNameT>(value)); return *this;}
63
65
68 inline const Aws::String& GetId() const { return m_id; }
69 template<typename IdT = Aws::String>
70 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
71 template<typename IdT = Aws::String>
72 GetDevEnvironmentResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
74
76
81 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
82 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
83 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
84 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
85 GetDevEnvironmentResult& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
87
89
93 inline const Aws::String& GetCreatorId() const { return m_creatorId; }
94 template<typename CreatorIdT = Aws::String>
95 void SetCreatorId(CreatorIdT&& value) { m_creatorIdHasBeenSet = true; m_creatorId = std::forward<CreatorIdT>(value); }
96 template<typename CreatorIdT = Aws::String>
97 GetDevEnvironmentResult& WithCreatorId(CreatorIdT&& value) { SetCreatorId(std::forward<CreatorIdT>(value)); return *this;}
99
101
104 inline DevEnvironmentStatus GetStatus() const { return m_status; }
105 inline void SetStatus(DevEnvironmentStatus value) { m_statusHasBeenSet = true; m_status = value; }
106 inline GetDevEnvironmentResult& WithStatus(DevEnvironmentStatus value) { SetStatus(value); return *this;}
108
110
113 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
114 template<typename StatusReasonT = Aws::String>
115 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::forward<StatusReasonT>(value); }
116 template<typename StatusReasonT = Aws::String>
117 GetDevEnvironmentResult& WithStatusReason(StatusReasonT&& value) { SetStatusReason(std::forward<StatusReasonT>(value)); return *this;}
119
121
125 inline const Aws::Vector<DevEnvironmentRepositorySummary>& GetRepositories() const { return m_repositories; }
126 template<typename RepositoriesT = Aws::Vector<DevEnvironmentRepositorySummary>>
127 void SetRepositories(RepositoriesT&& value) { m_repositoriesHasBeenSet = true; m_repositories = std::forward<RepositoriesT>(value); }
128 template<typename RepositoriesT = Aws::Vector<DevEnvironmentRepositorySummary>>
129 GetDevEnvironmentResult& WithRepositories(RepositoriesT&& value) { SetRepositories(std::forward<RepositoriesT>(value)); return *this;}
130 template<typename RepositoriesT = DevEnvironmentRepositorySummary>
131 GetDevEnvironmentResult& AddRepositories(RepositoriesT&& value) { m_repositoriesHasBeenSet = true; m_repositories.emplace_back(std::forward<RepositoriesT>(value)); return *this; }
133
135
138 inline const Aws::String& GetAlias() const { return m_alias; }
139 template<typename AliasT = Aws::String>
140 void SetAlias(AliasT&& value) { m_aliasHasBeenSet = true; m_alias = std::forward<AliasT>(value); }
141 template<typename AliasT = Aws::String>
142 GetDevEnvironmentResult& WithAlias(AliasT&& value) { SetAlias(std::forward<AliasT>(value)); return *this;}
144
146
150 inline const Aws::Vector<Ide>& GetIdes() const { return m_ides; }
151 template<typename IdesT = Aws::Vector<Ide>>
152 void SetIdes(IdesT&& value) { m_idesHasBeenSet = true; m_ides = std::forward<IdesT>(value); }
153 template<typename IdesT = Aws::Vector<Ide>>
154 GetDevEnvironmentResult& WithIdes(IdesT&& value) { SetIdes(std::forward<IdesT>(value)); return *this;}
155 template<typename IdesT = Ide>
156 GetDevEnvironmentResult& AddIdes(IdesT&& value) { m_idesHasBeenSet = true; m_ides.emplace_back(std::forward<IdesT>(value)); return *this; }
158
160
163 inline InstanceType GetInstanceType() const { return m_instanceType; }
164 inline void SetInstanceType(InstanceType value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
167
169
173 inline int GetInactivityTimeoutMinutes() const { return m_inactivityTimeoutMinutes; }
174 inline void SetInactivityTimeoutMinutes(int value) { m_inactivityTimeoutMinutesHasBeenSet = true; m_inactivityTimeoutMinutes = value; }
177
179
183 inline const PersistentStorage& GetPersistentStorage() const { return m_persistentStorage; }
184 template<typename PersistentStorageT = PersistentStorage>
185 void SetPersistentStorage(PersistentStorageT&& value) { m_persistentStorageHasBeenSet = true; m_persistentStorage = std::forward<PersistentStorageT>(value); }
186 template<typename PersistentStorageT = PersistentStorage>
187 GetDevEnvironmentResult& WithPersistentStorage(PersistentStorageT&& value) { SetPersistentStorage(std::forward<PersistentStorageT>(value)); return *this;}
189
191
195 inline const Aws::String& GetVpcConnectionName() const { return m_vpcConnectionName; }
196 template<typename VpcConnectionNameT = Aws::String>
197 void SetVpcConnectionName(VpcConnectionNameT&& value) { m_vpcConnectionNameHasBeenSet = true; m_vpcConnectionName = std::forward<VpcConnectionNameT>(value); }
198 template<typename VpcConnectionNameT = Aws::String>
199 GetDevEnvironmentResult& WithVpcConnectionName(VpcConnectionNameT&& value) { SetVpcConnectionName(std::forward<VpcConnectionNameT>(value)); return *this;}
201
203
204 inline const Aws::String& GetRequestId() const { return m_requestId; }
205 template<typename RequestIdT = Aws::String>
206 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
207 template<typename RequestIdT = Aws::String>
208 GetDevEnvironmentResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
210 private:
211
212 Aws::String m_spaceName;
213 bool m_spaceNameHasBeenSet = false;
214
215 Aws::String m_projectName;
216 bool m_projectNameHasBeenSet = false;
217
218 Aws::String m_id;
219 bool m_idHasBeenSet = false;
220
221 Aws::Utils::DateTime m_lastUpdatedTime{};
222 bool m_lastUpdatedTimeHasBeenSet = false;
223
224 Aws::String m_creatorId;
225 bool m_creatorIdHasBeenSet = false;
226
228 bool m_statusHasBeenSet = false;
229
230 Aws::String m_statusReason;
231 bool m_statusReasonHasBeenSet = false;
232
234 bool m_repositoriesHasBeenSet = false;
235
236 Aws::String m_alias;
237 bool m_aliasHasBeenSet = false;
238
239 Aws::Vector<Ide> m_ides;
240 bool m_idesHasBeenSet = false;
241
242 InstanceType m_instanceType{InstanceType::NOT_SET};
243 bool m_instanceTypeHasBeenSet = false;
244
245 int m_inactivityTimeoutMinutes{0};
246 bool m_inactivityTimeoutMinutesHasBeenSet = false;
247
248 PersistentStorage m_persistentStorage;
249 bool m_persistentStorageHasBeenSet = false;
250
251 Aws::String m_vpcConnectionName;
252 bool m_vpcConnectionNameHasBeenSet = false;
253
254 Aws::String m_requestId;
255 bool m_requestIdHasBeenSet = false;
256 };
257
258} // namespace Model
259} // namespace CodeCatalyst
260} // namespace Aws
GetDevEnvironmentResult & AddIdes(IdesT &&value)
GetDevEnvironmentResult & WithAlias(AliasT &&value)
GetDevEnvironmentResult & AddRepositories(RepositoriesT &&value)
GetDevEnvironmentResult & WithInstanceType(InstanceType value)
GetDevEnvironmentResult & WithVpcConnectionName(VpcConnectionNameT &&value)
AWS_CODECATALYST_API GetDevEnvironmentResult()=default
const Aws::Utils::DateTime & GetLastUpdatedTime() const
GetDevEnvironmentResult & WithStatusReason(StatusReasonT &&value)
GetDevEnvironmentResult & WithStatus(DevEnvironmentStatus value)
GetDevEnvironmentResult & WithInactivityTimeoutMinutes(int value)
GetDevEnvironmentResult & WithProjectName(ProjectNameT &&value)
GetDevEnvironmentResult & WithRequestId(RequestIdT &&value)
GetDevEnvironmentResult & WithRepositories(RepositoriesT &&value)
GetDevEnvironmentResult & WithPersistentStorage(PersistentStorageT &&value)
GetDevEnvironmentResult & WithLastUpdatedTime(LastUpdatedTimeT &&value)
GetDevEnvironmentResult & WithIdes(IdesT &&value)
GetDevEnvironmentResult & WithSpaceName(SpaceNameT &&value)
const Aws::Vector< DevEnvironmentRepositorySummary > & GetRepositories() const
AWS_CODECATALYST_API GetDevEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDevEnvironmentResult & WithCreatorId(CreatorIdT &&value)
AWS_CODECATALYST_API GetDevEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue