7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/ECSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ecs/model/ClusterConfiguration.h>
12#include <aws/ecs/model/ClusterServiceConnectDefaultsRequest.h>
13#include <aws/ecs/model/Tag.h>
14#include <aws/ecs/model/ClusterSetting.h>
15#include <aws/ecs/model/CapacityProviderStrategyItem.h>
53 inline void SetClusterName(
const char* value) { m_clusterNameHasBeenSet =
true; m_clusterName.assign(value); }
203 bool m_clusterNameHasBeenSet =
false;
206 bool m_tagsHasBeenSet =
false;
209 bool m_settingsHasBeenSet =
false;
212 bool m_configurationHasBeenSet =
false;
215 bool m_capacityProvidersHasBeenSet =
false;
218 bool m_defaultCapacityProviderStrategyHasBeenSet =
false;
221 bool m_serviceConnectDefaultsHasBeenSet =
false;
CreateClusterRequest & AddCapacityProviders(const Aws::String &value)
bool ServiceConnectDefaultsHasBeenSet() const
void SetClusterName(Aws::String &&value)
void SetClusterName(const char *value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool TagsHasBeenSet() const
bool ConfigurationHasBeenSet() const
void SetServiceConnectDefaults(ClusterServiceConnectDefaultsRequest &&value)
CreateClusterRequest & WithSettings(const Aws::Vector< ClusterSetting > &value)
void SetTags(Aws::Vector< Tag > &&value)
bool ClusterNameHasBeenSet() const
const Aws::Vector< ClusterSetting > & GetSettings() const
void SetDefaultCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
CreateClusterRequest & WithConfiguration(ClusterConfiguration &&value)
CreateClusterRequest & AddCapacityProviders(Aws::String &&value)
CreateClusterRequest & WithTags(Aws::Vector< Tag > &&value)
CreateClusterRequest & AddSettings(const ClusterSetting &value)
void SetTags(const Aws::Vector< Tag > &value)
void SetClusterName(const Aws::String &value)
CreateClusterRequest & AddSettings(ClusterSetting &&value)
bool DefaultCapacityProviderStrategyHasBeenSet() const
CreateClusterRequest & WithDefaultCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
CreateClusterRequest & AddTags(const Tag &value)
CreateClusterRequest & AddTags(Tag &&value)
CreateClusterRequest & WithClusterName(const char *value)
CreateClusterRequest & WithCapacityProviders(Aws::Vector< Aws::String > &&value)
CreateClusterRequest & WithTags(const Aws::Vector< Tag > &value)
bool CapacityProvidersHasBeenSet() const
CreateClusterRequest & AddDefaultCapacityProviderStrategy(CapacityProviderStrategyItem &&value)
const Aws::Vector< Aws::String > & GetCapacityProviders() const
CreateClusterRequest & WithClusterName(const Aws::String &value)
CreateClusterRequest & WithSettings(Aws::Vector< ClusterSetting > &&value)
const Aws::String & GetClusterName() const
void SetConfiguration(const ClusterConfiguration &value)
void SetCapacityProviders(Aws::Vector< Aws::String > &&value)
void SetSettings(Aws::Vector< ClusterSetting > &&value)
CreateClusterRequest & WithConfiguration(const ClusterConfiguration &value)
void SetConfiguration(ClusterConfiguration &&value)
void SetSettings(const Aws::Vector< ClusterSetting > &value)
void SetServiceConnectDefaults(const ClusterServiceConnectDefaultsRequest &value)
bool SettingsHasBeenSet() const
CreateClusterRequest & AddCapacityProviders(const char *value)
CreateClusterRequest & WithServiceConnectDefaults(const ClusterServiceConnectDefaultsRequest &value)
CreateClusterRequest & WithDefaultCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
virtual const char * GetServiceRequestName() const override
CreateClusterRequest & WithClusterName(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
const ClusterServiceConnectDefaultsRequest & GetServiceConnectDefaults() const
CreateClusterRequest & WithCapacityProviders(const Aws::Vector< Aws::String > &value)
void SetDefaultCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
AWS_ECS_API CreateClusterRequest()
const ClusterConfiguration & GetConfiguration() const
const Aws::Vector< CapacityProviderStrategyItem > & GetDefaultCapacityProviderStrategy() const
CreateClusterRequest & WithServiceConnectDefaults(ClusterServiceConnectDefaultsRequest &&value)
void SetCapacityProviders(const Aws::Vector< Aws::String > &value)
CreateClusterRequest & AddDefaultCapacityProviderStrategy(const CapacityProviderStrategyItem &value)
AWS_ECS_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector