7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/redshift-serverless/RedshiftServerlessRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/redshift-serverless/model/PerformanceTarget.h>
12#include <aws/redshift-serverless/model/ConfigParameter.h>
13#include <aws/redshift-serverless/model/Tag.h>
18namespace RedshiftServerless
48 inline void SetBaseCapacity(
int value) { m_baseCapacityHasBeenSet =
true; m_baseCapacity = value; }
82 inline void SetEnhancedVpcRouting(
bool value) { m_enhancedVpcRoutingHasBeenSet =
true; m_enhancedVpcRouting = value; }
95 inline void SetIpAddressType(
const char* value) { m_ipAddressTypeHasBeenSet =
true; m_ipAddressType.assign(value); }
108 inline void SetMaxCapacity(
int value) { m_maxCapacityHasBeenSet =
true; m_maxCapacity = value; }
120 inline void SetNamespaceName(
const char* value) { m_namespaceNameHasBeenSet =
true; m_namespaceName.assign(value); }
133 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
157 inline void SetPubliclyAccessible(
bool value) { m_publiclyAccessibleHasBeenSet =
true; m_publiclyAccessible = value; }
213 inline void SetWorkgroupName(
const char* value) { m_workgroupNameHasBeenSet =
true; m_workgroupName.assign(value); }
221 bool m_baseCapacityHasBeenSet =
false;
224 bool m_configParametersHasBeenSet =
false;
226 bool m_enhancedVpcRouting;
227 bool m_enhancedVpcRoutingHasBeenSet =
false;
230 bool m_ipAddressTypeHasBeenSet =
false;
233 bool m_maxCapacityHasBeenSet =
false;
236 bool m_namespaceNameHasBeenSet =
false;
239 bool m_portHasBeenSet =
false;
242 bool m_pricePerformanceTargetHasBeenSet =
false;
244 bool m_publiclyAccessible;
245 bool m_publiclyAccessibleHasBeenSet =
false;
248 bool m_securityGroupIdsHasBeenSet =
false;
251 bool m_subnetIdsHasBeenSet =
false;
254 bool m_tagsHasBeenSet =
false;
257 bool m_workgroupNameHasBeenSet =
false;
CreateWorkgroupRequest & WithIpAddressType(Aws::String &&value)
bool PubliclyAccessibleHasBeenSet() const
CreateWorkgroupRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
bool GetPubliclyAccessible() const
CreateWorkgroupRequest & AddSecurityGroupIds(const Aws::String &value)
const Aws::String & GetIpAddressType() const
void SetWorkgroupName(const char *value)
bool TagsHasBeenSet() const
bool WorkgroupNameHasBeenSet() const
void SetBaseCapacity(int value)
void SetNamespaceName(Aws::String &&value)
bool SecurityGroupIdsHasBeenSet() const
CreateWorkgroupRequest & AddSecurityGroupIds(const char *value)
void SetNamespaceName(const char *value)
CreateWorkgroupRequest & AddSubnetIds(Aws::String &&value)
CreateWorkgroupRequest & WithWorkgroupName(const Aws::String &value)
void SetNamespaceName(const Aws::String &value)
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< Aws::String > & GetSubnetIds() const
bool ConfigParametersHasBeenSet() const
CreateWorkgroupRequest & WithMaxCapacity(int value)
CreateWorkgroupRequest & WithConfigParameters(const Aws::Vector< ConfigParameter > &value)
void SetWorkgroupName(Aws::String &&value)
CreateWorkgroupRequest & WithPricePerformanceTarget(PerformanceTarget &&value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
bool PricePerformanceTargetHasBeenSet() const
bool SubnetIdsHasBeenSet() const
CreateWorkgroupRequest & WithBaseCapacity(int value)
const PerformanceTarget & GetPricePerformanceTarget() const
CreateWorkgroupRequest & AddTags(const Tag &value)
CreateWorkgroupRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
const Aws::Vector< ConfigParameter > & GetConfigParameters() const
bool NamespaceNameHasBeenSet() const
bool PortHasBeenSet() const
bool BaseCapacityHasBeenSet() const
CreateWorkgroupRequest & AddConfigParameters(const ConfigParameter &value)
bool GetEnhancedVpcRouting() const
CreateWorkgroupRequest & WithNamespaceName(const Aws::String &value)
void SetEnhancedVpcRouting(bool value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
CreateWorkgroupRequest & AddSubnetIds(const Aws::String &value)
void SetMaxCapacity(int value)
virtual const char * GetServiceRequestName() const override
void SetWorkgroupName(const Aws::String &value)
bool IpAddressTypeHasBeenSet() const
void SetIpAddressType(const char *value)
CreateWorkgroupRequest & WithTags(Aws::Vector< Tag > &&value)
CreateWorkgroupRequest & WithPricePerformanceTarget(const PerformanceTarget &value)
CreateWorkgroupRequest & AddTags(Tag &&value)
void SetTags(const Aws::Vector< Tag > &value)
void SetPricePerformanceTarget(PerformanceTarget &&value)
const Aws::String & GetNamespaceName() const
CreateWorkgroupRequest & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
CreateWorkgroupRequest & AddSecurityGroupIds(Aws::String &&value)
CreateWorkgroupRequest & WithIpAddressType(const char *value)
CreateWorkgroupRequest & WithPubliclyAccessible(bool value)
CreateWorkgroupRequest & AddConfigParameters(ConfigParameter &&value)
const Aws::Vector< Tag > & GetTags() const
CreateWorkgroupRequest & WithPort(int value)
CreateWorkgroupRequest & AddSubnetIds(const char *value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
int GetMaxCapacity() const
const Aws::String & GetWorkgroupName() const
void SetConfigParameters(const Aws::Vector< ConfigParameter > &value)
CreateWorkgroupRequest & WithWorkgroupName(const char *value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
CreateWorkgroupRequest & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
CreateWorkgroupRequest & WithNamespaceName(Aws::String &&value)
void SetIpAddressType(Aws::String &&value)
bool EnhancedVpcRoutingHasBeenSet() const
void SetPubliclyAccessible(bool value)
CreateWorkgroupRequest & WithTags(const Aws::Vector< Tag > &value)
AWS_REDSHIFTSERVERLESS_API CreateWorkgroupRequest()
CreateWorkgroupRequest & WithWorkgroupName(Aws::String &&value)
CreateWorkgroupRequest & WithEnhancedVpcRouting(bool value)
CreateWorkgroupRequest & WithIpAddressType(const Aws::String &value)
void SetPricePerformanceTarget(const PerformanceTarget &value)
void SetTags(Aws::Vector< Tag > &&value)
bool MaxCapacityHasBeenSet() const
CreateWorkgroupRequest & WithNamespaceName(const char *value)
CreateWorkgroupRequest & WithConfigParameters(Aws::Vector< ConfigParameter > &&value)
void SetIpAddressType(const Aws::String &value)
void SetConfigParameters(Aws::Vector< ConfigParameter > &&value)
int GetBaseCapacity() const
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