AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
46 inline const Aws::String& GetSpaceName() const{ return m_spaceName; }
47 inline void SetSpaceName(const Aws::String& value) { m_spaceName = value; }
48 inline void SetSpaceName(Aws::String&& value) { m_spaceName = std::move(value); }
49 inline void SetSpaceName(const char* value) { m_spaceName.assign(value); }
50 inline GetDevEnvironmentResult& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;}
51 inline GetDevEnvironmentResult& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;}
52 inline GetDevEnvironmentResult& WithSpaceName(const char* value) { SetSpaceName(value); return *this;}
54
56
59 inline const Aws::String& GetProjectName() const{ return m_projectName; }
60 inline void SetProjectName(const Aws::String& value) { m_projectName = value; }
61 inline void SetProjectName(Aws::String&& value) { m_projectName = std::move(value); }
62 inline void SetProjectName(const char* value) { m_projectName.assign(value); }
63 inline GetDevEnvironmentResult& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
64 inline GetDevEnvironmentResult& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
65 inline GetDevEnvironmentResult& WithProjectName(const char* value) { SetProjectName(value); return *this;}
67
69
72 inline const Aws::String& GetId() const{ return m_id; }
73 inline void SetId(const Aws::String& value) { m_id = value; }
74 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
75 inline void SetId(const char* value) { m_id.assign(value); }
76 inline GetDevEnvironmentResult& WithId(const Aws::String& value) { SetId(value); return *this;}
77 inline GetDevEnvironmentResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
78 inline GetDevEnvironmentResult& WithId(const char* value) { SetId(value); return *this;}
80
82
87 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
88 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTime = value; }
89 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTime = std::move(value); }
91 inline GetDevEnvironmentResult& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
93
95
99 inline const Aws::String& GetCreatorId() const{ return m_creatorId; }
100 inline void SetCreatorId(const Aws::String& value) { m_creatorId = value; }
101 inline void SetCreatorId(Aws::String&& value) { m_creatorId = std::move(value); }
102 inline void SetCreatorId(const char* value) { m_creatorId.assign(value); }
103 inline GetDevEnvironmentResult& WithCreatorId(const Aws::String& value) { SetCreatorId(value); return *this;}
104 inline GetDevEnvironmentResult& WithCreatorId(Aws::String&& value) { SetCreatorId(std::move(value)); return *this;}
105 inline GetDevEnvironmentResult& WithCreatorId(const char* value) { SetCreatorId(value); return *this;}
107
109
112 inline const DevEnvironmentStatus& GetStatus() const{ return m_status; }
113 inline void SetStatus(const DevEnvironmentStatus& value) { m_status = value; }
114 inline void SetStatus(DevEnvironmentStatus&& value) { m_status = std::move(value); }
115 inline GetDevEnvironmentResult& WithStatus(const DevEnvironmentStatus& value) { SetStatus(value); return *this;}
116 inline GetDevEnvironmentResult& WithStatus(DevEnvironmentStatus&& value) { SetStatus(std::move(value)); return *this;}
118
120
123 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
124 inline void SetStatusReason(const Aws::String& value) { m_statusReason = value; }
125 inline void SetStatusReason(Aws::String&& value) { m_statusReason = std::move(value); }
126 inline void SetStatusReason(const char* value) { m_statusReason.assign(value); }
127 inline GetDevEnvironmentResult& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
128 inline GetDevEnvironmentResult& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
129 inline GetDevEnvironmentResult& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
131
133
137 inline const Aws::Vector<DevEnvironmentRepositorySummary>& GetRepositories() const{ return m_repositories; }
138 inline void SetRepositories(const Aws::Vector<DevEnvironmentRepositorySummary>& value) { m_repositories = value; }
139 inline void SetRepositories(Aws::Vector<DevEnvironmentRepositorySummary>&& value) { m_repositories = std::move(value); }
142 inline GetDevEnvironmentResult& AddRepositories(const DevEnvironmentRepositorySummary& value) { m_repositories.push_back(value); return *this; }
143 inline GetDevEnvironmentResult& AddRepositories(DevEnvironmentRepositorySummary&& value) { m_repositories.push_back(std::move(value)); return *this; }
145
147
150 inline const Aws::String& GetAlias() const{ return m_alias; }
151 inline void SetAlias(const Aws::String& value) { m_alias = value; }
152 inline void SetAlias(Aws::String&& value) { m_alias = std::move(value); }
153 inline void SetAlias(const char* value) { m_alias.assign(value); }
154 inline GetDevEnvironmentResult& WithAlias(const Aws::String& value) { SetAlias(value); return *this;}
155 inline GetDevEnvironmentResult& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;}
156 inline GetDevEnvironmentResult& WithAlias(const char* value) { SetAlias(value); return *this;}
158
160
164 inline const Aws::Vector<Ide>& GetIdes() const{ return m_ides; }
165 inline void SetIdes(const Aws::Vector<Ide>& value) { m_ides = value; }
166 inline void SetIdes(Aws::Vector<Ide>&& value) { m_ides = std::move(value); }
167 inline GetDevEnvironmentResult& WithIdes(const Aws::Vector<Ide>& value) { SetIdes(value); return *this;}
168 inline GetDevEnvironmentResult& WithIdes(Aws::Vector<Ide>&& value) { SetIdes(std::move(value)); return *this;}
169 inline GetDevEnvironmentResult& AddIdes(const Ide& value) { m_ides.push_back(value); return *this; }
170 inline GetDevEnvironmentResult& AddIdes(Ide&& value) { m_ides.push_back(std::move(value)); return *this; }
172
174
177 inline const InstanceType& GetInstanceType() const{ return m_instanceType; }
178 inline void SetInstanceType(const InstanceType& value) { m_instanceType = value; }
179 inline void SetInstanceType(InstanceType&& value) { m_instanceType = std::move(value); }
180 inline GetDevEnvironmentResult& WithInstanceType(const InstanceType& value) { SetInstanceType(value); return *this;}
181 inline GetDevEnvironmentResult& WithInstanceType(InstanceType&& value) { SetInstanceType(std::move(value)); return *this;}
183
185
189 inline int GetInactivityTimeoutMinutes() const{ return m_inactivityTimeoutMinutes; }
190 inline void SetInactivityTimeoutMinutes(int value) { m_inactivityTimeoutMinutes = value; }
193
195
199 inline const PersistentStorage& GetPersistentStorage() const{ return m_persistentStorage; }
200 inline void SetPersistentStorage(const PersistentStorage& value) { m_persistentStorage = value; }
201 inline void SetPersistentStorage(PersistentStorage&& value) { m_persistentStorage = std::move(value); }
203 inline GetDevEnvironmentResult& WithPersistentStorage(PersistentStorage&& value) { SetPersistentStorage(std::move(value)); return *this;}
205
207
211 inline const Aws::String& GetVpcConnectionName() const{ return m_vpcConnectionName; }
212 inline void SetVpcConnectionName(const Aws::String& value) { m_vpcConnectionName = value; }
213 inline void SetVpcConnectionName(Aws::String&& value) { m_vpcConnectionName = std::move(value); }
214 inline void SetVpcConnectionName(const char* value) { m_vpcConnectionName.assign(value); }
216 inline GetDevEnvironmentResult& WithVpcConnectionName(Aws::String&& value) { SetVpcConnectionName(std::move(value)); return *this;}
217 inline GetDevEnvironmentResult& WithVpcConnectionName(const char* value) { SetVpcConnectionName(value); return *this;}
219
221
222 inline const Aws::String& GetRequestId() const{ return m_requestId; }
223 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
224 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
225 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
226 inline GetDevEnvironmentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
227 inline GetDevEnvironmentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
228 inline GetDevEnvironmentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
230 private:
231
232 Aws::String m_spaceName;
233
234 Aws::String m_projectName;
235
236 Aws::String m_id;
237
238 Aws::Utils::DateTime m_lastUpdatedTime;
239
240 Aws::String m_creatorId;
241
242 DevEnvironmentStatus m_status;
243
244 Aws::String m_statusReason;
245
247
248 Aws::String m_alias;
249
250 Aws::Vector<Ide> m_ides;
251
252 InstanceType m_instanceType;
253
254 int m_inactivityTimeoutMinutes;
255
256 PersistentStorage m_persistentStorage;
257
258 Aws::String m_vpcConnectionName;
259
260 Aws::String m_requestId;
261 };
262
263} // namespace Model
264} // namespace CodeCatalyst
265} // namespace Aws
GetDevEnvironmentResult & WithStatus(DevEnvironmentStatus &&value)
GetDevEnvironmentResult & WithProjectName(Aws::String &&value)
GetDevEnvironmentResult & WithId(const Aws::String &value)
GetDevEnvironmentResult & AddRepositories(DevEnvironmentRepositorySummary &&value)
GetDevEnvironmentResult & WithIdes(const Aws::Vector< Ide > &value)
GetDevEnvironmentResult & WithSpaceName(const Aws::String &value)
GetDevEnvironmentResult & WithRequestId(const char *value)
GetDevEnvironmentResult & WithRequestId(const Aws::String &value)
GetDevEnvironmentResult & WithSpaceName(const char *value)
GetDevEnvironmentResult & WithInstanceType(const InstanceType &value)
GetDevEnvironmentResult & WithRepositories(const Aws::Vector< DevEnvironmentRepositorySummary > &value)
GetDevEnvironmentResult & WithCreatorId(const char *value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
GetDevEnvironmentResult & WithIdes(Aws::Vector< Ide > &&value)
GetDevEnvironmentResult & WithInstanceType(InstanceType &&value)
GetDevEnvironmentResult & WithAlias(const Aws::String &value)
GetDevEnvironmentResult & WithPersistentStorage(const PersistentStorage &value)
GetDevEnvironmentResult & WithVpcConnectionName(Aws::String &&value)
GetDevEnvironmentResult & WithInactivityTimeoutMinutes(int value)
GetDevEnvironmentResult & WithProjectName(const Aws::String &value)
GetDevEnvironmentResult & WithProjectName(const char *value)
GetDevEnvironmentResult & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
GetDevEnvironmentResult & WithVpcConnectionName(const Aws::String &value)
GetDevEnvironmentResult & WithStatusReason(const Aws::String &value)
GetDevEnvironmentResult & WithCreatorId(Aws::String &&value)
GetDevEnvironmentResult & WithId(const char *value)
GetDevEnvironmentResult & WithStatus(const DevEnvironmentStatus &value)
void SetStatus(const DevEnvironmentStatus &value)
void SetPersistentStorage(const PersistentStorage &value)
void SetRepositories(const Aws::Vector< DevEnvironmentRepositorySummary > &value)
GetDevEnvironmentResult & AddRepositories(const DevEnvironmentRepositorySummary &value)
GetDevEnvironmentResult & WithSpaceName(Aws::String &&value)
GetDevEnvironmentResult & AddIdes(const Ide &value)
GetDevEnvironmentResult & WithVpcConnectionName(const char *value)
GetDevEnvironmentResult & WithCreatorId(const Aws::String &value)
GetDevEnvironmentResult & WithStatusReason(Aws::String &&value)
GetDevEnvironmentResult & WithPersistentStorage(PersistentStorage &&value)
GetDevEnvironmentResult & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
GetDevEnvironmentResult & WithAlias(const char *value)
const Aws::Vector< DevEnvironmentRepositorySummary > & GetRepositories() const
GetDevEnvironmentResult & WithRequestId(Aws::String &&value)
AWS_CODECATALYST_API GetDevEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDevEnvironmentResult & WithStatusReason(const char *value)
void SetRepositories(Aws::Vector< DevEnvironmentRepositorySummary > &&value)
GetDevEnvironmentResult & WithRepositories(Aws::Vector< DevEnvironmentRepositorySummary > &&value)
GetDevEnvironmentResult & WithId(Aws::String &&value)
AWS_CODECATALYST_API GetDevEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDevEnvironmentResult & WithAlias(Aws::String &&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