AWS SDK for C++

AWS SDK for C++ Version 1.11.917

Loading...
Searching...
No Matches
ServiceRevision.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/ecs/ECS_EXPORTS.h>
11#include <aws/ecs/model/CapacityProviderStrategyItem.h>
12#include <aws/ecs/model/ContainerImage.h>
13#include <aws/ecs/model/DeploymentEphemeralStorage.h>
14#include <aws/ecs/model/ECSManagedResources.h>
15#include <aws/ecs/model/GatewayConnector.h>
16#include <aws/ecs/model/LaunchType.h>
17#include <aws/ecs/model/LoadBalancer.h>
18#include <aws/ecs/model/MonitoringConfiguration.h>
19#include <aws/ecs/model/NetworkConfiguration.h>
20#include <aws/ecs/model/ResolvedConfiguration.h>
21#include <aws/ecs/model/ServiceConnectConfiguration.h>
22#include <aws/ecs/model/ServiceRegistry.h>
23#include <aws/ecs/model/ServiceRevisionOverrides.h>
24#include <aws/ecs/model/ServiceVolumeConfiguration.h>
25#include <aws/ecs/model/VpcLatticeConfiguration.h>
26
27#include <utility>
28
29namespace Aws {
30namespace Utils {
31namespace Json {
32class JsonValue;
33class JsonView;
34} // namespace Json
35} // namespace Utils
36namespace ECS {
37namespace Model {
38
52 public:
53 AWS_ECS_API ServiceRevision() = default;
57
59
62 inline const Aws::String& GetServiceRevisionArn() const { return m_serviceRevisionArn; }
63 inline bool ServiceRevisionArnHasBeenSet() const { return m_serviceRevisionArnHasBeenSet; }
64 template <typename ServiceRevisionArnT = Aws::String>
65 void SetServiceRevisionArn(ServiceRevisionArnT&& value) {
66 m_serviceRevisionArnHasBeenSet = true;
67 m_serviceRevisionArn = std::forward<ServiceRevisionArnT>(value);
68 }
69 template <typename ServiceRevisionArnT = Aws::String>
70 ServiceRevision& WithServiceRevisionArn(ServiceRevisionArnT&& value) {
71 SetServiceRevisionArn(std::forward<ServiceRevisionArnT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetServiceArn() const { return m_serviceArn; }
81 inline bool ServiceArnHasBeenSet() const { return m_serviceArnHasBeenSet; }
82 template <typename ServiceArnT = Aws::String>
83 void SetServiceArn(ServiceArnT&& value) {
84 m_serviceArnHasBeenSet = true;
85 m_serviceArn = std::forward<ServiceArnT>(value);
86 }
87 template <typename ServiceArnT = Aws::String>
88 ServiceRevision& WithServiceArn(ServiceArnT&& value) {
89 SetServiceArn(std::forward<ServiceArnT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
99 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
100 template <typename ClusterArnT = Aws::String>
101 void SetClusterArn(ClusterArnT&& value) {
102 m_clusterArnHasBeenSet = true;
103 m_clusterArn = std::forward<ClusterArnT>(value);
104 }
105 template <typename ClusterArnT = Aws::String>
106 ServiceRevision& WithClusterArn(ClusterArnT&& value) {
107 SetClusterArn(std::forward<ClusterArnT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::String& GetTaskDefinition() const { return m_taskDefinition; }
117 inline bool TaskDefinitionHasBeenSet() const { return m_taskDefinitionHasBeenSet; }
118 template <typename TaskDefinitionT = Aws::String>
119 void SetTaskDefinition(TaskDefinitionT&& value) {
120 m_taskDefinitionHasBeenSet = true;
121 m_taskDefinition = std::forward<TaskDefinitionT>(value);
122 }
123 template <typename TaskDefinitionT = Aws::String>
124 ServiceRevision& WithTaskDefinition(TaskDefinitionT&& value) {
125 SetTaskDefinition(std::forward<TaskDefinitionT>(value));
126 return *this;
127 }
129
131
134 inline const Aws::Vector<CapacityProviderStrategyItem>& GetCapacityProviderStrategy() const { return m_capacityProviderStrategy; }
135 inline bool CapacityProviderStrategyHasBeenSet() const { return m_capacityProviderStrategyHasBeenSet; }
136 template <typename CapacityProviderStrategyT = Aws::Vector<CapacityProviderStrategyItem>>
137 void SetCapacityProviderStrategy(CapacityProviderStrategyT&& value) {
138 m_capacityProviderStrategyHasBeenSet = true;
139 m_capacityProviderStrategy = std::forward<CapacityProviderStrategyT>(value);
140 }
141 template <typename CapacityProviderStrategyT = Aws::Vector<CapacityProviderStrategyItem>>
142 ServiceRevision& WithCapacityProviderStrategy(CapacityProviderStrategyT&& value) {
143 SetCapacityProviderStrategy(std::forward<CapacityProviderStrategyT>(value));
144 return *this;
145 }
146 template <typename CapacityProviderStrategyT = CapacityProviderStrategyItem>
147 ServiceRevision& AddCapacityProviderStrategy(CapacityProviderStrategyT&& value) {
148 m_capacityProviderStrategyHasBeenSet = true;
149 m_capacityProviderStrategy.emplace_back(std::forward<CapacityProviderStrategyT>(value));
150 return *this;
151 }
153
155
158 inline LaunchType GetLaunchType() const { return m_launchType; }
159 inline bool LaunchTypeHasBeenSet() const { return m_launchTypeHasBeenSet; }
160 inline void SetLaunchType(LaunchType value) {
161 m_launchTypeHasBeenSet = true;
162 m_launchType = value;
163 }
165 SetLaunchType(value);
166 return *this;
167 }
169
171
175 inline const Aws::String& GetPlatformVersion() const { return m_platformVersion; }
176 inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
177 template <typename PlatformVersionT = Aws::String>
178 void SetPlatformVersion(PlatformVersionT&& value) {
179 m_platformVersionHasBeenSet = true;
180 m_platformVersion = std::forward<PlatformVersionT>(value);
181 }
182 template <typename PlatformVersionT = Aws::String>
183 ServiceRevision& WithPlatformVersion(PlatformVersionT&& value) {
184 SetPlatformVersion(std::forward<PlatformVersionT>(value));
185 return *this;
186 }
188
190
193 inline const Aws::String& GetPlatformFamily() const { return m_platformFamily; }
194 inline bool PlatformFamilyHasBeenSet() const { return m_platformFamilyHasBeenSet; }
195 template <typename PlatformFamilyT = Aws::String>
196 void SetPlatformFamily(PlatformFamilyT&& value) {
197 m_platformFamilyHasBeenSet = true;
198 m_platformFamily = std::forward<PlatformFamilyT>(value);
199 }
200 template <typename PlatformFamilyT = Aws::String>
201 ServiceRevision& WithPlatformFamily(PlatformFamilyT&& value) {
202 SetPlatformFamily(std::forward<PlatformFamilyT>(value));
203 return *this;
204 }
206
208
211 inline const Aws::Vector<LoadBalancer>& GetLoadBalancers() const { return m_loadBalancers; }
212 inline bool LoadBalancersHasBeenSet() const { return m_loadBalancersHasBeenSet; }
213 template <typename LoadBalancersT = Aws::Vector<LoadBalancer>>
214 void SetLoadBalancers(LoadBalancersT&& value) {
215 m_loadBalancersHasBeenSet = true;
216 m_loadBalancers = std::forward<LoadBalancersT>(value);
217 }
218 template <typename LoadBalancersT = Aws::Vector<LoadBalancer>>
219 ServiceRevision& WithLoadBalancers(LoadBalancersT&& value) {
220 SetLoadBalancers(std::forward<LoadBalancersT>(value));
221 return *this;
222 }
223 template <typename LoadBalancersT = LoadBalancer>
224 ServiceRevision& AddLoadBalancers(LoadBalancersT&& value) {
225 m_loadBalancersHasBeenSet = true;
226 m_loadBalancers.emplace_back(std::forward<LoadBalancersT>(value));
227 return *this;
228 }
230
232
235 inline const Aws::Vector<ServiceRegistry>& GetServiceRegistries() const { return m_serviceRegistries; }
236 inline bool ServiceRegistriesHasBeenSet() const { return m_serviceRegistriesHasBeenSet; }
237 template <typename ServiceRegistriesT = Aws::Vector<ServiceRegistry>>
238 void SetServiceRegistries(ServiceRegistriesT&& value) {
239 m_serviceRegistriesHasBeenSet = true;
240 m_serviceRegistries = std::forward<ServiceRegistriesT>(value);
241 }
242 template <typename ServiceRegistriesT = Aws::Vector<ServiceRegistry>>
243 ServiceRevision& WithServiceRegistries(ServiceRegistriesT&& value) {
244 SetServiceRegistries(std::forward<ServiceRegistriesT>(value));
245 return *this;
246 }
247 template <typename ServiceRegistriesT = ServiceRegistry>
248 ServiceRevision& AddServiceRegistries(ServiceRegistriesT&& value) {
249 m_serviceRegistriesHasBeenSet = true;
250 m_serviceRegistries.emplace_back(std::forward<ServiceRegistriesT>(value));
251 return *this;
252 }
254
256
257 inline const NetworkConfiguration& GetNetworkConfiguration() const { return m_networkConfiguration; }
258 inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; }
259 template <typename NetworkConfigurationT = NetworkConfiguration>
260 void SetNetworkConfiguration(NetworkConfigurationT&& value) {
261 m_networkConfigurationHasBeenSet = true;
262 m_networkConfiguration = std::forward<NetworkConfigurationT>(value);
263 }
264 template <typename NetworkConfigurationT = NetworkConfiguration>
265 ServiceRevision& WithNetworkConfiguration(NetworkConfigurationT&& value) {
266 SetNetworkConfiguration(std::forward<NetworkConfigurationT>(value));
267 return *this;
268 }
270
272
275 inline const Aws::Vector<ContainerImage>& GetContainerImages() const { return m_containerImages; }
276 inline bool ContainerImagesHasBeenSet() const { return m_containerImagesHasBeenSet; }
277 template <typename ContainerImagesT = Aws::Vector<ContainerImage>>
278 void SetContainerImages(ContainerImagesT&& value) {
279 m_containerImagesHasBeenSet = true;
280 m_containerImages = std::forward<ContainerImagesT>(value);
281 }
282 template <typename ContainerImagesT = Aws::Vector<ContainerImage>>
283 ServiceRevision& WithContainerImages(ContainerImagesT&& value) {
284 SetContainerImages(std::forward<ContainerImagesT>(value));
285 return *this;
286 }
287 template <typename ContainerImagesT = ContainerImage>
288 ServiceRevision& AddContainerImages(ContainerImagesT&& value) {
289 m_containerImagesHasBeenSet = true;
290 m_containerImages.emplace_back(std::forward<ContainerImagesT>(value));
291 return *this;
292 }
294
296
299 inline bool GetGuardDutyEnabled() const { return m_guardDutyEnabled; }
300 inline bool GuardDutyEnabledHasBeenSet() const { return m_guardDutyEnabledHasBeenSet; }
301 inline void SetGuardDutyEnabled(bool value) {
302 m_guardDutyEnabledHasBeenSet = true;
303 m_guardDutyEnabled = value;
304 }
306 SetGuardDutyEnabled(value);
307 return *this;
308 }
310
312
313 inline const ServiceConnectConfiguration& GetServiceConnectConfiguration() const { return m_serviceConnectConfiguration; }
314 inline bool ServiceConnectConfigurationHasBeenSet() const { return m_serviceConnectConfigurationHasBeenSet; }
315 template <typename ServiceConnectConfigurationT = ServiceConnectConfiguration>
316 void SetServiceConnectConfiguration(ServiceConnectConfigurationT&& value) {
317 m_serviceConnectConfigurationHasBeenSet = true;
318 m_serviceConnectConfiguration = std::forward<ServiceConnectConfigurationT>(value);
319 }
320 template <typename ServiceConnectConfigurationT = ServiceConnectConfiguration>
321 ServiceRevision& WithServiceConnectConfiguration(ServiceConnectConfigurationT&& value) {
322 SetServiceConnectConfiguration(std::forward<ServiceConnectConfigurationT>(value));
323 return *this;
324 }
326
328
332 inline const Aws::Vector<ServiceVolumeConfiguration>& GetVolumeConfigurations() const { return m_volumeConfigurations; }
333 inline bool VolumeConfigurationsHasBeenSet() const { return m_volumeConfigurationsHasBeenSet; }
334 template <typename VolumeConfigurationsT = Aws::Vector<ServiceVolumeConfiguration>>
335 void SetVolumeConfigurations(VolumeConfigurationsT&& value) {
336 m_volumeConfigurationsHasBeenSet = true;
337 m_volumeConfigurations = std::forward<VolumeConfigurationsT>(value);
338 }
339 template <typename VolumeConfigurationsT = Aws::Vector<ServiceVolumeConfiguration>>
340 ServiceRevision& WithVolumeConfigurations(VolumeConfigurationsT&& value) {
341 SetVolumeConfigurations(std::forward<VolumeConfigurationsT>(value));
342 return *this;
343 }
344 template <typename VolumeConfigurationsT = ServiceVolumeConfiguration>
345 ServiceRevision& AddVolumeConfigurations(VolumeConfigurationsT&& value) {
346 m_volumeConfigurationsHasBeenSet = true;
347 m_volumeConfigurations.emplace_back(std::forward<VolumeConfigurationsT>(value));
348 return *this;
349 }
351
353
354 inline const DeploymentEphemeralStorage& GetFargateEphemeralStorage() const { return m_fargateEphemeralStorage; }
355 inline bool FargateEphemeralStorageHasBeenSet() const { return m_fargateEphemeralStorageHasBeenSet; }
356 template <typename FargateEphemeralStorageT = DeploymentEphemeralStorage>
357 void SetFargateEphemeralStorage(FargateEphemeralStorageT&& value) {
358 m_fargateEphemeralStorageHasBeenSet = true;
359 m_fargateEphemeralStorage = std::forward<FargateEphemeralStorageT>(value);
360 }
361 template <typename FargateEphemeralStorageT = DeploymentEphemeralStorage>
362 ServiceRevision& WithFargateEphemeralStorage(FargateEphemeralStorageT&& value) {
363 SetFargateEphemeralStorage(std::forward<FargateEphemeralStorageT>(value));
364 return *this;
365 }
367
369
373 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
374 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
375 template <typename CreatedAtT = Aws::Utils::DateTime>
376 void SetCreatedAt(CreatedAtT&& value) {
377 m_createdAtHasBeenSet = true;
378 m_createdAt = std::forward<CreatedAtT>(value);
379 }
380 template <typename CreatedAtT = Aws::Utils::DateTime>
381 ServiceRevision& WithCreatedAt(CreatedAtT&& value) {
382 SetCreatedAt(std::forward<CreatedAtT>(value));
383 return *this;
384 }
386
388
391 inline const Aws::Vector<VpcLatticeConfiguration>& GetVpcLatticeConfigurations() const { return m_vpcLatticeConfigurations; }
392 inline bool VpcLatticeConfigurationsHasBeenSet() const { return m_vpcLatticeConfigurationsHasBeenSet; }
393 template <typename VpcLatticeConfigurationsT = Aws::Vector<VpcLatticeConfiguration>>
394 void SetVpcLatticeConfigurations(VpcLatticeConfigurationsT&& value) {
395 m_vpcLatticeConfigurationsHasBeenSet = true;
396 m_vpcLatticeConfigurations = std::forward<VpcLatticeConfigurationsT>(value);
397 }
398 template <typename VpcLatticeConfigurationsT = Aws::Vector<VpcLatticeConfiguration>>
399 ServiceRevision& WithVpcLatticeConfigurations(VpcLatticeConfigurationsT&& value) {
400 SetVpcLatticeConfigurations(std::forward<VpcLatticeConfigurationsT>(value));
401 return *this;
402 }
403 template <typename VpcLatticeConfigurationsT = VpcLatticeConfiguration>
404 ServiceRevision& AddVpcLatticeConfigurations(VpcLatticeConfigurationsT&& value) {
405 m_vpcLatticeConfigurationsHasBeenSet = true;
406 m_vpcLatticeConfigurations.emplace_back(std::forward<VpcLatticeConfigurationsT>(value));
407 return *this;
408 }
410
412
417 inline const ResolvedConfiguration& GetResolvedConfiguration() const { return m_resolvedConfiguration; }
418 inline bool ResolvedConfigurationHasBeenSet() const { return m_resolvedConfigurationHasBeenSet; }
419 template <typename ResolvedConfigurationT = ResolvedConfiguration>
420 void SetResolvedConfiguration(ResolvedConfigurationT&& value) {
421 m_resolvedConfigurationHasBeenSet = true;
422 m_resolvedConfiguration = std::forward<ResolvedConfigurationT>(value);
423 }
424 template <typename ResolvedConfigurationT = ResolvedConfiguration>
425 ServiceRevision& WithResolvedConfiguration(ResolvedConfigurationT&& value) {
426 SetResolvedConfiguration(std::forward<ResolvedConfigurationT>(value));
427 return *this;
428 }
430
432
436 inline const ECSManagedResources& GetEcsManagedResources() const { return m_ecsManagedResources; }
437 inline bool EcsManagedResourcesHasBeenSet() const { return m_ecsManagedResourcesHasBeenSet; }
438 template <typename EcsManagedResourcesT = ECSManagedResources>
439 void SetEcsManagedResources(EcsManagedResourcesT&& value) {
440 m_ecsManagedResourcesHasBeenSet = true;
441 m_ecsManagedResources = std::forward<EcsManagedResourcesT>(value);
442 }
443 template <typename EcsManagedResourcesT = ECSManagedResources>
444 ServiceRevision& WithEcsManagedResources(EcsManagedResourcesT&& value) {
445 SetEcsManagedResources(std::forward<EcsManagedResourcesT>(value));
446 return *this;
447 }
449
451
456 inline const ServiceRevisionOverrides& GetOverrides() const { return m_overrides; }
457 inline bool OverridesHasBeenSet() const { return m_overridesHasBeenSet; }
458 template <typename OverridesT = ServiceRevisionOverrides>
459 void SetOverrides(OverridesT&& value) {
460 m_overridesHasBeenSet = true;
461 m_overrides = std::forward<OverridesT>(value);
462 }
463 template <typename OverridesT = ServiceRevisionOverrides>
464 ServiceRevision& WithOverrides(OverridesT&& value) {
465 SetOverrides(std::forward<OverridesT>(value));
466 return *this;
467 }
469
471
474 inline const Aws::Vector<GatewayConnector>& GetGatewayConnectors() const { return m_gatewayConnectors; }
475 inline bool GatewayConnectorsHasBeenSet() const { return m_gatewayConnectorsHasBeenSet; }
476 template <typename GatewayConnectorsT = Aws::Vector<GatewayConnector>>
477 void SetGatewayConnectors(GatewayConnectorsT&& value) {
478 m_gatewayConnectorsHasBeenSet = true;
479 m_gatewayConnectors = std::forward<GatewayConnectorsT>(value);
480 }
481 template <typename GatewayConnectorsT = Aws::Vector<GatewayConnector>>
482 ServiceRevision& WithGatewayConnectors(GatewayConnectorsT&& value) {
483 SetGatewayConnectors(std::forward<GatewayConnectorsT>(value));
484 return *this;
485 }
486 template <typename GatewayConnectorsT = GatewayConnector>
487 ServiceRevision& AddGatewayConnectors(GatewayConnectorsT&& value) {
488 m_gatewayConnectorsHasBeenSet = true;
489 m_gatewayConnectors.emplace_back(std::forward<GatewayConnectorsT>(value));
490 return *this;
491 }
493
495
501 inline const MonitoringConfiguration& GetMonitoring() const { return m_monitoring; }
502 inline bool MonitoringHasBeenSet() const { return m_monitoringHasBeenSet; }
503 template <typename MonitoringT = MonitoringConfiguration>
504 void SetMonitoring(MonitoringT&& value) {
505 m_monitoringHasBeenSet = true;
506 m_monitoring = std::forward<MonitoringT>(value);
507 }
508 template <typename MonitoringT = MonitoringConfiguration>
509 ServiceRevision& WithMonitoring(MonitoringT&& value) {
510 SetMonitoring(std::forward<MonitoringT>(value));
511 return *this;
512 }
514 private:
515 Aws::String m_serviceRevisionArn;
516
517 Aws::String m_serviceArn;
518
519 Aws::String m_clusterArn;
520
521 Aws::String m_taskDefinition;
522
523 Aws::Vector<CapacityProviderStrategyItem> m_capacityProviderStrategy;
524
525 LaunchType m_launchType{LaunchType::NOT_SET};
526
527 Aws::String m_platformVersion;
528
529 Aws::String m_platformFamily;
530
531 Aws::Vector<LoadBalancer> m_loadBalancers;
532
533 Aws::Vector<ServiceRegistry> m_serviceRegistries;
534
535 NetworkConfiguration m_networkConfiguration;
536
537 Aws::Vector<ContainerImage> m_containerImages;
538
539 bool m_guardDutyEnabled{false};
540
541 ServiceConnectConfiguration m_serviceConnectConfiguration;
542
543 Aws::Vector<ServiceVolumeConfiguration> m_volumeConfigurations;
544
545 DeploymentEphemeralStorage m_fargateEphemeralStorage;
546
547 Aws::Utils::DateTime m_createdAt{};
548
549 Aws::Vector<VpcLatticeConfiguration> m_vpcLatticeConfigurations;
550
551 ResolvedConfiguration m_resolvedConfiguration;
552
553 ECSManagedResources m_ecsManagedResources;
554
555 ServiceRevisionOverrides m_overrides;
556
557 Aws::Vector<GatewayConnector> m_gatewayConnectors;
558
559 MonitoringConfiguration m_monitoring;
560 bool m_serviceRevisionArnHasBeenSet = false;
561 bool m_serviceArnHasBeenSet = false;
562 bool m_clusterArnHasBeenSet = false;
563 bool m_taskDefinitionHasBeenSet = false;
564 bool m_capacityProviderStrategyHasBeenSet = false;
565 bool m_launchTypeHasBeenSet = false;
566 bool m_platformVersionHasBeenSet = false;
567 bool m_platformFamilyHasBeenSet = false;
568 bool m_loadBalancersHasBeenSet = false;
569 bool m_serviceRegistriesHasBeenSet = false;
570 bool m_networkConfigurationHasBeenSet = false;
571 bool m_containerImagesHasBeenSet = false;
572 bool m_guardDutyEnabledHasBeenSet = false;
573 bool m_serviceConnectConfigurationHasBeenSet = false;
574 bool m_volumeConfigurationsHasBeenSet = false;
575 bool m_fargateEphemeralStorageHasBeenSet = false;
576 bool m_createdAtHasBeenSet = false;
577 bool m_vpcLatticeConfigurationsHasBeenSet = false;
578 bool m_resolvedConfigurationHasBeenSet = false;
579 bool m_ecsManagedResourcesHasBeenSet = false;
580 bool m_overridesHasBeenSet = false;
581 bool m_gatewayConnectorsHasBeenSet = false;
582 bool m_monitoringHasBeenSet = false;
583};
584
585} // namespace Model
586} // namespace ECS
587} // namespace Aws
AWS_ECS_API ServiceRevision()=default
ServiceRevision & AddVolumeConfigurations(VolumeConfigurationsT &&value)
const ResolvedConfiguration & GetResolvedConfiguration() const
const Aws::String & GetTaskDefinition() const
const Aws::String & GetPlatformVersion() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetOverrides(OverridesT &&value)
ServiceRevision & WithServiceRegistries(ServiceRegistriesT &&value)
const DeploymentEphemeralStorage & GetFargateEphemeralStorage() const
void SetResolvedConfiguration(ResolvedConfigurationT &&value)
const ECSManagedResources & GetEcsManagedResources() const
const Aws::String & GetClusterArn() const
void SetPlatformVersion(PlatformVersionT &&value)
ServiceRevision & WithCapacityProviderStrategy(CapacityProviderStrategyT &&value)
const Aws::Vector< CapacityProviderStrategyItem > & GetCapacityProviderStrategy() const
void SetServiceRegistries(ServiceRegistriesT &&value)
ServiceRevision & WithServiceConnectConfiguration(ServiceConnectConfigurationT &&value)
ServiceRevision & WithMonitoring(MonitoringT &&value)
const Aws::String & GetPlatformFamily() const
ServiceRevision & WithPlatformVersion(PlatformVersionT &&value)
const NetworkConfiguration & GetNetworkConfiguration() const
ServiceRevision & WithClusterArn(ClusterArnT &&value)
ServiceRevision & WithGuardDutyEnabled(bool value)
ServiceRevision & AddContainerImages(ContainerImagesT &&value)
const Aws::Vector< VpcLatticeConfiguration > & GetVpcLatticeConfigurations() const
ServiceRevision & WithTaskDefinition(TaskDefinitionT &&value)
const Aws::Vector< GatewayConnector > & GetGatewayConnectors() const
const ServiceRevisionOverrides & GetOverrides() const
ServiceRevision & AddLoadBalancers(LoadBalancersT &&value)
ServiceRevision & WithNetworkConfiguration(NetworkConfigurationT &&value)
void SetMonitoring(MonitoringT &&value)
void SetContainerImages(ContainerImagesT &&value)
ServiceRevision & WithCreatedAt(CreatedAtT &&value)
ServiceRevision & AddCapacityProviderStrategy(CapacityProviderStrategyT &&value)
const Aws::String & GetServiceRevisionArn() const
void SetPlatformFamily(PlatformFamilyT &&value)
ServiceRevision & AddVpcLatticeConfigurations(VpcLatticeConfigurationsT &&value)
void SetFargateEphemeralStorage(FargateEphemeralStorageT &&value)
void SetServiceRevisionArn(ServiceRevisionArnT &&value)
AWS_ECS_API ServiceRevision(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ServiceVolumeConfiguration > & GetVolumeConfigurations() const
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< ServiceRegistry > & GetServiceRegistries() const
AWS_ECS_API ServiceRevision & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceRevision & WithContainerImages(ContainerImagesT &&value)
const Aws::Vector< LoadBalancer > & GetLoadBalancers() const
ServiceRevision & WithServiceRevisionArn(ServiceRevisionArnT &&value)
ServiceRevision & WithOverrides(OverridesT &&value)
void SetVpcLatticeConfigurations(VpcLatticeConfigurationsT &&value)
void SetLoadBalancers(LoadBalancersT &&value)
void SetVolumeConfigurations(VolumeConfigurationsT &&value)
void SetNetworkConfiguration(NetworkConfigurationT &&value)
void SetServiceArn(ServiceArnT &&value)
ServiceRevision & WithLaunchType(LaunchType value)
ServiceRevision & WithVpcLatticeConfigurations(VpcLatticeConfigurationsT &&value)
const Aws::Vector< ContainerImage > & GetContainerImages() const
const MonitoringConfiguration & GetMonitoring() const
ServiceRevision & WithFargateEphemeralStorage(FargateEphemeralStorageT &&value)
void SetCapacityProviderStrategy(CapacityProviderStrategyT &&value)
ServiceRevision & WithServiceArn(ServiceArnT &&value)
void SetTaskDefinition(TaskDefinitionT &&value)
ServiceRevision & WithPlatformFamily(PlatformFamilyT &&value)
void SetClusterArn(ClusterArnT &&value)
ServiceRevision & WithGatewayConnectors(GatewayConnectorsT &&value)
const ServiceConnectConfiguration & GetServiceConnectConfiguration() const
const Aws::String & GetServiceArn() const
void SetCreatedAt(CreatedAtT &&value)
void SetEcsManagedResources(EcsManagedResourcesT &&value)
void SetServiceConnectConfiguration(ServiceConnectConfigurationT &&value)
ServiceRevision & WithVolumeConfigurations(VolumeConfigurationsT &&value)
ServiceRevision & WithResolvedConfiguration(ResolvedConfigurationT &&value)
ServiceRevision & AddGatewayConnectors(GatewayConnectorsT &&value)
ServiceRevision & WithLoadBalancers(LoadBalancersT &&value)
void SetLaunchType(LaunchType value)
ServiceRevision & AddServiceRegistries(ServiceRegistriesT &&value)
ServiceRevision & WithEcsManagedResources(EcsManagedResourcesT &&value)
void SetGatewayConnectors(GatewayConnectorsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue