AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
Workgroup.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
11#include <aws/redshift-serverless/model/ConfigParameter.h>
12#include <aws/redshift-serverless/model/Endpoint.h>
13#include <aws/redshift-serverless/model/PerformanceTarget.h>
14#include <aws/redshift-serverless/model/WorkgroupStatus.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace RedshiftServerless {
26namespace Model {
27
34class Workgroup {
35 public:
36 AWS_REDSHIFTSERVERLESS_API Workgroup() = default;
37 AWS_REDSHIFTSERVERLESS_API Workgroup(Aws::Utils::Json::JsonView jsonValue);
38 AWS_REDSHIFTSERVERLESS_API Workgroup& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
46 inline int GetBaseCapacity() const { return m_baseCapacity; }
47 inline bool BaseCapacityHasBeenSet() const { return m_baseCapacityHasBeenSet; }
48 inline void SetBaseCapacity(int value) {
49 m_baseCapacityHasBeenSet = true;
50 m_baseCapacity = value;
51 }
52 inline Workgroup& WithBaseCapacity(int value) {
53 SetBaseCapacity(value);
54 return *this;
55 }
57
59
76 inline const Aws::Vector<ConfigParameter>& GetConfigParameters() const { return m_configParameters; }
77 inline bool ConfigParametersHasBeenSet() const { return m_configParametersHasBeenSet; }
78 template <typename ConfigParametersT = Aws::Vector<ConfigParameter>>
79 void SetConfigParameters(ConfigParametersT&& value) {
80 m_configParametersHasBeenSet = true;
81 m_configParameters = std::forward<ConfigParametersT>(value);
82 }
83 template <typename ConfigParametersT = Aws::Vector<ConfigParameter>>
84 Workgroup& WithConfigParameters(ConfigParametersT&& value) {
85 SetConfigParameters(std::forward<ConfigParametersT>(value));
86 return *this;
87 }
88 template <typename ConfigParametersT = ConfigParameter>
89 Workgroup& AddConfigParameters(ConfigParametersT&& value) {
90 m_configParametersHasBeenSet = true;
91 m_configParameters.emplace_back(std::forward<ConfigParametersT>(value));
92 return *this;
93 }
95
97
100 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
101 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
102 template <typename CreationDateT = Aws::Utils::DateTime>
103 void SetCreationDate(CreationDateT&& value) {
104 m_creationDateHasBeenSet = true;
105 m_creationDate = std::forward<CreationDateT>(value);
106 }
107 template <typename CreationDateT = Aws::Utils::DateTime>
108 Workgroup& WithCreationDate(CreationDateT&& value) {
109 SetCreationDate(std::forward<CreationDateT>(value));
110 return *this;
111 }
113
115
120 inline const Aws::Vector<Aws::String>& GetCrossAccountVpcs() const { return m_crossAccountVpcs; }
121 inline bool CrossAccountVpcsHasBeenSet() const { return m_crossAccountVpcsHasBeenSet; }
122 template <typename CrossAccountVpcsT = Aws::Vector<Aws::String>>
123 void SetCrossAccountVpcs(CrossAccountVpcsT&& value) {
124 m_crossAccountVpcsHasBeenSet = true;
125 m_crossAccountVpcs = std::forward<CrossAccountVpcsT>(value);
126 }
127 template <typename CrossAccountVpcsT = Aws::Vector<Aws::String>>
128 Workgroup& WithCrossAccountVpcs(CrossAccountVpcsT&& value) {
129 SetCrossAccountVpcs(std::forward<CrossAccountVpcsT>(value));
130 return *this;
131 }
132 template <typename CrossAccountVpcsT = Aws::String>
133 Workgroup& AddCrossAccountVpcs(CrossAccountVpcsT&& value) {
134 m_crossAccountVpcsHasBeenSet = true;
135 m_crossAccountVpcs.emplace_back(std::forward<CrossAccountVpcsT>(value));
136 return *this;
137 }
139
141
144 inline const Aws::String& GetCustomDomainCertificateArn() const { return m_customDomainCertificateArn; }
145 inline bool CustomDomainCertificateArnHasBeenSet() const { return m_customDomainCertificateArnHasBeenSet; }
146 template <typename CustomDomainCertificateArnT = Aws::String>
147 void SetCustomDomainCertificateArn(CustomDomainCertificateArnT&& value) {
148 m_customDomainCertificateArnHasBeenSet = true;
149 m_customDomainCertificateArn = std::forward<CustomDomainCertificateArnT>(value);
150 }
151 template <typename CustomDomainCertificateArnT = Aws::String>
152 Workgroup& WithCustomDomainCertificateArn(CustomDomainCertificateArnT&& value) {
153 SetCustomDomainCertificateArn(std::forward<CustomDomainCertificateArnT>(value));
154 return *this;
155 }
157
159
162 inline const Aws::Utils::DateTime& GetCustomDomainCertificateExpiryTime() const { return m_customDomainCertificateExpiryTime; }
163 inline bool CustomDomainCertificateExpiryTimeHasBeenSet() const { return m_customDomainCertificateExpiryTimeHasBeenSet; }
164 template <typename CustomDomainCertificateExpiryTimeT = Aws::Utils::DateTime>
165 void SetCustomDomainCertificateExpiryTime(CustomDomainCertificateExpiryTimeT&& value) {
166 m_customDomainCertificateExpiryTimeHasBeenSet = true;
167 m_customDomainCertificateExpiryTime = std::forward<CustomDomainCertificateExpiryTimeT>(value);
168 }
169 template <typename CustomDomainCertificateExpiryTimeT = Aws::Utils::DateTime>
170 Workgroup& WithCustomDomainCertificateExpiryTime(CustomDomainCertificateExpiryTimeT&& value) {
171 SetCustomDomainCertificateExpiryTime(std::forward<CustomDomainCertificateExpiryTimeT>(value));
172 return *this;
173 }
175
177
180 inline const Aws::String& GetCustomDomainName() const { return m_customDomainName; }
181 inline bool CustomDomainNameHasBeenSet() const { return m_customDomainNameHasBeenSet; }
182 template <typename CustomDomainNameT = Aws::String>
183 void SetCustomDomainName(CustomDomainNameT&& value) {
184 m_customDomainNameHasBeenSet = true;
185 m_customDomainName = std::forward<CustomDomainNameT>(value);
186 }
187 template <typename CustomDomainNameT = Aws::String>
188 Workgroup& WithCustomDomainName(CustomDomainNameT&& value) {
189 SetCustomDomainName(std::forward<CustomDomainNameT>(value));
190 return *this;
191 }
193
195
198 inline const Endpoint& GetEndpoint() const { return m_endpoint; }
199 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
200 template <typename EndpointT = Endpoint>
201 void SetEndpoint(EndpointT&& value) {
202 m_endpointHasBeenSet = true;
203 m_endpoint = std::forward<EndpointT>(value);
204 }
205 template <typename EndpointT = Endpoint>
206 Workgroup& WithEndpoint(EndpointT&& value) {
207 SetEndpoint(std::forward<EndpointT>(value));
208 return *this;
209 }
211
213
218 inline bool GetEnhancedVpcRouting() const { return m_enhancedVpcRouting; }
219 inline bool EnhancedVpcRoutingHasBeenSet() const { return m_enhancedVpcRoutingHasBeenSet; }
220 inline void SetEnhancedVpcRouting(bool value) {
221 m_enhancedVpcRoutingHasBeenSet = true;
222 m_enhancedVpcRouting = value;
223 }
224 inline Workgroup& WithEnhancedVpcRouting(bool value) {
226 return *this;
227 }
229
231
236 inline bool GetExtraComputeForAutomaticOptimization() const { return m_extraComputeForAutomaticOptimization; }
237 inline bool ExtraComputeForAutomaticOptimizationHasBeenSet() const { return m_extraComputeForAutomaticOptimizationHasBeenSet; }
239 m_extraComputeForAutomaticOptimizationHasBeenSet = true;
240 m_extraComputeForAutomaticOptimization = value;
241 }
244 return *this;
245 }
247
249
253 inline const Aws::String& GetIpAddressType() const { return m_ipAddressType; }
254 inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; }
255 template <typename IpAddressTypeT = Aws::String>
256 void SetIpAddressType(IpAddressTypeT&& value) {
257 m_ipAddressTypeHasBeenSet = true;
258 m_ipAddressType = std::forward<IpAddressTypeT>(value);
259 }
260 template <typename IpAddressTypeT = Aws::String>
261 Workgroup& WithIpAddressType(IpAddressTypeT&& value) {
262 SetIpAddressType(std::forward<IpAddressTypeT>(value));
263 return *this;
264 }
266
268
272 inline int GetMaxCapacity() const { return m_maxCapacity; }
273 inline bool MaxCapacityHasBeenSet() const { return m_maxCapacityHasBeenSet; }
274 inline void SetMaxCapacity(int value) {
275 m_maxCapacityHasBeenSet = true;
276 m_maxCapacity = value;
277 }
278 inline Workgroup& WithMaxCapacity(int value) {
279 SetMaxCapacity(value);
280 return *this;
281 }
283
285
288 inline const Aws::String& GetNamespaceName() const { return m_namespaceName; }
289 inline bool NamespaceNameHasBeenSet() const { return m_namespaceNameHasBeenSet; }
290 template <typename NamespaceNameT = Aws::String>
291 void SetNamespaceName(NamespaceNameT&& value) {
292 m_namespaceNameHasBeenSet = true;
293 m_namespaceName = std::forward<NamespaceNameT>(value);
294 }
295 template <typename NamespaceNameT = Aws::String>
296 Workgroup& WithNamespaceName(NamespaceNameT&& value) {
297 SetNamespaceName(std::forward<NamespaceNameT>(value));
298 return *this;
299 }
301
303
309 inline const Aws::String& GetPatchVersion() const { return m_patchVersion; }
310 inline bool PatchVersionHasBeenSet() const { return m_patchVersionHasBeenSet; }
311 template <typename PatchVersionT = Aws::String>
312 void SetPatchVersion(PatchVersionT&& value) {
313 m_patchVersionHasBeenSet = true;
314 m_patchVersion = std::forward<PatchVersionT>(value);
315 }
316 template <typename PatchVersionT = Aws::String>
317 Workgroup& WithPatchVersion(PatchVersionT&& value) {
318 SetPatchVersion(std::forward<PatchVersionT>(value));
319 return *this;
320 }
322
324
329 inline const Aws::String& GetPendingTrackName() const { return m_pendingTrackName; }
330 inline bool PendingTrackNameHasBeenSet() const { return m_pendingTrackNameHasBeenSet; }
331 template <typename PendingTrackNameT = Aws::String>
332 void SetPendingTrackName(PendingTrackNameT&& value) {
333 m_pendingTrackNameHasBeenSet = true;
334 m_pendingTrackName = std::forward<PendingTrackNameT>(value);
335 }
336 template <typename PendingTrackNameT = Aws::String>
337 Workgroup& WithPendingTrackName(PendingTrackNameT&& value) {
338 SetPendingTrackName(std::forward<PendingTrackNameT>(value));
339 return *this;
340 }
342
344
348 inline int GetPort() const { return m_port; }
349 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
350 inline void SetPort(int value) {
351 m_portHasBeenSet = true;
352 m_port = value;
353 }
354 inline Workgroup& WithPort(int value) {
355 SetPort(value);
356 return *this;
357 }
359
361
365 inline const PerformanceTarget& GetPricePerformanceTarget() const { return m_pricePerformanceTarget; }
366 inline bool PricePerformanceTargetHasBeenSet() const { return m_pricePerformanceTargetHasBeenSet; }
367 template <typename PricePerformanceTargetT = PerformanceTarget>
368 void SetPricePerformanceTarget(PricePerformanceTargetT&& value) {
369 m_pricePerformanceTargetHasBeenSet = true;
370 m_pricePerformanceTarget = std::forward<PricePerformanceTargetT>(value);
371 }
372 template <typename PricePerformanceTargetT = PerformanceTarget>
373 Workgroup& WithPricePerformanceTarget(PricePerformanceTargetT&& value) {
374 SetPricePerformanceTarget(std::forward<PricePerformanceTargetT>(value));
375 return *this;
376 }
378
380
384 inline bool GetPubliclyAccessible() const { return m_publiclyAccessible; }
385 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
386 inline void SetPubliclyAccessible(bool value) {
387 m_publiclyAccessibleHasBeenSet = true;
388 m_publiclyAccessible = value;
389 }
390 inline Workgroup& WithPubliclyAccessible(bool value) {
392 return *this;
393 }
395
397
400 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
401 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
402 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
403 void SetSecurityGroupIds(SecurityGroupIdsT&& value) {
404 m_securityGroupIdsHasBeenSet = true;
405 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
406 }
407 template <typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
408 Workgroup& WithSecurityGroupIds(SecurityGroupIdsT&& value) {
409 SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value));
410 return *this;
411 }
412 template <typename SecurityGroupIdsT = Aws::String>
413 Workgroup& AddSecurityGroupIds(SecurityGroupIdsT&& value) {
414 m_securityGroupIdsHasBeenSet = true;
415 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
416 return *this;
417 }
419
421
424 inline WorkgroupStatus GetStatus() const { return m_status; }
425 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
426 inline void SetStatus(WorkgroupStatus value) {
427 m_statusHasBeenSet = true;
428 m_status = value;
429 }
431 SetStatus(value);
432 return *this;
433 }
435
437
440 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
441 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
442 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
443 void SetSubnetIds(SubnetIdsT&& value) {
444 m_subnetIdsHasBeenSet = true;
445 m_subnetIds = std::forward<SubnetIdsT>(value);
446 }
447 template <typename SubnetIdsT = Aws::Vector<Aws::String>>
448 Workgroup& WithSubnetIds(SubnetIdsT&& value) {
449 SetSubnetIds(std::forward<SubnetIdsT>(value));
450 return *this;
451 }
452 template <typename SubnetIdsT = Aws::String>
453 Workgroup& AddSubnetIds(SubnetIdsT&& value) {
454 m_subnetIdsHasBeenSet = true;
455 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
456 return *this;
457 }
459
461
464 inline const Aws::String& GetTrackName() const { return m_trackName; }
465 inline bool TrackNameHasBeenSet() const { return m_trackNameHasBeenSet; }
466 template <typename TrackNameT = Aws::String>
467 void SetTrackName(TrackNameT&& value) {
468 m_trackNameHasBeenSet = true;
469 m_trackName = std::forward<TrackNameT>(value);
470 }
471 template <typename TrackNameT = Aws::String>
472 Workgroup& WithTrackName(TrackNameT&& value) {
473 SetTrackName(std::forward<TrackNameT>(value));
474 return *this;
475 }
477
479
482 inline const Aws::String& GetWorkgroupArn() const { return m_workgroupArn; }
483 inline bool WorkgroupArnHasBeenSet() const { return m_workgroupArnHasBeenSet; }
484 template <typename WorkgroupArnT = Aws::String>
485 void SetWorkgroupArn(WorkgroupArnT&& value) {
486 m_workgroupArnHasBeenSet = true;
487 m_workgroupArn = std::forward<WorkgroupArnT>(value);
488 }
489 template <typename WorkgroupArnT = Aws::String>
490 Workgroup& WithWorkgroupArn(WorkgroupArnT&& value) {
491 SetWorkgroupArn(std::forward<WorkgroupArnT>(value));
492 return *this;
493 }
495
497
500 inline const Aws::String& GetWorkgroupId() const { return m_workgroupId; }
501 inline bool WorkgroupIdHasBeenSet() const { return m_workgroupIdHasBeenSet; }
502 template <typename WorkgroupIdT = Aws::String>
503 void SetWorkgroupId(WorkgroupIdT&& value) {
504 m_workgroupIdHasBeenSet = true;
505 m_workgroupId = std::forward<WorkgroupIdT>(value);
506 }
507 template <typename WorkgroupIdT = Aws::String>
508 Workgroup& WithWorkgroupId(WorkgroupIdT&& value) {
509 SetWorkgroupId(std::forward<WorkgroupIdT>(value));
510 return *this;
511 }
513
515
518 inline const Aws::String& GetWorkgroupName() const { return m_workgroupName; }
519 inline bool WorkgroupNameHasBeenSet() const { return m_workgroupNameHasBeenSet; }
520 template <typename WorkgroupNameT = Aws::String>
521 void SetWorkgroupName(WorkgroupNameT&& value) {
522 m_workgroupNameHasBeenSet = true;
523 m_workgroupName = std::forward<WorkgroupNameT>(value);
524 }
525 template <typename WorkgroupNameT = Aws::String>
526 Workgroup& WithWorkgroupName(WorkgroupNameT&& value) {
527 SetWorkgroupName(std::forward<WorkgroupNameT>(value));
528 return *this;
529 }
531
533
539 inline const Aws::String& GetWorkgroupVersion() const { return m_workgroupVersion; }
540 inline bool WorkgroupVersionHasBeenSet() const { return m_workgroupVersionHasBeenSet; }
541 template <typename WorkgroupVersionT = Aws::String>
542 void SetWorkgroupVersion(WorkgroupVersionT&& value) {
543 m_workgroupVersionHasBeenSet = true;
544 m_workgroupVersion = std::forward<WorkgroupVersionT>(value);
545 }
546 template <typename WorkgroupVersionT = Aws::String>
547 Workgroup& WithWorkgroupVersion(WorkgroupVersionT&& value) {
548 SetWorkgroupVersion(std::forward<WorkgroupVersionT>(value));
549 return *this;
550 }
552 private:
553 int m_baseCapacity{0};
554
555 Aws::Vector<ConfigParameter> m_configParameters;
556
557 Aws::Utils::DateTime m_creationDate{};
558
559 Aws::Vector<Aws::String> m_crossAccountVpcs;
560
561 Aws::String m_customDomainCertificateArn;
562
563 Aws::Utils::DateTime m_customDomainCertificateExpiryTime{};
564
565 Aws::String m_customDomainName;
566
567 Endpoint m_endpoint;
568
569 bool m_enhancedVpcRouting{false};
570
571 bool m_extraComputeForAutomaticOptimization{false};
572
573 Aws::String m_ipAddressType;
574
575 int m_maxCapacity{0};
576
577 Aws::String m_namespaceName;
578
579 Aws::String m_patchVersion;
580
581 Aws::String m_pendingTrackName;
582
583 int m_port{0};
584
585 PerformanceTarget m_pricePerformanceTarget;
586
587 bool m_publiclyAccessible{false};
588
589 Aws::Vector<Aws::String> m_securityGroupIds;
590
592
593 Aws::Vector<Aws::String> m_subnetIds;
594
595 Aws::String m_trackName;
596
597 Aws::String m_workgroupArn;
598
599 Aws::String m_workgroupId;
600
601 Aws::String m_workgroupName;
602
603 Aws::String m_workgroupVersion;
604 bool m_baseCapacityHasBeenSet = false;
605 bool m_configParametersHasBeenSet = false;
606 bool m_creationDateHasBeenSet = false;
607 bool m_crossAccountVpcsHasBeenSet = false;
608 bool m_customDomainCertificateArnHasBeenSet = false;
609 bool m_customDomainCertificateExpiryTimeHasBeenSet = false;
610 bool m_customDomainNameHasBeenSet = false;
611 bool m_endpointHasBeenSet = false;
612 bool m_enhancedVpcRoutingHasBeenSet = false;
613 bool m_extraComputeForAutomaticOptimizationHasBeenSet = false;
614 bool m_ipAddressTypeHasBeenSet = false;
615 bool m_maxCapacityHasBeenSet = false;
616 bool m_namespaceNameHasBeenSet = false;
617 bool m_patchVersionHasBeenSet = false;
618 bool m_pendingTrackNameHasBeenSet = false;
619 bool m_portHasBeenSet = false;
620 bool m_pricePerformanceTargetHasBeenSet = false;
621 bool m_publiclyAccessibleHasBeenSet = false;
622 bool m_securityGroupIdsHasBeenSet = false;
623 bool m_statusHasBeenSet = false;
624 bool m_subnetIdsHasBeenSet = false;
625 bool m_trackNameHasBeenSet = false;
626 bool m_workgroupArnHasBeenSet = false;
627 bool m_workgroupIdHasBeenSet = false;
628 bool m_workgroupNameHasBeenSet = false;
629 bool m_workgroupVersionHasBeenSet = false;
630};
631
632} // namespace Model
633} // namespace RedshiftServerless
634} // namespace Aws
Workgroup & WithEndpoint(EndpointT &&value)
Definition Workgroup.h:206
Workgroup & WithMaxCapacity(int value)
Definition Workgroup.h:278
void SetWorkgroupId(WorkgroupIdT &&value)
Definition Workgroup.h:503
void SetTrackName(TrackNameT &&value)
Definition Workgroup.h:467
Workgroup & WithCustomDomainCertificateExpiryTime(CustomDomainCertificateExpiryTimeT &&value)
Definition Workgroup.h:170
const Aws::Vector< ConfigParameter > & GetConfigParameters() const
Definition Workgroup.h:76
const Aws::String & GetTrackName() const
Definition Workgroup.h:464
const Aws::String & GetCustomDomainCertificateArn() const
Definition Workgroup.h:144
void SetCustomDomainName(CustomDomainNameT &&value)
Definition Workgroup.h:183
Workgroup & AddSecurityGroupIds(SecurityGroupIdsT &&value)
Definition Workgroup.h:413
const Aws::String & GetWorkgroupId() const
Definition Workgroup.h:500
void SetNamespaceName(NamespaceNameT &&value)
Definition Workgroup.h:291
void SetPricePerformanceTarget(PricePerformanceTargetT &&value)
Definition Workgroup.h:368
void SetSubnetIds(SubnetIdsT &&value)
Definition Workgroup.h:443
Workgroup & WithWorkgroupName(WorkgroupNameT &&value)
Definition Workgroup.h:526
const Aws::String & GetWorkgroupName() const
Definition Workgroup.h:518
Workgroup & AddCrossAccountVpcs(CrossAccountVpcsT &&value)
Definition Workgroup.h:133
Workgroup & WithSecurityGroupIds(SecurityGroupIdsT &&value)
Definition Workgroup.h:408
void SetCustomDomainCertificateExpiryTime(CustomDomainCertificateExpiryTimeT &&value)
Definition Workgroup.h:165
Workgroup & WithTrackName(TrackNameT &&value)
Definition Workgroup.h:472
Workgroup & WithNamespaceName(NamespaceNameT &&value)
Definition Workgroup.h:296
const Aws::Utils::DateTime & GetCustomDomainCertificateExpiryTime() const
Definition Workgroup.h:162
Workgroup & WithPubliclyAccessible(bool value)
Definition Workgroup.h:390
const PerformanceTarget & GetPricePerformanceTarget() const
Definition Workgroup.h:365
void SetIpAddressType(IpAddressTypeT &&value)
Definition Workgroup.h:256
Workgroup & WithBaseCapacity(int value)
Definition Workgroup.h:52
void SetWorkgroupArn(WorkgroupArnT &&value)
Definition Workgroup.h:485
Workgroup & AddSubnetIds(SubnetIdsT &&value)
Definition Workgroup.h:453
Workgroup & WithStatus(WorkgroupStatus value)
Definition Workgroup.h:430
Workgroup & WithExtraComputeForAutomaticOptimization(bool value)
Definition Workgroup.h:242
Workgroup & WithWorkgroupId(WorkgroupIdT &&value)
Definition Workgroup.h:508
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
Definition Workgroup.h:403
void SetExtraComputeForAutomaticOptimization(bool value)
Definition Workgroup.h:238
Workgroup & WithCrossAccountVpcs(CrossAccountVpcsT &&value)
Definition Workgroup.h:128
const Aws::Utils::DateTime & GetCreationDate() const
Definition Workgroup.h:100
const Endpoint & GetEndpoint() const
Definition Workgroup.h:198
AWS_REDSHIFTSERVERLESS_API Workgroup()=default
const Aws::String & GetPatchVersion() const
Definition Workgroup.h:309
Workgroup & WithCustomDomainName(CustomDomainNameT &&value)
Definition Workgroup.h:188
const Aws::String & GetCustomDomainName() const
Definition Workgroup.h:180
const Aws::String & GetPendingTrackName() const
Definition Workgroup.h:329
Workgroup & WithIpAddressType(IpAddressTypeT &&value)
Definition Workgroup.h:261
void SetWorkgroupVersion(WorkgroupVersionT &&value)
Definition Workgroup.h:542
void SetWorkgroupName(WorkgroupNameT &&value)
Definition Workgroup.h:521
Workgroup & WithWorkgroupVersion(WorkgroupVersionT &&value)
Definition Workgroup.h:547
Workgroup & WithCustomDomainCertificateArn(CustomDomainCertificateArnT &&value)
Definition Workgroup.h:152
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
Definition Workgroup.h:400
const Aws::Vector< Aws::String > & GetCrossAccountVpcs() const
Definition Workgroup.h:120
AWS_REDSHIFTSERVERLESS_API Workgroup(Aws::Utils::Json::JsonView jsonValue)
void SetCustomDomainCertificateArn(CustomDomainCertificateArnT &&value)
Definition Workgroup.h:147
Workgroup & WithPendingTrackName(PendingTrackNameT &&value)
Definition Workgroup.h:337
const Aws::String & GetIpAddressType() const
Definition Workgroup.h:253
Workgroup & AddConfigParameters(ConfigParametersT &&value)
Definition Workgroup.h:89
void SetPatchVersion(PatchVersionT &&value)
Definition Workgroup.h:312
Workgroup & WithConfigParameters(ConfigParametersT &&value)
Definition Workgroup.h:84
void SetPendingTrackName(PendingTrackNameT &&value)
Definition Workgroup.h:332
Workgroup & WithPatchVersion(PatchVersionT &&value)
Definition Workgroup.h:317
bool ExtraComputeForAutomaticOptimizationHasBeenSet() const
Definition Workgroup.h:237
void SetStatus(WorkgroupStatus value)
Definition Workgroup.h:426
const Aws::String & GetWorkgroupVersion() const
Definition Workgroup.h:539
Workgroup & WithCreationDate(CreationDateT &&value)
Definition Workgroup.h:108
const Aws::String & GetNamespaceName() const
Definition Workgroup.h:288
Workgroup & WithWorkgroupArn(WorkgroupArnT &&value)
Definition Workgroup.h:490
void SetCreationDate(CreationDateT &&value)
Definition Workgroup.h:103
const Aws::Vector< Aws::String > & GetSubnetIds() const
Definition Workgroup.h:440
Workgroup & WithPricePerformanceTarget(PricePerformanceTargetT &&value)
Definition Workgroup.h:373
void SetConfigParameters(ConfigParametersT &&value)
Definition Workgroup.h:79
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
Workgroup & WithSubnetIds(SubnetIdsT &&value)
Definition Workgroup.h:448
Workgroup & WithEnhancedVpcRouting(bool value)
Definition Workgroup.h:224
AWS_REDSHIFTSERVERLESS_API Workgroup & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCrossAccountVpcs(CrossAccountVpcsT &&value)
Definition Workgroup.h:123
void SetEndpoint(EndpointT &&value)
Definition Workgroup.h:201
const Aws::String & GetWorkgroupArn() const
Definition Workgroup.h:482
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue