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>
13#include <aws/redshift-serverless/model/Tag.h>
18namespace RedshiftServerless {
45 m_baseCapacityHasBeenSet =
true;
46 m_baseCapacity = value;
68 template <
typename ConfigParametersT = Aws::Vector<ConfigParameter>>
70 m_configParametersHasBeenSet =
true;
71 m_configParameters = std::forward<ConfigParametersT>(value);
73 template <
typename ConfigParametersT = Aws::Vector<ConfigParameter>>
78 template <
typename ConfigParametersT = ConfigParameter>
80 m_configParametersHasBeenSet =
true;
81 m_configParameters.emplace_back(std::forward<ConfigParametersT>(value));
95 m_enhancedVpcRoutingHasBeenSet =
true;
96 m_enhancedVpcRouting = value;
111 template <
typename IpAddressTypeT = Aws::String>
113 m_ipAddressTypeHasBeenSet =
true;
114 m_ipAddressType = std::forward<IpAddressTypeT>(value);
116 template <
typename IpAddressTypeT = Aws::String>
131 m_maxCapacityHasBeenSet =
true;
132 m_maxCapacity = value;
146 template <
typename NamespaceNameT = Aws::String>
148 m_namespaceNameHasBeenSet =
true;
149 m_namespaceName = std::forward<NamespaceNameT>(value);
151 template <
typename NamespaceNameT = Aws::String>
166 m_portHasBeenSet =
true;
182 template <
typename PricePerformanceTargetT = PerformanceTarget>
184 m_pricePerformanceTargetHasBeenSet =
true;
185 m_pricePerformanceTarget = std::forward<PricePerformanceTargetT>(value);
187 template <
typename PricePerformanceTargetT = PerformanceTarget>
202 m_publiclyAccessibleHasBeenSet =
true;
203 m_publiclyAccessible = value;
217 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
219 m_securityGroupIdsHasBeenSet =
true;
220 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
222 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
227 template <
typename SecurityGroupIdsT = Aws::String>
229 m_securityGroupIdsHasBeenSet =
true;
230 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
241 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
243 m_subnetIdsHasBeenSet =
true;
244 m_subnetIds = std::forward<SubnetIdsT>(value);
246 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
251 template <
typename SubnetIdsT = Aws::String>
253 m_subnetIdsHasBeenSet =
true;
254 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
265 template <
typename TagsT = Aws::Vector<Tag>>
267 m_tagsHasBeenSet =
true;
268 m_tags = std::forward<TagsT>(value);
270 template <
typename TagsT = Aws::Vector<Tag>>
272 SetTags(std::forward<TagsT>(value));
275 template <
typename TagsT = Tag>
277 m_tagsHasBeenSet =
true;
278 m_tags.emplace_back(std::forward<TagsT>(value));
291 template <
typename TrackNameT = Aws::String>
293 m_trackNameHasBeenSet =
true;
294 m_trackName = std::forward<TrackNameT>(value);
296 template <
typename TrackNameT = Aws::String>
309 template <
typename WorkgroupNameT = Aws::String>
311 m_workgroupNameHasBeenSet =
true;
312 m_workgroupName = std::forward<WorkgroupNameT>(value);
314 template <
typename WorkgroupNameT = Aws::String>
321 int m_baseCapacity{0};
325 bool m_enhancedVpcRouting{
false};
329 int m_maxCapacity{0};
335 PerformanceTarget m_pricePerformanceTarget;
337 bool m_publiclyAccessible{
false};
348 bool m_baseCapacityHasBeenSet =
false;
349 bool m_configParametersHasBeenSet =
false;
350 bool m_enhancedVpcRoutingHasBeenSet =
false;
351 bool m_ipAddressTypeHasBeenSet =
false;
352 bool m_maxCapacityHasBeenSet =
false;
353 bool m_namespaceNameHasBeenSet =
false;
354 bool m_portHasBeenSet =
false;
355 bool m_pricePerformanceTargetHasBeenSet =
false;
356 bool m_publiclyAccessibleHasBeenSet =
false;
357 bool m_securityGroupIdsHasBeenSet =
false;
358 bool m_subnetIdsHasBeenSet =
false;
359 bool m_tagsHasBeenSet =
false;
360 bool m_trackNameHasBeenSet =
false;
361 bool m_workgroupNameHasBeenSet =
false;
bool PubliclyAccessibleHasBeenSet() const
bool GetPubliclyAccessible() const
const Aws::String & GetIpAddressType() const
CreateWorkgroupRequest & WithTags(TagsT &&value)
bool TagsHasBeenSet() const
bool WorkgroupNameHasBeenSet() const
void SetNamespaceName(NamespaceNameT &&value)
const Aws::String & GetTrackName() const
void SetBaseCapacity(int value)
CreateWorkgroupRequest & WithNamespaceName(NamespaceNameT &&value)
CreateWorkgroupRequest & WithConfigParameters(ConfigParametersT &&value)
bool SecurityGroupIdsHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetPricePerformanceTarget(PricePerformanceTargetT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
bool ConfigParametersHasBeenSet() const
CreateWorkgroupRequest & WithMaxCapacity(int value)
void SetTags(TagsT &&value)
CreateWorkgroupRequest & AddSubnetIds(SubnetIdsT &&value)
CreateWorkgroupRequest & WithPricePerformanceTarget(PricePerformanceTargetT &&value)
bool PricePerformanceTargetHasBeenSet() const
bool SubnetIdsHasBeenSet() const
CreateWorkgroupRequest & WithBaseCapacity(int value)
const PerformanceTarget & GetPricePerformanceTarget() const
CreateWorkgroupRequest & WithWorkgroupName(WorkgroupNameT &&value)
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
const Aws::Vector< ConfigParameter > & GetConfigParameters() const
AWS_REDSHIFTSERVERLESS_API CreateWorkgroupRequest()=default
bool NamespaceNameHasBeenSet() const
bool PortHasBeenSet() const
bool BaseCapacityHasBeenSet() const
bool GetEnhancedVpcRouting() const
void SetEnhancedVpcRouting(bool value)
CreateWorkgroupRequest & AddSecurityGroupIds(SecurityGroupIdsT &&value)
void SetMaxCapacity(int value)
void SetSubnetIds(SubnetIdsT &&value)
void SetIpAddressType(IpAddressTypeT &&value)
virtual const char * GetServiceRequestName() const override
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
bool IpAddressTypeHasBeenSet() const
void SetConfigParameters(ConfigParametersT &&value)
const Aws::String & GetNamespaceName() const
CreateWorkgroupRequest & WithTrackName(TrackNameT &&value)
CreateWorkgroupRequest & AddTags(TagsT &&value)
CreateWorkgroupRequest & WithPubliclyAccessible(bool value)
void SetTrackName(TrackNameT &&value)
const Aws::Vector< Tag > & GetTags() const
CreateWorkgroupRequest & WithPort(int value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
int GetMaxCapacity() const
const Aws::String & GetWorkgroupName() const
bool TrackNameHasBeenSet() const
CreateWorkgroupRequest & WithSecurityGroupIds(SecurityGroupIdsT &&value)
bool EnhancedVpcRoutingHasBeenSet() const
void SetPubliclyAccessible(bool value)
CreateWorkgroupRequest & WithEnhancedVpcRouting(bool value)
CreateWorkgroupRequest & WithIpAddressType(IpAddressTypeT &&value)
CreateWorkgroupRequest & WithSubnetIds(SubnetIdsT &&value)
void SetWorkgroupName(WorkgroupNameT &&value)
bool MaxCapacityHasBeenSet() const
CreateWorkgroupRequest & AddConfigParameters(ConfigParametersT &&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