AWS SDK for C++

AWS SDK for C++ Version 1.11.849

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/LaunchType.h>
16#include <aws/ecs/model/LoadBalancer.h>
17#include <aws/ecs/model/MonitoringConfiguration.h>
18#include <aws/ecs/model/NetworkConfiguration.h>
19#include <aws/ecs/model/ResolvedConfiguration.h>
20#include <aws/ecs/model/ServiceConnectConfiguration.h>
21#include <aws/ecs/model/ServiceRegistry.h>
22#include <aws/ecs/model/ServiceRevisionOverrides.h>
23#include <aws/ecs/model/ServiceVolumeConfiguration.h>
24#include <aws/ecs/model/VpcLatticeConfiguration.h>
25
26#include <utility>
27
28namespace Aws {
29namespace Utils {
30namespace Json {
31class JsonValue;
32class JsonView;
33} // namespace Json
34} // namespace Utils
35namespace ECS {
36namespace Model {
37
51 public:
52 AWS_ECS_API ServiceRevision() = default;
56
58
61 inline const Aws::String& GetServiceRevisionArn() const { return m_serviceRevisionArn; }
62 inline bool ServiceRevisionArnHasBeenSet() const { return m_serviceRevisionArnHasBeenSet; }
63 template <typename ServiceRevisionArnT = Aws::String>
64 void SetServiceRevisionArn(ServiceRevisionArnT&& value) {
65 m_serviceRevisionArnHasBeenSet = true;
66 m_serviceRevisionArn = std::forward<ServiceRevisionArnT>(value);
67 }
68 template <typename ServiceRevisionArnT = Aws::String>
69 ServiceRevision& WithServiceRevisionArn(ServiceRevisionArnT&& value) {
70 SetServiceRevisionArn(std::forward<ServiceRevisionArnT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetServiceArn() const { return m_serviceArn; }
80 inline bool ServiceArnHasBeenSet() const { return m_serviceArnHasBeenSet; }
81 template <typename ServiceArnT = Aws::String>
82 void SetServiceArn(ServiceArnT&& value) {
83 m_serviceArnHasBeenSet = true;
84 m_serviceArn = std::forward<ServiceArnT>(value);
85 }
86 template <typename ServiceArnT = Aws::String>
87 ServiceRevision& WithServiceArn(ServiceArnT&& value) {
88 SetServiceArn(std::forward<ServiceArnT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
98 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
99 template <typename ClusterArnT = Aws::String>
100 void SetClusterArn(ClusterArnT&& value) {
101 m_clusterArnHasBeenSet = true;
102 m_clusterArn = std::forward<ClusterArnT>(value);
103 }
104 template <typename ClusterArnT = Aws::String>
105 ServiceRevision& WithClusterArn(ClusterArnT&& value) {
106 SetClusterArn(std::forward<ClusterArnT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::String& GetTaskDefinition() const { return m_taskDefinition; }
116 inline bool TaskDefinitionHasBeenSet() const { return m_taskDefinitionHasBeenSet; }
117 template <typename TaskDefinitionT = Aws::String>
118 void SetTaskDefinition(TaskDefinitionT&& value) {
119 m_taskDefinitionHasBeenSet = true;
120 m_taskDefinition = std::forward<TaskDefinitionT>(value);
121 }
122 template <typename TaskDefinitionT = Aws::String>
123 ServiceRevision& WithTaskDefinition(TaskDefinitionT&& value) {
124 SetTaskDefinition(std::forward<TaskDefinitionT>(value));
125 return *this;
126 }
128
130
133 inline const Aws::Vector<CapacityProviderStrategyItem>& GetCapacityProviderStrategy() const { return m_capacityProviderStrategy; }
134 inline bool CapacityProviderStrategyHasBeenSet() const { return m_capacityProviderStrategyHasBeenSet; }
135 template <typename CapacityProviderStrategyT = Aws::Vector<CapacityProviderStrategyItem>>
136 void SetCapacityProviderStrategy(CapacityProviderStrategyT&& value) {
137 m_capacityProviderStrategyHasBeenSet = true;
138 m_capacityProviderStrategy = std::forward<CapacityProviderStrategyT>(value);
139 }
140 template <typename CapacityProviderStrategyT = Aws::Vector<CapacityProviderStrategyItem>>
141 ServiceRevision& WithCapacityProviderStrategy(CapacityProviderStrategyT&& value) {
142 SetCapacityProviderStrategy(std::forward<CapacityProviderStrategyT>(value));
143 return *this;
144 }
145 template <typename CapacityProviderStrategyT = CapacityProviderStrategyItem>
146 ServiceRevision& AddCapacityProviderStrategy(CapacityProviderStrategyT&& value) {
147 m_capacityProviderStrategyHasBeenSet = true;
148 m_capacityProviderStrategy.emplace_back(std::forward<CapacityProviderStrategyT>(value));
149 return *this;
150 }
152
154
157 inline LaunchType GetLaunchType() const { return m_launchType; }
158 inline bool LaunchTypeHasBeenSet() const { return m_launchTypeHasBeenSet; }
159 inline void SetLaunchType(LaunchType value) {
160 m_launchTypeHasBeenSet = true;
161 m_launchType = value;
162 }
164 SetLaunchType(value);
165 return *this;
166 }
168
170
174 inline const Aws::String& GetPlatformVersion() const { return m_platformVersion; }
175 inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
176 template <typename PlatformVersionT = Aws::String>
177 void SetPlatformVersion(PlatformVersionT&& value) {
178 m_platformVersionHasBeenSet = true;
179 m_platformVersion = std::forward<PlatformVersionT>(value);
180 }
181 template <typename PlatformVersionT = Aws::String>
182 ServiceRevision& WithPlatformVersion(PlatformVersionT&& value) {
183 SetPlatformVersion(std::forward<PlatformVersionT>(value));
184 return *this;
185 }
187
189
192 inline const Aws::String& GetPlatformFamily() const { return m_platformFamily; }
193 inline bool PlatformFamilyHasBeenSet() const { return m_platformFamilyHasBeenSet; }
194 template <typename PlatformFamilyT = Aws::String>
195 void SetPlatformFamily(PlatformFamilyT&& value) {
196 m_platformFamilyHasBeenSet = true;
197 m_platformFamily = std::forward<PlatformFamilyT>(value);
198 }
199 template <typename PlatformFamilyT = Aws::String>
200 ServiceRevision& WithPlatformFamily(PlatformFamilyT&& value) {
201 SetPlatformFamily(std::forward<PlatformFamilyT>(value));
202 return *this;
203 }
205
207
210 inline const Aws::Vector<LoadBalancer>& GetLoadBalancers() const { return m_loadBalancers; }
211 inline bool LoadBalancersHasBeenSet() const { return m_loadBalancersHasBeenSet; }
212 template <typename LoadBalancersT = Aws::Vector<LoadBalancer>>
213 void SetLoadBalancers(LoadBalancersT&& value) {
214 m_loadBalancersHasBeenSet = true;
215 m_loadBalancers = std::forward<LoadBalancersT>(value);
216 }
217 template <typename LoadBalancersT = Aws::Vector<LoadBalancer>>
218 ServiceRevision& WithLoadBalancers(LoadBalancersT&& value) {
219 SetLoadBalancers(std::forward<LoadBalancersT>(value));
220 return *this;
221 }
222 template <typename LoadBalancersT = LoadBalancer>
223 ServiceRevision& AddLoadBalancers(LoadBalancersT&& value) {
224 m_loadBalancersHasBeenSet = true;
225 m_loadBalancers.emplace_back(std::forward<LoadBalancersT>(value));
226 return *this;
227 }
229
231
234 inline const Aws::Vector<ServiceRegistry>& GetServiceRegistries() const { return m_serviceRegistries; }
235 inline bool ServiceRegistriesHasBeenSet() const { return m_serviceRegistriesHasBeenSet; }
236 template <typename ServiceRegistriesT = Aws::Vector<ServiceRegistry>>
237 void SetServiceRegistries(ServiceRegistriesT&& value) {
238 m_serviceRegistriesHasBeenSet = true;
239 m_serviceRegistries = std::forward<ServiceRegistriesT>(value);
240 }
241 template <typename ServiceRegistriesT = Aws::Vector<ServiceRegistry>>
242 ServiceRevision& WithServiceRegistries(ServiceRegistriesT&& value) {
243 SetServiceRegistries(std::forward<ServiceRegistriesT>(value));
244 return *this;
245 }
246 template <typename ServiceRegistriesT = ServiceRegistry>
247 ServiceRevision& AddServiceRegistries(ServiceRegistriesT&& value) {
248 m_serviceRegistriesHasBeenSet = true;
249 m_serviceRegistries.emplace_back(std::forward<ServiceRegistriesT>(value));
250 return *this;
251 }
253
255
256 inline const NetworkConfiguration& GetNetworkConfiguration() const { return m_networkConfiguration; }
257 inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; }
258 template <typename NetworkConfigurationT = NetworkConfiguration>
259 void SetNetworkConfiguration(NetworkConfigurationT&& value) {
260 m_networkConfigurationHasBeenSet = true;
261 m_networkConfiguration = std::forward<NetworkConfigurationT>(value);
262 }
263 template <typename NetworkConfigurationT = NetworkConfiguration>
264 ServiceRevision& WithNetworkConfiguration(NetworkConfigurationT&& value) {
265 SetNetworkConfiguration(std::forward<NetworkConfigurationT>(value));
266 return *this;
267 }
269
271
274 inline const Aws::Vector<ContainerImage>& GetContainerImages() const { return m_containerImages; }
275 inline bool ContainerImagesHasBeenSet() const { return m_containerImagesHasBeenSet; }
276 template <typename ContainerImagesT = Aws::Vector<ContainerImage>>
277 void SetContainerImages(ContainerImagesT&& value) {
278 m_containerImagesHasBeenSet = true;
279 m_containerImages = std::forward<ContainerImagesT>(value);
280 }
281 template <typename ContainerImagesT = Aws::Vector<ContainerImage>>
282 ServiceRevision& WithContainerImages(ContainerImagesT&& value) {
283 SetContainerImages(std::forward<ContainerImagesT>(value));
284 return *this;
285 }
286 template <typename ContainerImagesT = ContainerImage>
287 ServiceRevision& AddContainerImages(ContainerImagesT&& value) {
288 m_containerImagesHasBeenSet = true;
289 m_containerImages.emplace_back(std::forward<ContainerImagesT>(value));
290 return *this;
291 }
293
295
298 inline bool GetGuardDutyEnabled() const { return m_guardDutyEnabled; }
299 inline bool GuardDutyEnabledHasBeenSet() const { return m_guardDutyEnabledHasBeenSet; }
300 inline void SetGuardDutyEnabled(bool value) {
301 m_guardDutyEnabledHasBeenSet = true;
302 m_guardDutyEnabled = value;
303 }
305 SetGuardDutyEnabled(value);
306 return *this;
307 }
309
311
312 inline const ServiceConnectConfiguration& GetServiceConnectConfiguration() const { return m_serviceConnectConfiguration; }
313 inline bool ServiceConnectConfigurationHasBeenSet() const { return m_serviceConnectConfigurationHasBeenSet; }
314 template <typename ServiceConnectConfigurationT = ServiceConnectConfiguration>
315 void SetServiceConnectConfiguration(ServiceConnectConfigurationT&& value) {
316 m_serviceConnectConfigurationHasBeenSet = true;
317 m_serviceConnectConfiguration = std::forward<ServiceConnectConfigurationT>(value);
318 }
319 template <typename ServiceConnectConfigurationT = ServiceConnectConfiguration>
320 ServiceRevision& WithServiceConnectConfiguration(ServiceConnectConfigurationT&& value) {
321 SetServiceConnectConfiguration(std::forward<ServiceConnectConfigurationT>(value));
322 return *this;
323 }
325
327
331 inline const Aws::Vector<ServiceVolumeConfiguration>& GetVolumeConfigurations() const { return m_volumeConfigurations; }
332 inline bool VolumeConfigurationsHasBeenSet() const { return m_volumeConfigurationsHasBeenSet; }
333 template <typename VolumeConfigurationsT = Aws::Vector<ServiceVolumeConfiguration>>
334 void SetVolumeConfigurations(VolumeConfigurationsT&& value) {
335 m_volumeConfigurationsHasBeenSet = true;
336 m_volumeConfigurations = std::forward<VolumeConfigurationsT>(value);
337 }
338 template <typename VolumeConfigurationsT = Aws::Vector<ServiceVolumeConfiguration>>
339 ServiceRevision& WithVolumeConfigurations(VolumeConfigurationsT&& value) {
340 SetVolumeConfigurations(std::forward<VolumeConfigurationsT>(value));
341 return *this;
342 }
343 template <typename VolumeConfigurationsT = ServiceVolumeConfiguration>
344 ServiceRevision& AddVolumeConfigurations(VolumeConfigurationsT&& value) {
345 m_volumeConfigurationsHasBeenSet = true;
346 m_volumeConfigurations.emplace_back(std::forward<VolumeConfigurationsT>(value));
347 return *this;
348 }
350
352
353 inline const DeploymentEphemeralStorage& GetFargateEphemeralStorage() const { return m_fargateEphemeralStorage; }
354 inline bool FargateEphemeralStorageHasBeenSet() const { return m_fargateEphemeralStorageHasBeenSet; }
355 template <typename FargateEphemeralStorageT = DeploymentEphemeralStorage>
356 void SetFargateEphemeralStorage(FargateEphemeralStorageT&& value) {
357 m_fargateEphemeralStorageHasBeenSet = true;
358 m_fargateEphemeralStorage = std::forward<FargateEphemeralStorageT>(value);
359 }
360 template <typename FargateEphemeralStorageT = DeploymentEphemeralStorage>
361 ServiceRevision& WithFargateEphemeralStorage(FargateEphemeralStorageT&& value) {
362 SetFargateEphemeralStorage(std::forward<FargateEphemeralStorageT>(value));
363 return *this;
364 }
366
368
372 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
373 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
374 template <typename CreatedAtT = Aws::Utils::DateTime>
375 void SetCreatedAt(CreatedAtT&& value) {
376 m_createdAtHasBeenSet = true;
377 m_createdAt = std::forward<CreatedAtT>(value);
378 }
379 template <typename CreatedAtT = Aws::Utils::DateTime>
380 ServiceRevision& WithCreatedAt(CreatedAtT&& value) {
381 SetCreatedAt(std::forward<CreatedAtT>(value));
382 return *this;
383 }
385
387
390 inline const Aws::Vector<VpcLatticeConfiguration>& GetVpcLatticeConfigurations() const { return m_vpcLatticeConfigurations; }
391 inline bool VpcLatticeConfigurationsHasBeenSet() const { return m_vpcLatticeConfigurationsHasBeenSet; }
392 template <typename VpcLatticeConfigurationsT = Aws::Vector<VpcLatticeConfiguration>>
393 void SetVpcLatticeConfigurations(VpcLatticeConfigurationsT&& value) {
394 m_vpcLatticeConfigurationsHasBeenSet = true;
395 m_vpcLatticeConfigurations = std::forward<VpcLatticeConfigurationsT>(value);
396 }
397 template <typename VpcLatticeConfigurationsT = Aws::Vector<VpcLatticeConfiguration>>
398 ServiceRevision& WithVpcLatticeConfigurations(VpcLatticeConfigurationsT&& value) {
399 SetVpcLatticeConfigurations(std::forward<VpcLatticeConfigurationsT>(value));
400 return *this;
401 }
402 template <typename VpcLatticeConfigurationsT = VpcLatticeConfiguration>
403 ServiceRevision& AddVpcLatticeConfigurations(VpcLatticeConfigurationsT&& value) {
404 m_vpcLatticeConfigurationsHasBeenSet = true;
405 m_vpcLatticeConfigurations.emplace_back(std::forward<VpcLatticeConfigurationsT>(value));
406 return *this;
407 }
409
411
416 inline const ResolvedConfiguration& GetResolvedConfiguration() const { return m_resolvedConfiguration; }
417 inline bool ResolvedConfigurationHasBeenSet() const { return m_resolvedConfigurationHasBeenSet; }
418 template <typename ResolvedConfigurationT = ResolvedConfiguration>
419 void SetResolvedConfiguration(ResolvedConfigurationT&& value) {
420 m_resolvedConfigurationHasBeenSet = true;
421 m_resolvedConfiguration = std::forward<ResolvedConfigurationT>(value);
422 }
423 template <typename ResolvedConfigurationT = ResolvedConfiguration>
424 ServiceRevision& WithResolvedConfiguration(ResolvedConfigurationT&& value) {
425 SetResolvedConfiguration(std::forward<ResolvedConfigurationT>(value));
426 return *this;
427 }
429
431
435 inline const ECSManagedResources& GetEcsManagedResources() const { return m_ecsManagedResources; }
436 inline bool EcsManagedResourcesHasBeenSet() const { return m_ecsManagedResourcesHasBeenSet; }
437 template <typename EcsManagedResourcesT = ECSManagedResources>
438 void SetEcsManagedResources(EcsManagedResourcesT&& value) {
439 m_ecsManagedResourcesHasBeenSet = true;
440 m_ecsManagedResources = std::forward<EcsManagedResourcesT>(value);
441 }
442 template <typename EcsManagedResourcesT = ECSManagedResources>
443 ServiceRevision& WithEcsManagedResources(EcsManagedResourcesT&& value) {
444 SetEcsManagedResources(std::forward<EcsManagedResourcesT>(value));
445 return *this;
446 }
448
450
455 inline const ServiceRevisionOverrides& GetOverrides() const { return m_overrides; }
456 inline bool OverridesHasBeenSet() const { return m_overridesHasBeenSet; }
457 template <typename OverridesT = ServiceRevisionOverrides>
458 void SetOverrides(OverridesT&& value) {
459 m_overridesHasBeenSet = true;
460 m_overrides = std::forward<OverridesT>(value);
461 }
462 template <typename OverridesT = ServiceRevisionOverrides>
463 ServiceRevision& WithOverrides(OverridesT&& value) {
464 SetOverrides(std::forward<OverridesT>(value));
465 return *this;
466 }
468
470
476 inline const MonitoringConfiguration& GetMonitoring() const { return m_monitoring; }
477 inline bool MonitoringHasBeenSet() const { return m_monitoringHasBeenSet; }
478 template <typename MonitoringT = MonitoringConfiguration>
479 void SetMonitoring(MonitoringT&& value) {
480 m_monitoringHasBeenSet = true;
481 m_monitoring = std::forward<MonitoringT>(value);
482 }
483 template <typename MonitoringT = MonitoringConfiguration>
484 ServiceRevision& WithMonitoring(MonitoringT&& value) {
485 SetMonitoring(std::forward<MonitoringT>(value));
486 return *this;
487 }
489 private:
490 Aws::String m_serviceRevisionArn;
491
492 Aws::String m_serviceArn;
493
494 Aws::String m_clusterArn;
495
496 Aws::String m_taskDefinition;
497
498 Aws::Vector<CapacityProviderStrategyItem> m_capacityProviderStrategy;
499
500 LaunchType m_launchType{LaunchType::NOT_SET};
501
502 Aws::String m_platformVersion;
503
504 Aws::String m_platformFamily;
505
506 Aws::Vector<LoadBalancer> m_loadBalancers;
507
508 Aws::Vector<ServiceRegistry> m_serviceRegistries;
509
510 NetworkConfiguration m_networkConfiguration;
511
512 Aws::Vector<ContainerImage> m_containerImages;
513
514 bool m_guardDutyEnabled{false};
515
516 ServiceConnectConfiguration m_serviceConnectConfiguration;
517
518 Aws::Vector<ServiceVolumeConfiguration> m_volumeConfigurations;
519
520 DeploymentEphemeralStorage m_fargateEphemeralStorage;
521
522 Aws::Utils::DateTime m_createdAt{};
523
524 Aws::Vector<VpcLatticeConfiguration> m_vpcLatticeConfigurations;
525
526 ResolvedConfiguration m_resolvedConfiguration;
527
528 ECSManagedResources m_ecsManagedResources;
529
530 ServiceRevisionOverrides m_overrides;
531
532 MonitoringConfiguration m_monitoring;
533 bool m_serviceRevisionArnHasBeenSet = false;
534 bool m_serviceArnHasBeenSet = false;
535 bool m_clusterArnHasBeenSet = false;
536 bool m_taskDefinitionHasBeenSet = false;
537 bool m_capacityProviderStrategyHasBeenSet = false;
538 bool m_launchTypeHasBeenSet = false;
539 bool m_platformVersionHasBeenSet = false;
540 bool m_platformFamilyHasBeenSet = false;
541 bool m_loadBalancersHasBeenSet = false;
542 bool m_serviceRegistriesHasBeenSet = false;
543 bool m_networkConfigurationHasBeenSet = false;
544 bool m_containerImagesHasBeenSet = false;
545 bool m_guardDutyEnabledHasBeenSet = false;
546 bool m_serviceConnectConfigurationHasBeenSet = false;
547 bool m_volumeConfigurationsHasBeenSet = false;
548 bool m_fargateEphemeralStorageHasBeenSet = false;
549 bool m_createdAtHasBeenSet = false;
550 bool m_vpcLatticeConfigurationsHasBeenSet = false;
551 bool m_resolvedConfigurationHasBeenSet = false;
552 bool m_ecsManagedResourcesHasBeenSet = false;
553 bool m_overridesHasBeenSet = false;
554 bool m_monitoringHasBeenSet = false;
555};
556
557} // namespace Model
558} // namespace ECS
559} // 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 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)
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 & WithLoadBalancers(LoadBalancersT &&value)
void SetLaunchType(LaunchType value)
ServiceRevision & AddServiceRegistries(ServiceRegistriesT &&value)
ServiceRevision & WithEcsManagedResources(EcsManagedResourcesT &&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