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>
64 template <
typename ServiceRevisionArnT = Aws::String>
66 m_serviceRevisionArnHasBeenSet =
true;
67 m_serviceRevisionArn = std::forward<ServiceRevisionArnT>(value);
69 template <
typename ServiceRevisionArnT = Aws::String>
82 template <
typename ServiceArnT = Aws::String>
84 m_serviceArnHasBeenSet =
true;
85 m_serviceArn = std::forward<ServiceArnT>(value);
87 template <
typename ServiceArnT = Aws::String>
100 template <
typename ClusterArnT = Aws::String>
102 m_clusterArnHasBeenSet =
true;
103 m_clusterArn = std::forward<ClusterArnT>(value);
105 template <
typename ClusterArnT = Aws::String>
118 template <
typename TaskDefinitionT = Aws::String>
120 m_taskDefinitionHasBeenSet =
true;
121 m_taskDefinition = std::forward<TaskDefinitionT>(value);
123 template <
typename TaskDefinitionT = Aws::String>
136 template <
typename CapacityProv
iderStrategyT = Aws::Vector<CapacityProv
iderStrategyItem>>
138 m_capacityProviderStrategyHasBeenSet =
true;
139 m_capacityProviderStrategy = std::forward<CapacityProviderStrategyT>(value);
141 template <
typename CapacityProv
iderStrategyT = Aws::Vector<CapacityProv
iderStrategyItem>>
146 template <
typename CapacityProv
iderStrategyT = CapacityProv
iderStrategyItem>
148 m_capacityProviderStrategyHasBeenSet =
true;
149 m_capacityProviderStrategy.emplace_back(std::forward<CapacityProviderStrategyT>(value));
161 m_launchTypeHasBeenSet =
true;
162 m_launchType = value;
177 template <
typename PlatformVersionT = Aws::String>
179 m_platformVersionHasBeenSet =
true;
180 m_platformVersion = std::forward<PlatformVersionT>(value);
182 template <
typename PlatformVersionT = Aws::String>
195 template <
typename PlatformFamilyT = Aws::String>
197 m_platformFamilyHasBeenSet =
true;
198 m_platformFamily = std::forward<PlatformFamilyT>(value);
200 template <
typename PlatformFamilyT = Aws::String>
213 template <
typename LoadBalancersT = Aws::Vector<LoadBalancer>>
215 m_loadBalancersHasBeenSet =
true;
216 m_loadBalancers = std::forward<LoadBalancersT>(value);
218 template <
typename LoadBalancersT = Aws::Vector<LoadBalancer>>
223 template <
typename LoadBalancersT = LoadBalancer>
225 m_loadBalancersHasBeenSet =
true;
226 m_loadBalancers.emplace_back(std::forward<LoadBalancersT>(value));
237 template <
typename ServiceRegistriesT = Aws::Vector<ServiceRegistry>>
239 m_serviceRegistriesHasBeenSet =
true;
240 m_serviceRegistries = std::forward<ServiceRegistriesT>(value);
242 template <
typename ServiceRegistriesT = Aws::Vector<ServiceRegistry>>
247 template <
typename ServiceRegistriesT = ServiceRegistry>
249 m_serviceRegistriesHasBeenSet =
true;
250 m_serviceRegistries.emplace_back(std::forward<ServiceRegistriesT>(value));
259 template <
typename NetworkConfigurationT = NetworkConfiguration>
261 m_networkConfigurationHasBeenSet =
true;
262 m_networkConfiguration = std::forward<NetworkConfigurationT>(value);
264 template <
typename NetworkConfigurationT = NetworkConfiguration>
277 template <
typename ContainerImagesT = Aws::Vector<ContainerImage>>
279 m_containerImagesHasBeenSet =
true;
280 m_containerImages = std::forward<ContainerImagesT>(value);
282 template <
typename ContainerImagesT = Aws::Vector<ContainerImage>>
287 template <
typename ContainerImagesT = ContainerImage>
289 m_containerImagesHasBeenSet =
true;
290 m_containerImages.emplace_back(std::forward<ContainerImagesT>(value));
302 m_guardDutyEnabledHasBeenSet =
true;
303 m_guardDutyEnabled = value;
315 template <
typename ServiceConnectConfigurationT = ServiceConnectConfiguration>
317 m_serviceConnectConfigurationHasBeenSet =
true;
318 m_serviceConnectConfiguration = std::forward<ServiceConnectConfigurationT>(value);
320 template <
typename ServiceConnectConfigurationT = ServiceConnectConfiguration>
334 template <
typename VolumeConfigurationsT = Aws::Vector<ServiceVolumeConfiguration>>
336 m_volumeConfigurationsHasBeenSet =
true;
337 m_volumeConfigurations = std::forward<VolumeConfigurationsT>(value);
339 template <
typename VolumeConfigurationsT = Aws::Vector<ServiceVolumeConfiguration>>
344 template <
typename VolumeConfigurationsT = ServiceVolumeConfiguration>
346 m_volumeConfigurationsHasBeenSet =
true;
347 m_volumeConfigurations.emplace_back(std::forward<VolumeConfigurationsT>(value));
356 template <
typename FargateEphemeralStorageT = DeploymentEphemeralStorage>
358 m_fargateEphemeralStorageHasBeenSet =
true;
359 m_fargateEphemeralStorage = std::forward<FargateEphemeralStorageT>(value);
361 template <
typename FargateEphemeralStorageT = DeploymentEphemeralStorage>
375 template <
typename CreatedAtT = Aws::Utils::DateTime>
377 m_createdAtHasBeenSet =
true;
378 m_createdAt = std::forward<CreatedAtT>(value);
380 template <
typename CreatedAtT = Aws::Utils::DateTime>
393 template <
typename VpcLatticeConfigurationsT = Aws::Vector<VpcLatticeConfiguration>>
395 m_vpcLatticeConfigurationsHasBeenSet =
true;
396 m_vpcLatticeConfigurations = std::forward<VpcLatticeConfigurationsT>(value);
398 template <
typename VpcLatticeConfigurationsT = Aws::Vector<VpcLatticeConfiguration>>
403 template <
typename VpcLatticeConfigurationsT = VpcLatticeConfiguration>
405 m_vpcLatticeConfigurationsHasBeenSet =
true;
406 m_vpcLatticeConfigurations.emplace_back(std::forward<VpcLatticeConfigurationsT>(value));
419 template <
typename ResolvedConfigurationT = ResolvedConfiguration>
421 m_resolvedConfigurationHasBeenSet =
true;
422 m_resolvedConfiguration = std::forward<ResolvedConfigurationT>(value);
424 template <
typename ResolvedConfigurationT = ResolvedConfiguration>
438 template <
typename EcsManagedResourcesT = ECSManagedResources>
440 m_ecsManagedResourcesHasBeenSet =
true;
441 m_ecsManagedResources = std::forward<EcsManagedResourcesT>(value);
443 template <
typename EcsManagedResourcesT = ECSManagedResources>
458 template <
typename Overr
idesT = ServiceRevisionOverr
ides>
460 m_overridesHasBeenSet =
true;
461 m_overrides = std::forward<OverridesT>(value);
463 template <
typename Overr
idesT = ServiceRevisionOverr
ides>
476 template <
typename GatewayConnectorsT = Aws::Vector<GatewayConnector>>
478 m_gatewayConnectorsHasBeenSet =
true;
479 m_gatewayConnectors = std::forward<GatewayConnectorsT>(value);
481 template <
typename GatewayConnectorsT = Aws::Vector<GatewayConnector>>
486 template <
typename GatewayConnectorsT = GatewayConnector>
488 m_gatewayConnectorsHasBeenSet =
true;
489 m_gatewayConnectors.emplace_back(std::forward<GatewayConnectorsT>(value));
503 template <
typename MonitoringT = MonitoringConfiguration>
505 m_monitoringHasBeenSet =
true;
506 m_monitoring = std::forward<MonitoringT>(value);
508 template <
typename MonitoringT = MonitoringConfiguration>
535 NetworkConfiguration m_networkConfiguration;
539 bool m_guardDutyEnabled{
false};
541 ServiceConnectConfiguration m_serviceConnectConfiguration;
545 DeploymentEphemeralStorage m_fargateEphemeralStorage;
551 ResolvedConfiguration m_resolvedConfiguration;
553 ECSManagedResources m_ecsManagedResources;
555 ServiceRevisionOverrides m_overrides;
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;
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)
bool GatewayConnectorsHasBeenSet() const
bool ServiceRevisionArnHasBeenSet() const
bool GuardDutyEnabledHasBeenSet() const
ServiceRevision & WithServiceRegistries(ServiceRegistriesT &&value)
bool MonitoringHasBeenSet() const
const DeploymentEphemeralStorage & GetFargateEphemeralStorage() const
void SetResolvedConfiguration(ResolvedConfigurationT &&value)
const ECSManagedResources & GetEcsManagedResources() const
bool ServiceRegistriesHasBeenSet() const
bool OverridesHasBeenSet() const
const Aws::String & GetClusterArn() const
void SetPlatformVersion(PlatformVersionT &&value)
ServiceRevision & WithCapacityProviderStrategy(CapacityProviderStrategyT &&value)
bool CapacityProviderStrategyHasBeenSet() const
const Aws::Vector< CapacityProviderStrategyItem > & GetCapacityProviderStrategy() const
bool EcsManagedResourcesHasBeenSet() const
void SetServiceRegistries(ServiceRegistriesT &&value)
bool ResolvedConfigurationHasBeenSet() const
ServiceRevision & WithServiceConnectConfiguration(ServiceConnectConfigurationT &&value)
ServiceRevision & WithMonitoring(MonitoringT &&value)
const Aws::String & GetPlatformFamily() const
ServiceRevision & WithPlatformVersion(PlatformVersionT &&value)
bool ContainerImagesHasBeenSet() const
const NetworkConfiguration & GetNetworkConfiguration() const
bool ServiceConnectConfigurationHasBeenSet() const
ServiceRevision & WithClusterArn(ClusterArnT &&value)
bool VolumeConfigurationsHasBeenSet() const
ServiceRevision & WithGuardDutyEnabled(bool value)
bool NetworkConfigurationHasBeenSet() const
bool LoadBalancersHasBeenSet() const
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)
bool ClusterArnHasBeenSet() const
void SetMonitoring(MonitoringT &&value)
LaunchType GetLaunchType() const
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)
bool VpcLatticeConfigurationsHasBeenSet() const
void SetServiceRevisionArn(ServiceRevisionArnT &&value)
bool CreatedAtHasBeenSet() const
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
bool LaunchTypeHasBeenSet() const
AWS_ECS_API ServiceRevision & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceRevision & WithContainerImages(ContainerImagesT &&value)
bool TaskDefinitionHasBeenSet() const
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)
bool ServiceArnHasBeenSet() const
ServiceRevision & WithLaunchType(LaunchType value)
ServiceRevision & WithVpcLatticeConfigurations(VpcLatticeConfigurationsT &&value)
void SetGuardDutyEnabled(bool 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)
bool FargateEphemeralStorageHasBeenSet() const
const ServiceConnectConfiguration & GetServiceConnectConfiguration() const
const Aws::String & GetServiceArn() const
bool GetGuardDutyEnabled() 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)
bool PlatformVersionHasBeenSet() const
bool PlatformFamilyHasBeenSet() const
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