7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/pcs/PCS_EXPORTS.h>
11#include <aws/pcs/model/ClusterSlurmConfiguration.h>
12#include <aws/pcs/model/ClusterStatus.h>
13#include <aws/pcs/model/Endpoint.h>
14#include <aws/pcs/model/ErrorInfo.h>
15#include <aws/pcs/model/Networking.h>
16#include <aws/pcs/model/Scheduler.h>
17#include <aws/pcs/model/Size.h>
49 template <
typename NameT = Aws::String>
51 m_nameHasBeenSet =
true;
52 m_name = std::forward<NameT>(value);
54 template <
typename NameT = Aws::String>
56 SetName(std::forward<NameT>(value));
67 template <
typename IdT = Aws::String>
69 m_idHasBeenSet =
true;
70 m_id = std::forward<IdT>(value);
72 template <
typename IdT = Aws::String>
74 SetId(std::forward<IdT>(value));
85 template <
typename ArnT = Aws::String>
87 m_arnHasBeenSet =
true;
88 m_arn = std::forward<ArnT>(value);
90 template <
typename ArnT = Aws::String>
92 SetArn(std::forward<ArnT>(value));
114 m_statusHasBeenSet =
true;
129 template <
typename CreatedAtT = Aws::Utils::DateTime>
131 m_createdAtHasBeenSet =
true;
132 m_createdAt = std::forward<CreatedAtT>(value);
134 template <
typename CreatedAtT = Aws::Utils::DateTime>
147 template <
typename ModifiedAtT = Aws::Utils::DateTime>
149 m_modifiedAtHasBeenSet =
true;
150 m_modifiedAt = std::forward<ModifiedAtT>(value);
152 template <
typename ModifiedAtT = Aws::Utils::DateTime>
163 template <
typename SchedulerT = Scheduler>
165 m_schedulerHasBeenSet =
true;
166 m_scheduler = std::forward<SchedulerT>(value);
168 template <
typename SchedulerT = Scheduler>
185 m_sizeHasBeenSet =
true;
200 template <
typename SlurmConfigurationT = ClusterSlurmConfiguration>
202 m_slurmConfigurationHasBeenSet =
true;
203 m_slurmConfiguration = std::forward<SlurmConfigurationT>(value);
205 template <
typename SlurmConfigurationT = ClusterSlurmConfiguration>
216 template <
typename NetworkingT = Networking>
218 m_networkingHasBeenSet =
true;
219 m_networking = std::forward<NetworkingT>(value);
221 template <
typename NetworkingT = Networking>
234 template <
typename Endpo
intsT = Aws::Vector<Endpo
int>>
236 m_endpointsHasBeenSet =
true;
237 m_endpoints = std::forward<EndpointsT>(value);
239 template <
typename Endpo
intsT = Aws::Vector<Endpo
int>>
244 template <
typename Endpo
intsT = Endpo
int>
246 m_endpointsHasBeenSet =
true;
247 m_endpoints.emplace_back(std::forward<EndpointsT>(value));
258 template <
typename ErrorInfoT = Aws::Vector<ErrorInfo>>
260 m_errorInfoHasBeenSet =
true;
261 m_errorInfo = std::forward<ErrorInfoT>(value);
263 template <
typename ErrorInfoT = Aws::Vector<ErrorInfo>>
268 template <
typename ErrorInfoT = ErrorInfo>
270 m_errorInfoHasBeenSet =
true;
271 m_errorInfo.emplace_back(std::forward<ErrorInfoT>(value));
288 Scheduler m_scheduler;
292 ClusterSlurmConfiguration m_slurmConfiguration;
294 Networking m_networking;
299 bool m_nameHasBeenSet =
false;
300 bool m_idHasBeenSet =
false;
301 bool m_arnHasBeenSet =
false;
302 bool m_statusHasBeenSet =
false;
303 bool m_createdAtHasBeenSet =
false;
304 bool m_modifiedAtHasBeenSet =
false;
305 bool m_schedulerHasBeenSet =
false;
306 bool m_sizeHasBeenSet =
false;
307 bool m_slurmConfigurationHasBeenSet =
false;
308 bool m_networkingHasBeenSet =
false;
309 bool m_endpointsHasBeenSet =
false;
310 bool m_errorInfoHasBeenSet =
false;
void SetSlurmConfiguration(SlurmConfigurationT &&value)
bool ArnHasBeenSet() const
void SetName(NameT &&value)
const Aws::String & GetName() const
Cluster & WithScheduler(SchedulerT &&value)
ClusterStatus GetStatus() const
void SetNetworking(NetworkingT &&value)
bool ModifiedAtHasBeenSet() const
Cluster & WithStatus(ClusterStatus value)
bool NetworkingHasBeenSet() const
Cluster & WithSlurmConfiguration(SlurmConfigurationT &&value)
Cluster & WithNetworking(NetworkingT &&value)
AWS_PCS_API Cluster()=default
Cluster & WithId(IdT &&value)
void SetErrorInfo(ErrorInfoT &&value)
Cluster & AddEndpoints(EndpointsT &&value)
Cluster & WithCreatedAt(CreatedAtT &&value)
Cluster & AddErrorInfo(ErrorInfoT &&value)
Cluster & WithEndpoints(EndpointsT &&value)
const Networking & GetNetworking() const
bool SlurmConfigurationHasBeenSet() const
bool IdHasBeenSet() const
bool CreatedAtHasBeenSet() const
AWS_PCS_API Cluster(Aws::Utils::Json::JsonView jsonValue)
Cluster & WithSize(Size value)
Cluster & WithArn(ArnT &&value)
const Aws::String & GetId() const
bool NameHasBeenSet() const
const Aws::Vector< Endpoint > & GetEndpoints() const
bool SchedulerHasBeenSet() const
const Aws::String & GetArn() const
void SetEndpoints(EndpointsT &&value)
const ClusterSlurmConfiguration & GetSlurmConfiguration() const
void SetScheduler(SchedulerT &&value)
const Aws::Vector< ErrorInfo > & GetErrorInfo() const
Cluster & WithErrorInfo(ErrorInfoT &&value)
bool ErrorInfoHasBeenSet() const
bool SizeHasBeenSet() const
AWS_PCS_API Cluster & operator=(Aws::Utils::Json::JsonView jsonValue)
const Scheduler & GetScheduler() const
void SetCreatedAt(CreatedAtT &&value)
Cluster & WithModifiedAt(ModifiedAtT &&value)
void SetArn(ArnT &&value)
const Aws::Utils::DateTime & GetModifiedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetStatus(ClusterStatus value)
bool StatusHasBeenSet() const
bool EndpointsHasBeenSet() const
void SetModifiedAt(ModifiedAtT &&value)
AWS_PCS_API Aws::Utils::Json::JsonValue Jsonize() const
Cluster & WithName(NameT &&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