AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DevEnvironmentSummary.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{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace CodeCatalyst
29{
30namespace Model
31{
32
39 {
40 public:
41 AWS_CODECATALYST_API DevEnvironmentSummary();
42 AWS_CODECATALYST_API DevEnvironmentSummary(Aws::Utils::Json::JsonView jsonValue);
44 AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetSpaceName() const{ return m_spaceName; }
52 inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; }
53 inline void SetSpaceName(const Aws::String& value) { m_spaceNameHasBeenSet = true; m_spaceName = value; }
54 inline void SetSpaceName(Aws::String&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::move(value); }
55 inline void SetSpaceName(const char* value) { m_spaceNameHasBeenSet = true; m_spaceName.assign(value); }
56 inline DevEnvironmentSummary& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;}
57 inline DevEnvironmentSummary& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;}
58 inline DevEnvironmentSummary& WithSpaceName(const char* value) { SetSpaceName(value); return *this;}
60
62
65 inline const Aws::String& GetProjectName() const{ return m_projectName; }
66 inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; }
67 inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; }
68 inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); }
69 inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); }
70 inline DevEnvironmentSummary& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;}
71 inline DevEnvironmentSummary& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;}
72 inline DevEnvironmentSummary& WithProjectName(const char* value) { SetProjectName(value); return *this;}
74
76
79 inline const Aws::String& GetId() const{ return m_id; }
80 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
81 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
82 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
83 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
84 inline DevEnvironmentSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
85 inline DevEnvironmentSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
86 inline DevEnvironmentSummary& WithId(const char* value) { SetId(value); return *this;}
88
90
95 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
96 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
97 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
98 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
100 inline DevEnvironmentSummary& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
102
104
108 inline const Aws::String& GetCreatorId() const{ return m_creatorId; }
109 inline bool CreatorIdHasBeenSet() const { return m_creatorIdHasBeenSet; }
110 inline void SetCreatorId(const Aws::String& value) { m_creatorIdHasBeenSet = true; m_creatorId = value; }
111 inline void SetCreatorId(Aws::String&& value) { m_creatorIdHasBeenSet = true; m_creatorId = std::move(value); }
112 inline void SetCreatorId(const char* value) { m_creatorIdHasBeenSet = true; m_creatorId.assign(value); }
113 inline DevEnvironmentSummary& WithCreatorId(const Aws::String& value) { SetCreatorId(value); return *this;}
114 inline DevEnvironmentSummary& WithCreatorId(Aws::String&& value) { SetCreatorId(std::move(value)); return *this;}
115 inline DevEnvironmentSummary& WithCreatorId(const char* value) { SetCreatorId(value); return *this;}
117
119
122 inline const DevEnvironmentStatus& GetStatus() const{ return m_status; }
123 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
124 inline void SetStatus(const DevEnvironmentStatus& value) { m_statusHasBeenSet = true; m_status = value; }
125 inline void SetStatus(DevEnvironmentStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
126 inline DevEnvironmentSummary& WithStatus(const DevEnvironmentStatus& value) { SetStatus(value); return *this;}
127 inline DevEnvironmentSummary& WithStatus(DevEnvironmentStatus&& value) { SetStatus(std::move(value)); return *this;}
129
131
134 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
135 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
136 inline void SetStatusReason(const Aws::String& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; }
137 inline void SetStatusReason(Aws::String&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); }
138 inline void SetStatusReason(const char* value) { m_statusReasonHasBeenSet = true; m_statusReason.assign(value); }
139 inline DevEnvironmentSummary& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
140 inline DevEnvironmentSummary& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
141 inline DevEnvironmentSummary& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
143
145
149 inline const Aws::Vector<DevEnvironmentRepositorySummary>& GetRepositories() const{ return m_repositories; }
150 inline bool RepositoriesHasBeenSet() const { return m_repositoriesHasBeenSet; }
151 inline void SetRepositories(const Aws::Vector<DevEnvironmentRepositorySummary>& value) { m_repositoriesHasBeenSet = true; m_repositories = value; }
152 inline void SetRepositories(Aws::Vector<DevEnvironmentRepositorySummary>&& value) { m_repositoriesHasBeenSet = true; m_repositories = std::move(value); }
155 inline DevEnvironmentSummary& AddRepositories(const DevEnvironmentRepositorySummary& value) { m_repositoriesHasBeenSet = true; m_repositories.push_back(value); return *this; }
156 inline DevEnvironmentSummary& AddRepositories(DevEnvironmentRepositorySummary&& value) { m_repositoriesHasBeenSet = true; m_repositories.push_back(std::move(value)); return *this; }
158
160
163 inline const Aws::String& GetAlias() const{ return m_alias; }
164 inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; }
165 inline void SetAlias(const Aws::String& value) { m_aliasHasBeenSet = true; m_alias = value; }
166 inline void SetAlias(Aws::String&& value) { m_aliasHasBeenSet = true; m_alias = std::move(value); }
167 inline void SetAlias(const char* value) { m_aliasHasBeenSet = true; m_alias.assign(value); }
168 inline DevEnvironmentSummary& WithAlias(const Aws::String& value) { SetAlias(value); return *this;}
169 inline DevEnvironmentSummary& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;}
170 inline DevEnvironmentSummary& WithAlias(const char* value) { SetAlias(value); return *this;}
172
174
178 inline const Aws::Vector<Ide>& GetIdes() const{ return m_ides; }
179 inline bool IdesHasBeenSet() const { return m_idesHasBeenSet; }
180 inline void SetIdes(const Aws::Vector<Ide>& value) { m_idesHasBeenSet = true; m_ides = value; }
181 inline void SetIdes(Aws::Vector<Ide>&& value) { m_idesHasBeenSet = true; m_ides = std::move(value); }
182 inline DevEnvironmentSummary& WithIdes(const Aws::Vector<Ide>& value) { SetIdes(value); return *this;}
183 inline DevEnvironmentSummary& WithIdes(Aws::Vector<Ide>&& value) { SetIdes(std::move(value)); return *this;}
184 inline DevEnvironmentSummary& AddIdes(const Ide& value) { m_idesHasBeenSet = true; m_ides.push_back(value); return *this; }
185 inline DevEnvironmentSummary& AddIdes(Ide&& value) { m_idesHasBeenSet = true; m_ides.push_back(std::move(value)); return *this; }
187
189
192 inline const InstanceType& GetInstanceType() const{ return m_instanceType; }
193 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
194 inline void SetInstanceType(const InstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
195 inline void SetInstanceType(InstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
196 inline DevEnvironmentSummary& WithInstanceType(const InstanceType& value) { SetInstanceType(value); return *this;}
197 inline DevEnvironmentSummary& WithInstanceType(InstanceType&& value) { SetInstanceType(std::move(value)); return *this;}
199
201
206 inline int GetInactivityTimeoutMinutes() const{ return m_inactivityTimeoutMinutes; }
207 inline bool InactivityTimeoutMinutesHasBeenSet() const { return m_inactivityTimeoutMinutesHasBeenSet; }
208 inline void SetInactivityTimeoutMinutes(int value) { m_inactivityTimeoutMinutesHasBeenSet = true; m_inactivityTimeoutMinutes = value; }
211
213
217 inline const PersistentStorage& GetPersistentStorage() const{ return m_persistentStorage; }
218 inline bool PersistentStorageHasBeenSet() const { return m_persistentStorageHasBeenSet; }
219 inline void SetPersistentStorage(const PersistentStorage& value) { m_persistentStorageHasBeenSet = true; m_persistentStorage = value; }
220 inline void SetPersistentStorage(PersistentStorage&& value) { m_persistentStorageHasBeenSet = true; m_persistentStorage = std::move(value); }
222 inline DevEnvironmentSummary& WithPersistentStorage(PersistentStorage&& value) { SetPersistentStorage(std::move(value)); return *this;}
224
226
230 inline const Aws::String& GetVpcConnectionName() const{ return m_vpcConnectionName; }
231 inline bool VpcConnectionNameHasBeenSet() const { return m_vpcConnectionNameHasBeenSet; }
232 inline void SetVpcConnectionName(const Aws::String& value) { m_vpcConnectionNameHasBeenSet = true; m_vpcConnectionName = value; }
233 inline void SetVpcConnectionName(Aws::String&& value) { m_vpcConnectionNameHasBeenSet = true; m_vpcConnectionName = std::move(value); }
234 inline void SetVpcConnectionName(const char* value) { m_vpcConnectionNameHasBeenSet = true; m_vpcConnectionName.assign(value); }
236 inline DevEnvironmentSummary& WithVpcConnectionName(Aws::String&& value) { SetVpcConnectionName(std::move(value)); return *this;}
237 inline DevEnvironmentSummary& WithVpcConnectionName(const char* value) { SetVpcConnectionName(value); return *this;}
239 private:
240
241 Aws::String m_spaceName;
242 bool m_spaceNameHasBeenSet = false;
243
244 Aws::String m_projectName;
245 bool m_projectNameHasBeenSet = false;
246
247 Aws::String m_id;
248 bool m_idHasBeenSet = false;
249
250 Aws::Utils::DateTime m_lastUpdatedTime;
251 bool m_lastUpdatedTimeHasBeenSet = false;
252
253 Aws::String m_creatorId;
254 bool m_creatorIdHasBeenSet = false;
255
256 DevEnvironmentStatus m_status;
257 bool m_statusHasBeenSet = false;
258
259 Aws::String m_statusReason;
260 bool m_statusReasonHasBeenSet = false;
261
263 bool m_repositoriesHasBeenSet = false;
264
265 Aws::String m_alias;
266 bool m_aliasHasBeenSet = false;
267
268 Aws::Vector<Ide> m_ides;
269 bool m_idesHasBeenSet = false;
270
271 InstanceType m_instanceType;
272 bool m_instanceTypeHasBeenSet = false;
273
274 int m_inactivityTimeoutMinutes;
275 bool m_inactivityTimeoutMinutesHasBeenSet = false;
276
277 PersistentStorage m_persistentStorage;
278 bool m_persistentStorageHasBeenSet = false;
279
280 Aws::String m_vpcConnectionName;
281 bool m_vpcConnectionNameHasBeenSet = false;
282 };
283
284} // namespace Model
285} // namespace CodeCatalyst
286} // namespace Aws
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
DevEnvironmentSummary & AddRepositories(const DevEnvironmentRepositorySummary &value)
DevEnvironmentSummary & WithPersistentStorage(const PersistentStorage &value)
DevEnvironmentSummary & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
DevEnvironmentSummary & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
DevEnvironmentSummary & WithCreatorId(const char *value)
DevEnvironmentSummary & WithProjectName(const char *value)
DevEnvironmentSummary & WithIdes(const Aws::Vector< Ide > &value)
AWS_CODECATALYST_API DevEnvironmentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DevEnvironmentSummary & AddRepositories(DevEnvironmentRepositorySummary &&value)
const Aws::Vector< DevEnvironmentRepositorySummary > & GetRepositories() const
DevEnvironmentSummary & WithInactivityTimeoutMinutes(int value)
AWS_CODECATALYST_API Aws::Utils::Json::JsonValue Jsonize() const
DevEnvironmentSummary & WithId(Aws::String &&value)
DevEnvironmentSummary & WithVpcConnectionName(const Aws::String &value)
DevEnvironmentSummary & WithId(const Aws::String &value)
DevEnvironmentSummary & WithId(const char *value)
DevEnvironmentSummary & WithStatus(DevEnvironmentStatus &&value)
DevEnvironmentSummary & WithCreatorId(Aws::String &&value)
DevEnvironmentSummary & WithVpcConnectionName(Aws::String &&value)
void SetRepositories(Aws::Vector< DevEnvironmentRepositorySummary > &&value)
DevEnvironmentSummary & WithSpaceName(Aws::String &&value)
void SetStatus(const DevEnvironmentStatus &value)
DevEnvironmentSummary & WithPersistentStorage(PersistentStorage &&value)
DevEnvironmentSummary & WithSpaceName(const char *value)
DevEnvironmentSummary & WithAlias(Aws::String &&value)
const DevEnvironmentStatus & GetStatus() const
DevEnvironmentSummary & WithProjectName(const Aws::String &value)
DevEnvironmentSummary & WithRepositories(const Aws::Vector< DevEnvironmentRepositorySummary > &value)
AWS_CODECATALYST_API DevEnvironmentSummary(Aws::Utils::Json::JsonView jsonValue)
DevEnvironmentSummary & AddIdes(const Ide &value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
DevEnvironmentSummary & WithStatus(const DevEnvironmentStatus &value)
DevEnvironmentSummary & WithStatusReason(const char *value)
DevEnvironmentSummary & WithIdes(Aws::Vector< Ide > &&value)
DevEnvironmentSummary & WithInstanceType(const InstanceType &value)
DevEnvironmentSummary & WithAlias(const char *value)
DevEnvironmentSummary & WithProjectName(Aws::String &&value)
DevEnvironmentSummary & WithInstanceType(InstanceType &&value)
DevEnvironmentSummary & WithRepositories(Aws::Vector< DevEnvironmentRepositorySummary > &&value)
void SetIdes(const Aws::Vector< Ide > &value)
const PersistentStorage & GetPersistentStorage() const
DevEnvironmentSummary & WithAlias(const Aws::String &value)
DevEnvironmentSummary & WithVpcConnectionName(const char *value)
DevEnvironmentSummary & WithCreatorId(const Aws::String &value)
void SetPersistentStorage(const PersistentStorage &value)
void SetRepositories(const Aws::Vector< DevEnvironmentRepositorySummary > &value)
DevEnvironmentSummary & WithStatusReason(const Aws::String &value)
DevEnvironmentSummary & WithStatusReason(Aws::String &&value)
DevEnvironmentSummary & WithSpaceName(const 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