7#include <aws/pcs/PCS_EXPORTS.h>
8#include <aws/pcs/PCSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/pcs/model/SchedulerRequest.h>
11#include <aws/pcs/model/Size.h>
12#include <aws/pcs/model/NetworkingRequest.h>
13#include <aws/pcs/model/ClusterSlurmConfigurationRequest.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/core/utils/UUID.h>
51 inline void SetClusterName(
const char* value) { m_clusterNameHasBeenSet =
true; m_clusterName.assign(value); }
80 inline void SetSize(
const Size& value) { m_sizeHasBeenSet =
true; m_size = value; }
81 inline void SetSize(
Size&& value) { m_sizeHasBeenSet =
true; m_size = std::move(value); }
124 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
152 bool m_clusterNameHasBeenSet =
false;
155 bool m_schedulerHasBeenSet =
false;
158 bool m_sizeHasBeenSet =
false;
161 bool m_networkingHasBeenSet =
false;
164 bool m_slurmConfigurationHasBeenSet =
false;
167 bool m_clientTokenHasBeenSet =
false;
170 bool m_tagsHasBeenSet =
false;
CreateClusterRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetNetworking(const NetworkingRequest &value)
CreateClusterRequest & AddTags(Aws::String &&key, const Aws::String &value)
bool SlurmConfigurationHasBeenSet() const
void SetClusterName(Aws::String &&value)
CreateClusterRequest & WithSlurmConfiguration(ClusterSlurmConfigurationRequest &&value)
CreateClusterRequest & WithClusterName(Aws::String &&value)
void SetClusterName(const char *value)
AWS_PCS_API Aws::String SerializePayload() const override
CreateClusterRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetClusterName(const Aws::String &value)
void SetNetworking(NetworkingRequest &&value)
CreateClusterRequest & WithClientToken(const char *value)
CreateClusterRequest & AddTags(const char *key, const char *value)
void SetScheduler(SchedulerRequest &&value)
bool SchedulerHasBeenSet() const
const NetworkingRequest & GetNetworking() const
void SetSize(Size &&value)
bool ClusterNameHasBeenSet() const
CreateClusterRequest & WithScheduler(const SchedulerRequest &value)
CreateClusterRequest & AddTags(const char *key, Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateClusterRequest & WithClusterName(const Aws::String &value)
CreateClusterRequest & WithClientToken(const Aws::String &value)
void SetClientToken(const char *value)
CreateClusterRequest & WithSize(const Size &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateClusterRequest & AddTags(Aws::String &&key, const char *value)
CreateClusterRequest & WithNetworking(NetworkingRequest &&value)
bool SizeHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetClusterName() const
CreateClusterRequest & WithClientToken(Aws::String &&value)
bool NetworkingHasBeenSet() const
CreateClusterRequest & WithNetworking(const NetworkingRequest &value)
void SetSlurmConfiguration(ClusterSlurmConfigurationRequest &&value)
CreateClusterRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetSize(const Size &value)
CreateClusterRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateClusterRequest & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::String & GetClientToken() const
const SchedulerRequest & GetScheduler() const
void SetSlurmConfiguration(const ClusterSlurmConfigurationRequest &value)
void SetScheduler(const SchedulerRequest &value)
CreateClusterRequest & WithClusterName(const char *value)
CreateClusterRequest & WithSlurmConfiguration(const ClusterSlurmConfigurationRequest &value)
void SetClientToken(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Size & GetSize() const
AWS_PCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool ClientTokenHasBeenSet() const
void SetClientToken(Aws::String &&value)
AWS_PCS_API CreateClusterRequest()
bool TagsHasBeenSet() const
CreateClusterRequest & WithSize(Size &&value)
CreateClusterRequest & WithScheduler(SchedulerRequest &&value)
const ClusterSlurmConfigurationRequest & GetSlurmConfiguration() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String