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; }
64 template<
typename ConfigParametersT = Aws::Vector<ConfigParameter>>
65 void SetConfigParameters(ConfigParametersT&& value) { m_configParametersHasBeenSet =
true; m_configParameters = std::forward<ConfigParametersT>(value); }
66 template<
typename ConfigParametersT = Aws::Vector<ConfigParameter>>
68 template<
typename ConfigParametersT = ConfigParameter>
80 inline void SetEnhancedVpcRouting(
bool value) { m_enhancedVpcRoutingHasBeenSet =
true; m_enhancedVpcRouting = value; }
91 template<
typename IpAddressTypeT = Aws::String>
92 void SetIpAddressType(IpAddressTypeT&& value) { m_ipAddressTypeHasBeenSet =
true; m_ipAddressType = std::forward<IpAddressTypeT>(value); }
93 template<
typename IpAddressTypeT = Aws::String>
104 inline void SetMaxCapacity(
int value) { m_maxCapacityHasBeenSet =
true; m_maxCapacity = value; }
115 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
126 template<
typename PricePerformanceTargetT = PerformanceTarget>
127 void SetPricePerformanceTarget(PricePerformanceTargetT&& value) { m_pricePerformanceTargetHasBeenSet =
true; m_pricePerformanceTarget = std::forward<PricePerformanceTargetT>(value); }
128 template<
typename PricePerformanceTargetT = PerformanceTarget>
139 inline void SetPubliclyAccessible(
bool value) { m_publiclyAccessibleHasBeenSet =
true; m_publiclyAccessible = value; }
149 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
150 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
151 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
153 template<
typename SecurityGroupIdsT = Aws::String>
163 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
164 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds = std::forward<SubnetIdsT>(value); }
165 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
167 template<
typename SubnetIdsT = Aws::String>
179 template<
typename TrackNameT = Aws::String>
180 void SetTrackName(TrackNameT&& value) { m_trackNameHasBeenSet =
true; m_trackName = std::forward<TrackNameT>(value); }
181 template<
typename TrackNameT = Aws::String>
192 template<
typename WorkgroupNameT = Aws::String>
193 void SetWorkgroupName(WorkgroupNameT&& value) { m_workgroupNameHasBeenSet =
true; m_workgroupName = std::forward<WorkgroupNameT>(value); }
194 template<
typename WorkgroupNameT = Aws::String>
199 int m_baseCapacity{0};
200 bool m_baseCapacityHasBeenSet =
false;
203 bool m_configParametersHasBeenSet =
false;
205 bool m_enhancedVpcRouting{
false};
206 bool m_enhancedVpcRoutingHasBeenSet =
false;
209 bool m_ipAddressTypeHasBeenSet =
false;
211 int m_maxCapacity{0};
212 bool m_maxCapacityHasBeenSet =
false;
215 bool m_portHasBeenSet =
false;
217 PerformanceTarget m_pricePerformanceTarget;
218 bool m_pricePerformanceTargetHasBeenSet =
false;
220 bool m_publiclyAccessible{
false};
221 bool m_publiclyAccessibleHasBeenSet =
false;
224 bool m_securityGroupIdsHasBeenSet =
false;
227 bool m_subnetIdsHasBeenSet =
false;
230 bool m_trackNameHasBeenSet =
false;
233 bool m_workgroupNameHasBeenSet =
false;
bool TrackNameHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API UpdateWorkgroupRequest()=default
UpdateWorkgroupRequest & AddSubnetIds(SubnetIdsT &&value)
bool SecurityGroupIdsHasBeenSet() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
int GetBaseCapacity() const
UpdateWorkgroupRequest & AddConfigParameters(ConfigParametersT &&value)
bool BaseCapacityHasBeenSet() const
void SetConfigParameters(ConfigParametersT &&value)
UpdateWorkgroupRequest & WithSecurityGroupIds(SecurityGroupIdsT &&value)
void SetTrackName(TrackNameT &&value)
bool EnhancedVpcRoutingHasBeenSet() const
UpdateWorkgroupRequest & WithPubliclyAccessible(bool value)
void SetSubnetIds(SubnetIdsT &&value)
UpdateWorkgroupRequest & WithMaxCapacity(int value)
UpdateWorkgroupRequest & WithPricePerformanceTarget(PricePerformanceTargetT &&value)
void SetEnhancedVpcRouting(bool value)
UpdateWorkgroupRequest & WithTrackName(TrackNameT &&value)
void SetIpAddressType(IpAddressTypeT &&value)
const Aws::String & GetTrackName() const
bool ConfigParametersHasBeenSet() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
bool MaxCapacityHasBeenSet() const
const Aws::Vector< ConfigParameter > & GetConfigParameters() const
const Aws::String & GetWorkgroupName() const
void SetBaseCapacity(int value)
UpdateWorkgroupRequest & WithEnhancedVpcRouting(bool value)
const Aws::String & GetIpAddressType() const
bool PricePerformanceTargetHasBeenSet() const
UpdateWorkgroupRequest & WithWorkgroupName(WorkgroupNameT &&value)
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
bool IpAddressTypeHasBeenSet() const
UpdateWorkgroupRequest & WithConfigParameters(ConfigParametersT &&value)
UpdateWorkgroupRequest & WithPort(int value)
bool WorkgroupNameHasBeenSet() const
bool GetPubliclyAccessible() const
const PerformanceTarget & GetPricePerformanceTarget() const
bool SubnetIdsHasBeenSet() const
UpdateWorkgroupRequest & AddSecurityGroupIds(SecurityGroupIdsT &&value)
bool PubliclyAccessibleHasBeenSet() const
virtual const char * GetServiceRequestName() const override
UpdateWorkgroupRequest & WithSubnetIds(SubnetIdsT &&value)
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
void SetMaxCapacity(int value)
UpdateWorkgroupRequest & WithBaseCapacity(int value)
UpdateWorkgroupRequest & WithIpAddressType(IpAddressTypeT &&value)
int GetMaxCapacity() const
bool PortHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetWorkgroupName(WorkgroupNameT &&value)
void SetPubliclyAccessible(bool value)
bool GetEnhancedVpcRouting() const
void SetPricePerformanceTarget(PricePerformanceTargetT &&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