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>
13#include <aws/redshift-serverless/model/Tag.h>
18namespace RedshiftServerless
48 inline void SetBaseCapacity(
int value) { m_baseCapacityHasBeenSet =
true; m_baseCapacity = value; }
66 template<
typename ConfigParametersT = Aws::Vector<ConfigParameter>>
67 void SetConfigParameters(ConfigParametersT&& value) { m_configParametersHasBeenSet =
true; m_configParameters = std::forward<ConfigParametersT>(value); }
68 template<
typename ConfigParametersT = Aws::Vector<ConfigParameter>>
70 template<
typename ConfigParametersT = ConfigParameter>
82 inline void SetEnhancedVpcRouting(
bool value) { m_enhancedVpcRoutingHasBeenSet =
true; m_enhancedVpcRouting = value; }
93 template<
typename IpAddressTypeT = Aws::String>
94 void SetIpAddressType(IpAddressTypeT&& value) { m_ipAddressTypeHasBeenSet =
true; m_ipAddressType = std::forward<IpAddressTypeT>(value); }
95 template<
typename IpAddressTypeT = Aws::String>
106 inline void SetMaxCapacity(
int value) { m_maxCapacityHasBeenSet =
true; m_maxCapacity = value; }
116 template<
typename NamespaceNameT = Aws::String>
117 void SetNamespaceName(NamespaceNameT&& value) { m_namespaceNameHasBeenSet =
true; m_namespaceName = std::forward<NamespaceNameT>(value); }
118 template<
typename NamespaceNameT = Aws::String>
129 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
140 template<
typename PricePerformanceTargetT = PerformanceTarget>
141 void SetPricePerformanceTarget(PricePerformanceTargetT&& value) { m_pricePerformanceTargetHasBeenSet =
true; m_pricePerformanceTarget = std::forward<PricePerformanceTargetT>(value); }
142 template<
typename PricePerformanceTargetT = PerformanceTarget>
153 inline void SetPubliclyAccessible(
bool value) { m_publiclyAccessibleHasBeenSet =
true; m_publiclyAccessible = value; }
163 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
164 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
165 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
167 template<
typename SecurityGroupIdsT = Aws::String>
177 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
178 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet =
true; m_subnetIds = std::forward<SubnetIdsT>(value); }
179 template<
typename SubnetIdsT = Aws::Vector<Aws::String>>
181 template<
typename SubnetIdsT = Aws::String>
191 template<
typename TagsT = Aws::Vector<Tag>>
192 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
193 template<
typename TagsT = Aws::Vector<Tag>>
195 template<
typename TagsT = Tag>
207 template<
typename TrackNameT = Aws::String>
208 void SetTrackName(TrackNameT&& value) { m_trackNameHasBeenSet =
true; m_trackName = std::forward<TrackNameT>(value); }
209 template<
typename TrackNameT = Aws::String>
219 template<
typename WorkgroupNameT = Aws::String>
220 void SetWorkgroupName(WorkgroupNameT&& value) { m_workgroupNameHasBeenSet =
true; m_workgroupName = std::forward<WorkgroupNameT>(value); }
221 template<
typename WorkgroupNameT = Aws::String>
226 int m_baseCapacity{0};
227 bool m_baseCapacityHasBeenSet =
false;
230 bool m_configParametersHasBeenSet =
false;
232 bool m_enhancedVpcRouting{
false};
233 bool m_enhancedVpcRoutingHasBeenSet =
false;
236 bool m_ipAddressTypeHasBeenSet =
false;
238 int m_maxCapacity{0};
239 bool m_maxCapacityHasBeenSet =
false;
242 bool m_namespaceNameHasBeenSet =
false;
245 bool m_portHasBeenSet =
false;
247 PerformanceTarget m_pricePerformanceTarget;
248 bool m_pricePerformanceTargetHasBeenSet =
false;
250 bool m_publiclyAccessible{
false};
251 bool m_publiclyAccessibleHasBeenSet =
false;
254 bool m_securityGroupIdsHasBeenSet =
false;
257 bool m_subnetIdsHasBeenSet =
false;
260 bool m_tagsHasBeenSet =
false;
263 bool m_trackNameHasBeenSet =
false;
266 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