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>
17namespace RedshiftServerless
46 inline void SetBaseCapacity(
int value) { m_baseCapacityHasBeenSet =
true; m_baseCapacity = value; }
80 inline void SetEnhancedVpcRouting(
bool value) { m_enhancedVpcRoutingHasBeenSet =
true; m_enhancedVpcRouting = value; }
93 inline void SetIpAddressType(
const char* value) { m_ipAddressTypeHasBeenSet =
true; m_ipAddressType.assign(value); }
106 inline void SetMaxCapacity(
int value) { m_maxCapacityHasBeenSet =
true; m_maxCapacity = value; }
117 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
141 inline void SetPubliclyAccessible(
bool value) { m_publiclyAccessibleHasBeenSet =
true; m_publiclyAccessible = value; }
184 inline void SetWorkgroupName(
const char* value) { m_workgroupNameHasBeenSet =
true; m_workgroupName.assign(value); }
192 bool m_baseCapacityHasBeenSet =
false;
195 bool m_configParametersHasBeenSet =
false;
197 bool m_enhancedVpcRouting;
198 bool m_enhancedVpcRoutingHasBeenSet =
false;
201 bool m_ipAddressTypeHasBeenSet =
false;
204 bool m_maxCapacityHasBeenSet =
false;
207 bool m_portHasBeenSet =
false;
210 bool m_pricePerformanceTargetHasBeenSet =
false;
212 bool m_publiclyAccessible;
213 bool m_publiclyAccessibleHasBeenSet =
false;
216 bool m_securityGroupIdsHasBeenSet =
false;
219 bool m_subnetIdsHasBeenSet =
false;
222 bool m_workgroupNameHasBeenSet =
false;
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
UpdateWorkgroupRequest & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetConfigParameters(Aws::Vector< ConfigParameter > &&value)
UpdateWorkgroupRequest & AddSubnetIds(const Aws::String &value)
bool SecurityGroupIdsHasBeenSet() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
int GetBaseCapacity() const
UpdateWorkgroupRequest & WithIpAddressType(const Aws::String &value)
bool BaseCapacityHasBeenSet() const
UpdateWorkgroupRequest & AddConfigParameters(ConfigParameter &&value)
UpdateWorkgroupRequest & AddConfigParameters(const ConfigParameter &value)
bool EnhancedVpcRoutingHasBeenSet() const
UpdateWorkgroupRequest & WithPubliclyAccessible(bool value)
AWS_REDSHIFTSERVERLESS_API UpdateWorkgroupRequest()
UpdateWorkgroupRequest & WithMaxCapacity(int value)
void SetEnhancedVpcRouting(bool value)
UpdateWorkgroupRequest & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
UpdateWorkgroupRequest & AddSecurityGroupIds(Aws::String &&value)
UpdateWorkgroupRequest & WithIpAddressType(const char *value)
UpdateWorkgroupRequest & WithWorkgroupName(const char *value)
UpdateWorkgroupRequest & WithConfigParameters(const Aws::Vector< ConfigParameter > &value)
void SetIpAddressType(const char *value)
void SetWorkgroupName(const Aws::String &value)
void SetWorkgroupName(const char *value)
UpdateWorkgroupRequest & WithWorkgroupName(const Aws::String &value)
bool ConfigParametersHasBeenSet() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
bool MaxCapacityHasBeenSet() const
UpdateWorkgroupRequest & AddSecurityGroupIds(const Aws::String &value)
const Aws::Vector< ConfigParameter > & GetConfigParameters() const
void SetPricePerformanceTarget(const PerformanceTarget &value)
UpdateWorkgroupRequest & WithWorkgroupName(Aws::String &&value)
const Aws::String & GetWorkgroupName() const
void SetBaseCapacity(int value)
UpdateWorkgroupRequest & WithEnhancedVpcRouting(bool value)
const Aws::String & GetIpAddressType() const
bool PricePerformanceTargetHasBeenSet() const
UpdateWorkgroupRequest & WithPricePerformanceTarget(const PerformanceTarget &value)
void SetConfigParameters(const Aws::Vector< ConfigParameter > &value)
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
void SetWorkgroupName(Aws::String &&value)
bool IpAddressTypeHasBeenSet() const
UpdateWorkgroupRequest & WithPort(int value)
UpdateWorkgroupRequest & WithConfigParameters(Aws::Vector< ConfigParameter > &&value)
void SetPricePerformanceTarget(PerformanceTarget &&value)
bool WorkgroupNameHasBeenSet() const
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
bool GetPubliclyAccessible() const
const PerformanceTarget & GetPricePerformanceTarget() const
UpdateWorkgroupRequest & WithIpAddressType(Aws::String &&value)
bool SubnetIdsHasBeenSet() const
UpdateWorkgroupRequest & AddSubnetIds(Aws::String &&value)
bool PubliclyAccessibleHasBeenSet() const
virtual const char * GetServiceRequestName() const override
UpdateWorkgroupRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
UpdateWorkgroupRequest & AddSecurityGroupIds(const char *value)
UpdateWorkgroupRequest & WithPricePerformanceTarget(PerformanceTarget &&value)
UpdateWorkgroupRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
void SetMaxCapacity(int value)
UpdateWorkgroupRequest & WithBaseCapacity(int value)
int GetMaxCapacity() const
UpdateWorkgroupRequest & AddSubnetIds(const char *value)
bool PortHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetPubliclyAccessible(bool value)
bool GetEnhancedVpcRouting() const
void SetIpAddressType(Aws::String &&value)
void SetIpAddressType(const 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