7#include <aws/pcs/PCS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pcs/model/ClusterStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/pcs/model/Scheduler.h>
12#include <aws/pcs/model/Size.h>
13#include <aws/pcs/model/ClusterSlurmConfiguration.h>
14#include <aws/pcs/model/Networking.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/pcs/model/Endpoint.h>
17#include <aws/pcs/model/ErrorInfo.h>
57 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
70 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
71 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
84 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
85 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
147 inline void SetSize(
const Size& value) { m_sizeHasBeenSet =
true; m_size = value; }
148 inline void SetSize(
Size&& value) { m_sizeHasBeenSet =
true; m_size = std::move(value); }
205 bool m_nameHasBeenSet =
false;
208 bool m_idHasBeenSet =
false;
211 bool m_arnHasBeenSet =
false;
214 bool m_statusHasBeenSet =
false;
217 bool m_createdAtHasBeenSet =
false;
220 bool m_modifiedAtHasBeenSet =
false;
223 bool m_schedulerHasBeenSet =
false;
226 bool m_sizeHasBeenSet =
false;
229 bool m_slurmConfigurationHasBeenSet =
false;
232 bool m_networkingHasBeenSet =
false;
235 bool m_endpointsHasBeenSet =
false;
238 bool m_errorInfoHasBeenSet =
false;
Cluster & WithId(const Aws::String &value)
bool ArnHasBeenSet() const
const ClusterStatus & GetStatus() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Size & GetSize() const
void SetModifiedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetName() const
Cluster & WithNetworking(const Networking &value)
bool ModifiedAtHasBeenSet() const
void SetErrorInfo(const Aws::Vector< ErrorInfo > &value)
bool NetworkingHasBeenSet() const
void SetName(Aws::String &&value)
Cluster & WithName(const char *value)
Cluster & WithStatus(const ClusterStatus &value)
void SetId(const Aws::String &value)
void SetSlurmConfiguration(ClusterSlurmConfiguration &&value)
void SetName(const Aws::String &value)
Cluster & WithModifiedAt(Aws::Utils::DateTime &&value)
Cluster & WithScheduler(const Scheduler &value)
Cluster & WithId(const char *value)
void SetSize(Size &&value)
void SetStatus(ClusterStatus &&value)
Cluster & WithScheduler(Scheduler &&value)
Cluster & WithSize(Size &&value)
Cluster & WithArn(const char *value)
Cluster & WithName(Aws::String &&value)
void SetScheduler(const Scheduler &value)
void SetName(const char *value)
void SetArn(Aws::String &&value)
const Networking & GetNetworking() const
bool SlurmConfigurationHasBeenSet() const
Cluster & WithEndpoints(const Aws::Vector< Endpoint > &value)
bool IdHasBeenSet() const
bool CreatedAtHasBeenSet() const
AWS_PCS_API Cluster(Aws::Utils::Json::JsonView jsonValue)
void SetSlurmConfiguration(const ClusterSlurmConfiguration &value)
void SetNetworking(Networking &&value)
Cluster & WithNetworking(Networking &&value)
Cluster & AddErrorInfo(ErrorInfo &&value)
void SetModifiedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetId() const
bool NameHasBeenSet() const
void SetErrorInfo(Aws::Vector< ErrorInfo > &&value)
const Aws::Vector< Endpoint > & GetEndpoints() const
Cluster & WithErrorInfo(const Aws::Vector< ErrorInfo > &value)
bool SchedulerHasBeenSet() const
const Aws::String & GetArn() const
Cluster & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetArn(const char *value)
Cluster & AddErrorInfo(const ErrorInfo &value)
Cluster & WithEndpoints(Aws::Vector< Endpoint > &&value)
const ClusterSlurmConfiguration & GetSlurmConfiguration() const
Cluster & WithModifiedAt(const Aws::Utils::DateTime &value)
void SetStatus(const ClusterStatus &value)
Cluster & WithStatus(ClusterStatus &&value)
Cluster & WithId(Aws::String &&value)
const Aws::Vector< ErrorInfo > & GetErrorInfo() const
Cluster & WithCreatedAt(const Aws::Utils::DateTime &value)
Cluster & WithArn(Aws::String &&value)
Cluster & WithArn(const Aws::String &value)
Cluster & WithErrorInfo(Aws::Vector< ErrorInfo > &&value)
bool ErrorInfoHasBeenSet() const
bool SizeHasBeenSet() const
AWS_PCS_API Cluster & operator=(Aws::Utils::Json::JsonView jsonValue)
const Scheduler & GetScheduler() const
Cluster & AddEndpoints(Endpoint &&value)
void SetNetworking(const Networking &value)
Cluster & WithName(const Aws::String &value)
Cluster & WithSlurmConfiguration(const ClusterSlurmConfiguration &value)
void SetId(Aws::String &&value)
Cluster & WithSlurmConfiguration(ClusterSlurmConfiguration &&value)
void SetId(const char *value)
const Aws::Utils::DateTime & GetModifiedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetSize(const Size &value)
Cluster & AddEndpoints(const Endpoint &value)
Cluster & WithSize(const Size &value)
void SetArn(const Aws::String &value)
void SetEndpoints(Aws::Vector< Endpoint > &&value)
void SetEndpoints(const Aws::Vector< Endpoint > &value)
bool StatusHasBeenSet() const
bool EndpointsHasBeenSet() const
AWS_PCS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetScheduler(Scheduler &&value)
void SetCreatedAt(Aws::Utils::DateTime &&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