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/CapacityProviderStrategyItem.h>
49 inline void SetCluster(
const char* value) { m_clusterHasBeenSet =
true; m_cluster.assign(value); }
111 bool m_clusterHasBeenSet =
false;
114 bool m_capacityProvidersHasBeenSet =
false;
117 bool m_defaultCapacityProviderStrategyHasBeenSet =
false;
PutClusterCapacityProvidersRequest & WithCluster(const Aws::String &value)
bool DefaultCapacityProviderStrategyHasBeenSet() const
PutClusterCapacityProvidersRequest & WithDefaultCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
void SetCapacityProviders(Aws::Vector< Aws::String > &&value)
PutClusterCapacityProvidersRequest & AddCapacityProviders(Aws::String &&value)
void SetDefaultCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
bool CapacityProvidersHasBeenSet() const
AWS_ECS_API Aws::String SerializePayload() const override
const Aws::String & GetCluster() const
bool ClusterHasBeenSet() const
PutClusterCapacityProvidersRequest & WithDefaultCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
PutClusterCapacityProvidersRequest & AddDefaultCapacityProviderStrategy(CapacityProviderStrategyItem &&value)
PutClusterCapacityProvidersRequest & AddCapacityProviders(const Aws::String &value)
PutClusterCapacityProvidersRequest & AddCapacityProviders(const char *value)
const Aws::Vector< Aws::String > & GetCapacityProviders() const
void SetCapacityProviders(const Aws::Vector< Aws::String > &value)
AWS_ECS_API PutClusterCapacityProvidersRequest()
void SetCluster(const char *value)
PutClusterCapacityProvidersRequest & WithCluster(Aws::String &&value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutClusterCapacityProvidersRequest & WithCluster(const char *value)
void SetCluster(Aws::String &&value)
void SetDefaultCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
PutClusterCapacityProvidersRequest & WithCapacityProviders(const Aws::Vector< Aws::String > &value)
virtual const char * GetServiceRequestName() const override
PutClusterCapacityProvidersRequest & AddDefaultCapacityProviderStrategy(const CapacityProviderStrategyItem &value)
void SetCluster(const Aws::String &value)
const Aws::Vector< CapacityProviderStrategyItem > & GetDefaultCapacityProviderStrategy() const
PutClusterCapacityProvidersRequest & WithCapacityProviders(Aws::Vector< Aws::String > &&value)
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