7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/redshift-serverless/RedshiftServerlessRequest.h>
10#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
11#include <aws/redshift-serverless/model/ConfigParameter.h>
12#include <aws/redshift-serverless/model/PerformanceTarget.h>
17namespace RedshiftServerless {
43 m_baseCapacityHasBeenSet =
true;
44 m_baseCapacity = value;
72 template <
typename ConfigParametersT = Aws::Vector<ConfigParameter>>
74 m_configParametersHasBeenSet =
true;
75 m_configParameters = std::forward<ConfigParametersT>(value);
77 template <
typename ConfigParametersT = Aws::Vector<ConfigParameter>>
82 template <
typename ConfigParametersT = ConfigParameter>
84 m_configParametersHasBeenSet =
true;
85 m_configParameters.emplace_back(std::forward<ConfigParametersT>(value));
99 m_enhancedVpcRoutingHasBeenSet =
true;
100 m_enhancedVpcRouting = value;
116 m_extraComputeForAutomaticOptimizationHasBeenSet =
true;
117 m_extraComputeForAutomaticOptimization = value;
132 template <
typename IpAddressTypeT = Aws::String>
134 m_ipAddressTypeHasBeenSet =
true;
135 m_ipAddressType = std::forward<IpAddressTypeT>(value);
137 template <
typename IpAddressTypeT = Aws::String>
152 m_maxCapacityHasBeenSet =
true;
153 m_maxCapacity = value;
169 m_portHasBeenSet =
true;
185 template <
typename PricePerformanceTargetT = PerformanceTarget>
187 m_pricePerformanceTargetHasBeenSet =
true;
188 m_pricePerformanceTarget = std::forward<PricePerformanceTargetT>(value);
190 template <
typename PricePerformanceTargetT = PerformanceTarget>
205 m_publiclyAccessibleHasBeenSet =
true;
206 m_publiclyAccessible = value;
220 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
222 m_securityGroupIdsHasBeenSet =
true;
223 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
225 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
230 template <
typename SecurityGroupIdsT = Aws::String>
232 m_securityGroupIdsHasBeenSet =
true;
233 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
244 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
246 m_subnetIdsHasBeenSet =
true;
247 m_subnetIds = std::forward<SubnetIdsT>(value);
249 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
254 template <
typename SubnetIdsT = Aws::String>
256 m_subnetIdsHasBeenSet =
true;
257 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
270 template <
typename TrackNameT = Aws::String>
272 m_trackNameHasBeenSet =
true;
273 m_trackName = std::forward<TrackNameT>(value);
275 template <
typename TrackNameT = Aws::String>
289 template <
typename WorkgroupNameT = Aws::String>
291 m_workgroupNameHasBeenSet =
true;
292 m_workgroupName = std::forward<WorkgroupNameT>(value);
294 template <
typename WorkgroupNameT = Aws::String>
301 int m_baseCapacity{0};
305 bool m_enhancedVpcRouting{
false};
307 bool m_extraComputeForAutomaticOptimization{
false};
311 int m_maxCapacity{0};
315 PerformanceTarget m_pricePerformanceTarget;
317 bool m_publiclyAccessible{
false};
326 bool m_baseCapacityHasBeenSet =
false;
327 bool m_configParametersHasBeenSet =
false;
328 bool m_enhancedVpcRoutingHasBeenSet =
false;
329 bool m_extraComputeForAutomaticOptimizationHasBeenSet =
false;
330 bool m_ipAddressTypeHasBeenSet =
false;
331 bool m_maxCapacityHasBeenSet =
false;
332 bool m_portHasBeenSet =
false;
333 bool m_pricePerformanceTargetHasBeenSet =
false;
334 bool m_publiclyAccessibleHasBeenSet =
false;
335 bool m_securityGroupIdsHasBeenSet =
false;
336 bool m_subnetIdsHasBeenSet =
false;
337 bool m_trackNameHasBeenSet =
false;
338 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 & WithExtraComputeForAutomaticOptimization(bool value)
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)
bool GetExtraComputeForAutomaticOptimization() const
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
void SetExtraComputeForAutomaticOptimization(bool value)
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)
bool ExtraComputeForAutomaticOptimizationHasBeenSet() const
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