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>
63 template <
typename ServiceRevisionArnT = Aws::String>
65 m_serviceRevisionArnHasBeenSet =
true;
66 m_serviceRevisionArn = std::forward<ServiceRevisionArnT>(value);
68 template <
typename ServiceRevisionArnT = Aws::String>
81 template <
typename ServiceArnT = Aws::String>
83 m_serviceArnHasBeenSet =
true;
84 m_serviceArn = std::forward<ServiceArnT>(value);
86 template <
typename ServiceArnT = Aws::String>
99 template <
typename ClusterArnT = Aws::String>
101 m_clusterArnHasBeenSet =
true;
102 m_clusterArn = std::forward<ClusterArnT>(value);
104 template <
typename ClusterArnT = Aws::String>
117 template <
typename TaskDefinitionT = Aws::String>
119 m_taskDefinitionHasBeenSet =
true;
120 m_taskDefinition = std::forward<TaskDefinitionT>(value);
122 template <
typename TaskDefinitionT = Aws::String>
135 template <
typename CapacityProv
iderStrategyT = Aws::Vector<CapacityProv
iderStrategyItem>>
137 m_capacityProviderStrategyHasBeenSet =
true;
138 m_capacityProviderStrategy = std::forward<CapacityProviderStrategyT>(value);
140 template <
typename CapacityProv
iderStrategyT = Aws::Vector<CapacityProv
iderStrategyItem>>
145 template <
typename CapacityProv
iderStrategyT = CapacityProv
iderStrategyItem>
147 m_capacityProviderStrategyHasBeenSet =
true;
148 m_capacityProviderStrategy.emplace_back(std::forward<CapacityProviderStrategyT>(value));
160 m_launchTypeHasBeenSet =
true;
161 m_launchType = value;
176 template <
typename PlatformVersionT = Aws::String>
178 m_platformVersionHasBeenSet =
true;
179 m_platformVersion = std::forward<PlatformVersionT>(value);
181 template <
typename PlatformVersionT = Aws::String>
194 template <
typename PlatformFamilyT = Aws::String>
196 m_platformFamilyHasBeenSet =
true;
197 m_platformFamily = std::forward<PlatformFamilyT>(value);
199 template <
typename PlatformFamilyT = Aws::String>
212 template <
typename LoadBalancersT = Aws::Vector<LoadBalancer>>
214 m_loadBalancersHasBeenSet =
true;
215 m_loadBalancers = std::forward<LoadBalancersT>(value);
217 template <
typename LoadBalancersT = Aws::Vector<LoadBalancer>>
222 template <
typename LoadBalancersT = LoadBalancer>
224 m_loadBalancersHasBeenSet =
true;
225 m_loadBalancers.emplace_back(std::forward<LoadBalancersT>(value));
236 template <
typename ServiceRegistriesT = Aws::Vector<ServiceRegistry>>
238 m_serviceRegistriesHasBeenSet =
true;
239 m_serviceRegistries = std::forward<ServiceRegistriesT>(value);
241 template <
typename ServiceRegistriesT = Aws::Vector<ServiceRegistry>>
246 template <
typename ServiceRegistriesT = ServiceRegistry>
248 m_serviceRegistriesHasBeenSet =
true;
249 m_serviceRegistries.emplace_back(std::forward<ServiceRegistriesT>(value));
258 template <
typename NetworkConfigurationT = NetworkConfiguration>
260 m_networkConfigurationHasBeenSet =
true;
261 m_networkConfiguration = std::forward<NetworkConfigurationT>(value);
263 template <
typename NetworkConfigurationT = NetworkConfiguration>
276 template <
typename ContainerImagesT = Aws::Vector<ContainerImage>>
278 m_containerImagesHasBeenSet =
true;
279 m_containerImages = std::forward<ContainerImagesT>(value);
281 template <
typename ContainerImagesT = Aws::Vector<ContainerImage>>
286 template <
typename ContainerImagesT = ContainerImage>
288 m_containerImagesHasBeenSet =
true;
289 m_containerImages.emplace_back(std::forward<ContainerImagesT>(value));
301 m_guardDutyEnabledHasBeenSet =
true;
302 m_guardDutyEnabled = value;
314 template <
typename ServiceConnectConfigurationT = ServiceConnectConfiguration>
316 m_serviceConnectConfigurationHasBeenSet =
true;
317 m_serviceConnectConfiguration = std::forward<ServiceConnectConfigurationT>(value);
319 template <
typename ServiceConnectConfigurationT = ServiceConnectConfiguration>
333 template <
typename VolumeConfigurationsT = Aws::Vector<ServiceVolumeConfiguration>>
335 m_volumeConfigurationsHasBeenSet =
true;
336 m_volumeConfigurations = std::forward<VolumeConfigurationsT>(value);
338 template <
typename VolumeConfigurationsT = Aws::Vector<ServiceVolumeConfiguration>>
343 template <
typename VolumeConfigurationsT = ServiceVolumeConfiguration>
345 m_volumeConfigurationsHasBeenSet =
true;
346 m_volumeConfigurations.emplace_back(std::forward<VolumeConfigurationsT>(value));
355 template <
typename FargateEphemeralStorageT = DeploymentEphemeralStorage>
357 m_fargateEphemeralStorageHasBeenSet =
true;
358 m_fargateEphemeralStorage = std::forward<FargateEphemeralStorageT>(value);
360 template <
typename FargateEphemeralStorageT = DeploymentEphemeralStorage>
374 template <
typename CreatedAtT = Aws::Utils::DateTime>
376 m_createdAtHasBeenSet =
true;
377 m_createdAt = std::forward<CreatedAtT>(value);
379 template <
typename CreatedAtT = Aws::Utils::DateTime>
392 template <
typename VpcLatticeConfigurationsT = Aws::Vector<VpcLatticeConfiguration>>
394 m_vpcLatticeConfigurationsHasBeenSet =
true;
395 m_vpcLatticeConfigurations = std::forward<VpcLatticeConfigurationsT>(value);
397 template <
typename VpcLatticeConfigurationsT = Aws::Vector<VpcLatticeConfiguration>>
402 template <
typename VpcLatticeConfigurationsT = VpcLatticeConfiguration>
404 m_vpcLatticeConfigurationsHasBeenSet =
true;
405 m_vpcLatticeConfigurations.emplace_back(std::forward<VpcLatticeConfigurationsT>(value));
418 template <
typename ResolvedConfigurationT = ResolvedConfiguration>
420 m_resolvedConfigurationHasBeenSet =
true;
421 m_resolvedConfiguration = std::forward<ResolvedConfigurationT>(value);
423 template <
typename ResolvedConfigurationT = ResolvedConfiguration>
437 template <
typename EcsManagedResourcesT = ECSManagedResources>
439 m_ecsManagedResourcesHasBeenSet =
true;
440 m_ecsManagedResources = std::forward<EcsManagedResourcesT>(value);
442 template <
typename EcsManagedResourcesT = ECSManagedResources>
457 template <
typename Overr
idesT = ServiceRevisionOverr
ides>
459 m_overridesHasBeenSet =
true;
460 m_overrides = std::forward<OverridesT>(value);
462 template <
typename Overr
idesT = ServiceRevisionOverr
ides>
478 template <
typename MonitoringT = MonitoringConfiguration>
480 m_monitoringHasBeenSet =
true;
481 m_monitoring = std::forward<MonitoringT>(value);
483 template <
typename MonitoringT = MonitoringConfiguration>
510 NetworkConfiguration m_networkConfiguration;
514 bool m_guardDutyEnabled{
false};
516 ServiceConnectConfiguration m_serviceConnectConfiguration;
520 DeploymentEphemeralStorage m_fargateEphemeralStorage;
526 ResolvedConfiguration m_resolvedConfiguration;
528 ECSManagedResources m_ecsManagedResources;
530 ServiceRevisionOverrides m_overrides;
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;
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 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 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)
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 & WithLoadBalancers(LoadBalancersT &&value)
void SetLaunchType(LaunchType value)
bool PlatformVersionHasBeenSet() const
bool PlatformFamilyHasBeenSet() const
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