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;
66 template <
typename ConfigParametersT = Aws::Vector<ConfigParameter>>
68 m_configParametersHasBeenSet =
true;
69 m_configParameters = std::forward<ConfigParametersT>(value);
71 template <
typename ConfigParametersT = Aws::Vector<ConfigParameter>>
76 template <
typename ConfigParametersT = ConfigParameter>
78 m_configParametersHasBeenSet =
true;
79 m_configParameters.emplace_back(std::forward<ConfigParametersT>(value));
93 m_enhancedVpcRoutingHasBeenSet =
true;
94 m_enhancedVpcRouting = value;
109 template <
typename IpAddressTypeT = Aws::String>
111 m_ipAddressTypeHasBeenSet =
true;
112 m_ipAddressType = std::forward<IpAddressTypeT>(value);
114 template <
typename IpAddressTypeT = Aws::String>
129 m_maxCapacityHasBeenSet =
true;
130 m_maxCapacity = value;
146 m_portHasBeenSet =
true;
162 template <
typename PricePerformanceTargetT = PerformanceTarget>
164 m_pricePerformanceTargetHasBeenSet =
true;
165 m_pricePerformanceTarget = std::forward<PricePerformanceTargetT>(value);
167 template <
typename PricePerformanceTargetT = PerformanceTarget>
182 m_publiclyAccessibleHasBeenSet =
true;
183 m_publiclyAccessible = value;
197 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
199 m_securityGroupIdsHasBeenSet =
true;
200 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
202 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
207 template <
typename SecurityGroupIdsT = Aws::String>
209 m_securityGroupIdsHasBeenSet =
true;
210 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
221 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
223 m_subnetIdsHasBeenSet =
true;
224 m_subnetIds = std::forward<SubnetIdsT>(value);
226 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
231 template <
typename SubnetIdsT = Aws::String>
233 m_subnetIdsHasBeenSet =
true;
234 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
247 template <
typename TrackNameT = Aws::String>
249 m_trackNameHasBeenSet =
true;
250 m_trackName = std::forward<TrackNameT>(value);
252 template <
typename TrackNameT = Aws::String>
266 template <
typename WorkgroupNameT = Aws::String>
268 m_workgroupNameHasBeenSet =
true;
269 m_workgroupName = std::forward<WorkgroupNameT>(value);
271 template <
typename WorkgroupNameT = Aws::String>
278 int m_baseCapacity{0};
282 bool m_enhancedVpcRouting{
false};
286 int m_maxCapacity{0};
290 PerformanceTarget m_pricePerformanceTarget;
292 bool m_publiclyAccessible{
false};
301 bool m_baseCapacityHasBeenSet =
false;
302 bool m_configParametersHasBeenSet =
false;
303 bool m_enhancedVpcRoutingHasBeenSet =
false;
304 bool m_ipAddressTypeHasBeenSet =
false;
305 bool m_maxCapacityHasBeenSet =
false;
306 bool m_portHasBeenSet =
false;
307 bool m_pricePerformanceTargetHasBeenSet =
false;
308 bool m_publiclyAccessibleHasBeenSet =
false;
309 bool m_securityGroupIdsHasBeenSet =
false;
310 bool m_subnetIdsHasBeenSet =
false;
311 bool m_trackNameHasBeenSet =
false;
312 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