7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/redshift-serverless/model/Endpoint.h>
12#include <aws/redshift-serverless/model/PerformanceTarget.h>
13#include <aws/redshift-serverless/model/WorkgroupStatus.h>
14#include <aws/redshift-serverless/model/ConfigParameter.h>
27namespace RedshiftServerless
54 inline void SetBaseCapacity(
int value) { m_baseCapacityHasBeenSet =
true; m_baseCapacity = value; }
143 inline void SetCustomDomainName(
const char* value) { m_customDomainNameHasBeenSet =
true; m_customDomainName.assign(value); }
169 inline void SetEnhancedVpcRouting(
bool value) { m_enhancedVpcRoutingHasBeenSet =
true; m_enhancedVpcRouting = value; }
182 inline void SetIpAddressType(
const char* value) { m_ipAddressTypeHasBeenSet =
true; m_ipAddressType.assign(value); }
195 inline void SetMaxCapacity(
int value) { m_maxCapacityHasBeenSet =
true; m_maxCapacity = value; }
207 inline void SetNamespaceName(
const char* value) { m_namespaceNameHasBeenSet =
true; m_namespaceName.assign(value); }
224 inline void SetPatchVersion(
const char* value) { m_patchVersionHasBeenSet =
true; m_patchVersion.assign(value); }
237 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
261 inline void SetPubliclyAccessible(
bool value) { m_publiclyAccessibleHasBeenSet =
true; m_publiclyAccessible = value; }
304 inline Workgroup&
AddSubnetIds(
const char* value) { m_subnetIdsHasBeenSet =
true; m_subnetIds.push_back(value);
return *
this; }
315 inline void SetWorkgroupArn(
const char* value) { m_workgroupArnHasBeenSet =
true; m_workgroupArn.assign(value); }
329 inline void SetWorkgroupId(
const char* value) { m_workgroupIdHasBeenSet =
true; m_workgroupId.assign(value); }
343 inline void SetWorkgroupName(
const char* value) { m_workgroupNameHasBeenSet =
true; m_workgroupName.assign(value); }
360 inline void SetWorkgroupVersion(
const char* value) { m_workgroupVersionHasBeenSet =
true; m_workgroupVersion.assign(value); }
368 bool m_baseCapacityHasBeenSet =
false;
371 bool m_configParametersHasBeenSet =
false;
374 bool m_creationDateHasBeenSet =
false;
377 bool m_crossAccountVpcsHasBeenSet =
false;
380 bool m_customDomainCertificateArnHasBeenSet =
false;
383 bool m_customDomainCertificateExpiryTimeHasBeenSet =
false;
386 bool m_customDomainNameHasBeenSet =
false;
389 bool m_endpointHasBeenSet =
false;
391 bool m_enhancedVpcRouting;
392 bool m_enhancedVpcRoutingHasBeenSet =
false;
395 bool m_ipAddressTypeHasBeenSet =
false;
398 bool m_maxCapacityHasBeenSet =
false;
401 bool m_namespaceNameHasBeenSet =
false;
404 bool m_patchVersionHasBeenSet =
false;
407 bool m_portHasBeenSet =
false;
410 bool m_pricePerformanceTargetHasBeenSet =
false;
412 bool m_publiclyAccessible;
413 bool m_publiclyAccessibleHasBeenSet =
false;
416 bool m_securityGroupIdsHasBeenSet =
false;
419 bool m_statusHasBeenSet =
false;
422 bool m_subnetIdsHasBeenSet =
false;
425 bool m_workgroupArnHasBeenSet =
false;
428 bool m_workgroupIdHasBeenSet =
false;
431 bool m_workgroupNameHasBeenSet =
false;
434 bool m_workgroupVersionHasBeenSet =
false;
Workgroup & WithCustomDomainName(const Aws::String &value)
Workgroup & WithCreationDate(Aws::Utils::DateTime &&value)
bool ConfigParametersHasBeenSet() const
Workgroup & WithWorkgroupVersion(const char *value)
bool GetPubliclyAccessible() const
bool WorkgroupArnHasBeenSet() const
Workgroup & WithConfigParameters(const Aws::Vector< ConfigParameter > &value)
void SetCustomDomainCertificateExpiryTime(const Aws::Utils::DateTime &value)
void SetConfigParameters(const Aws::Vector< ConfigParameter > &value)
Workgroup & WithMaxCapacity(int value)
Workgroup & WithPort(int value)
void SetPatchVersion(const Aws::String &value)
Workgroup & WithPricePerformanceTarget(const PerformanceTarget &value)
const Aws::Vector< ConfigParameter > & GetConfigParameters() const
void SetCustomDomainCertificateArn(const char *value)
void SetIpAddressType(const Aws::String &value)
Workgroup & WithWorkgroupVersion(const Aws::String &value)
bool BaseCapacityHasBeenSet() const
const Aws::String & GetCustomDomainCertificateArn() const
const Aws::String & GetWorkgroupId() const
Workgroup & AddCrossAccountVpcs(const char *value)
Workgroup & WithWorkgroupVersion(Aws::String &&value)
bool EnhancedVpcRoutingHasBeenSet() const
void SetIpAddressType(Aws::String &&value)
void SetConfigParameters(Aws::Vector< ConfigParameter > &&value)
void SetCustomDomainCertificateExpiryTime(Aws::Utils::DateTime &&value)
const Aws::String & GetWorkgroupName() const
Workgroup & WithIpAddressType(Aws::String &&value)
Workgroup & WithWorkgroupId(Aws::String &&value)
bool WorkgroupVersionHasBeenSet() const
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
Workgroup & WithCustomDomainCertificateArn(const Aws::String &value)
void SetEndpoint(const Endpoint &value)
void SetWorkgroupName(Aws::String &&value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Workgroup & WithCustomDomainName(Aws::String &&value)
bool WorkgroupIdHasBeenSet() const
Workgroup & AddConfigParameters(const ConfigParameter &value)
Workgroup & AddSecurityGroupIds(Aws::String &&value)
void SetBaseCapacity(int value)
void SetPatchVersion(Aws::String &&value)
const Aws::Utils::DateTime & GetCustomDomainCertificateExpiryTime() const
void SetCustomDomainName(Aws::String &&value)
Workgroup & WithPubliclyAccessible(bool value)
Workgroup & WithWorkgroupName(const char *value)
Workgroup & WithWorkgroupName(const Aws::String &value)
const PerformanceTarget & GetPricePerformanceTarget() const
Workgroup & WithStatus(WorkgroupStatus &&value)
Workgroup & WithBaseCapacity(int value)
void SetWorkgroupId(const char *value)
bool MaxCapacityHasBeenSet() const
Workgroup & WithWorkgroupId(const Aws::String &value)
void SetNamespaceName(const Aws::String &value)
bool CrossAccountVpcsHasBeenSet() const
void SetWorkgroupVersion(Aws::String &&value)
void SetStatus(WorkgroupStatus &&value)
Workgroup & WithWorkgroupArn(Aws::String &&value)
void SetWorkgroupId(Aws::String &&value)
Workgroup & WithNamespaceName(const Aws::String &value)
bool StatusHasBeenSet() const
Workgroup & WithConfigParameters(Aws::Vector< ConfigParameter > &&value)
Workgroup & WithSubnetIds(Aws::Vector< Aws::String > &&value)
const Aws::Utils::DateTime & GetCreationDate() const
Workgroup & WithPatchVersion(const Aws::String &value)
void SetEndpoint(Endpoint &&value)
Workgroup & WithCrossAccountVpcs(Aws::Vector< Aws::String > &&value)
AWS_REDSHIFTSERVERLESS_API Workgroup()
const Endpoint & GetEndpoint() const
const Aws::String & GetPatchVersion() const
const Aws::String & GetCustomDomainName() const
Workgroup & WithCrossAccountVpcs(const Aws::Vector< Aws::String > &value)
void SetPubliclyAccessible(bool value)
void SetWorkgroupName(const char *value)
const WorkgroupStatus & GetStatus() const
Workgroup & WithCreationDate(const Aws::Utils::DateTime &value)
void SetPricePerformanceTarget(PerformanceTarget &&value)
void SetPatchVersion(const char *value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Workgroup & WithEndpoint(Endpoint &&value)
void SetWorkgroupVersion(const Aws::String &value)
void SetWorkgroupName(const Aws::String &value)
void SetCustomDomainName(const Aws::String &value)
void SetCustomDomainCertificateArn(const Aws::String &value)
void SetEnhancedVpcRouting(bool value)
void SetWorkgroupArn(const Aws::String &value)
bool IpAddressTypeHasBeenSet() const
Workgroup & WithPatchVersion(Aws::String &&value)
bool SecurityGroupIdsHasBeenSet() const
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
Workgroup & WithStatus(const WorkgroupStatus &value)
bool NamespaceNameHasBeenSet() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
const Aws::Vector< Aws::String > & GetCrossAccountVpcs() const
void SetWorkgroupId(const Aws::String &value)
void SetNamespaceName(const char *value)
Workgroup & AddSecurityGroupIds(const Aws::String &value)
Workgroup & WithCustomDomainCertificateArn(const char *value)
void SetPricePerformanceTarget(const PerformanceTarget &value)
Workgroup & WithIpAddressType(const Aws::String &value)
Workgroup & WithCustomDomainCertificateExpiryTime(Aws::Utils::DateTime &&value)
int GetBaseCapacity() const
Workgroup & WithCustomDomainCertificateExpiryTime(const Aws::Utils::DateTime &value)
Workgroup & WithWorkgroupId(const char *value)
void SetNamespaceName(Aws::String &&value)
AWS_REDSHIFTSERVERLESS_API Workgroup(Aws::Utils::Json::JsonView jsonValue)
bool GetEnhancedVpcRouting() const
bool EndpointHasBeenSet() const
Workgroup & AddSubnetIds(const char *value)
void SetStatus(const WorkgroupStatus &value)
Workgroup & WithWorkgroupArn(const Aws::String &value)
const Aws::String & GetIpAddressType() const
void SetCrossAccountVpcs(Aws::Vector< Aws::String > &&value)
void SetCreationDate(const Aws::Utils::DateTime &value)
bool WorkgroupNameHasBeenSet() const
Workgroup & AddCrossAccountVpcs(Aws::String &&value)
bool PortHasBeenSet() const
bool SubnetIdsHasBeenSet() const
void SetCrossAccountVpcs(const Aws::Vector< Aws::String > &value)
void SetCreationDate(Aws::Utils::DateTime &&value)
Workgroup & WithWorkgroupArn(const char *value)
void SetWorkgroupArn(const char *value)
const Aws::String & GetWorkgroupVersion() const
const Aws::String & GetNamespaceName() const
void SetIpAddressType(const char *value)
Workgroup & AddSubnetIds(Aws::String &&value)
Workgroup & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Workgroup & WithNamespaceName(Aws::String &&value)
void SetWorkgroupArn(Aws::String &&value)
Workgroup & AddCrossAccountVpcs(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
void SetWorkgroupVersion(const char *value)
Workgroup & WithEndpoint(const Endpoint &value)
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
bool CustomDomainNameHasBeenSet() const
Workgroup & AddSubnetIds(const Aws::String &value)
void SetMaxCapacity(int value)
Workgroup & WithEnhancedVpcRouting(bool value)
Workgroup & WithSubnetIds(const Aws::Vector< Aws::String > &value)
Workgroup & WithCustomDomainName(const char *value)
Workgroup & WithNamespaceName(const char *value)
bool PubliclyAccessibleHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API Workgroup & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCustomDomainName(const char *value)
bool PatchVersionHasBeenSet() const
Workgroup & WithIpAddressType(const char *value)
Workgroup & WithWorkgroupName(Aws::String &&value)
Workgroup & AddConfigParameters(ConfigParameter &&value)
int GetMaxCapacity() const
Workgroup & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
bool CustomDomainCertificateArnHasBeenSet() const
Workgroup & WithCustomDomainCertificateArn(Aws::String &&value)
Workgroup & WithPricePerformanceTarget(PerformanceTarget &&value)
Workgroup & AddSecurityGroupIds(const char *value)
const Aws::String & GetWorkgroupArn() const
bool PricePerformanceTargetHasBeenSet() const
void SetCustomDomainCertificateArn(Aws::String &&value)
bool CreationDateHasBeenSet() const
Workgroup & WithPatchVersion(const char *value)
bool CustomDomainCertificateExpiryTimeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue