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/NetworkConfiguration.h>
18#include <aws/ecs/model/ResolvedConfiguration.h>
19#include <aws/ecs/model/ServiceConnectConfiguration.h>
20#include <aws/ecs/model/ServiceRegistry.h>
21#include <aws/ecs/model/ServiceVolumeConfiguration.h>
22#include <aws/ecs/model/VpcLatticeConfiguration.h>
61 template <
typename ServiceRevisionArnT = Aws::String>
63 m_serviceRevisionArnHasBeenSet =
true;
64 m_serviceRevisionArn = std::forward<ServiceRevisionArnT>(value);
66 template <
typename ServiceRevisionArnT = Aws::String>
79 template <
typename ServiceArnT = Aws::String>
81 m_serviceArnHasBeenSet =
true;
82 m_serviceArn = std::forward<ServiceArnT>(value);
84 template <
typename ServiceArnT = Aws::String>
97 template <
typename ClusterArnT = Aws::String>
99 m_clusterArnHasBeenSet =
true;
100 m_clusterArn = std::forward<ClusterArnT>(value);
102 template <
typename ClusterArnT = Aws::String>
115 template <
typename TaskDefinitionT = Aws::String>
117 m_taskDefinitionHasBeenSet =
true;
118 m_taskDefinition = std::forward<TaskDefinitionT>(value);
120 template <
typename TaskDefinitionT = Aws::String>
133 template <
typename CapacityProv
iderStrategyT = Aws::Vector<CapacityProv
iderStrategyItem>>
135 m_capacityProviderStrategyHasBeenSet =
true;
136 m_capacityProviderStrategy = std::forward<CapacityProviderStrategyT>(value);
138 template <
typename CapacityProv
iderStrategyT = Aws::Vector<CapacityProv
iderStrategyItem>>
143 template <
typename CapacityProv
iderStrategyT = CapacityProv
iderStrategyItem>
145 m_capacityProviderStrategyHasBeenSet =
true;
146 m_capacityProviderStrategy.emplace_back(std::forward<CapacityProviderStrategyT>(value));
158 m_launchTypeHasBeenSet =
true;
159 m_launchType = value;
174 template <
typename PlatformVersionT = Aws::String>
176 m_platformVersionHasBeenSet =
true;
177 m_platformVersion = std::forward<PlatformVersionT>(value);
179 template <
typename PlatformVersionT = Aws::String>
192 template <
typename PlatformFamilyT = Aws::String>
194 m_platformFamilyHasBeenSet =
true;
195 m_platformFamily = std::forward<PlatformFamilyT>(value);
197 template <
typename PlatformFamilyT = Aws::String>
210 template <
typename LoadBalancersT = Aws::Vector<LoadBalancer>>
212 m_loadBalancersHasBeenSet =
true;
213 m_loadBalancers = std::forward<LoadBalancersT>(value);
215 template <
typename LoadBalancersT = Aws::Vector<LoadBalancer>>
220 template <
typename LoadBalancersT = LoadBalancer>
222 m_loadBalancersHasBeenSet =
true;
223 m_loadBalancers.emplace_back(std::forward<LoadBalancersT>(value));
234 template <
typename ServiceRegistriesT = Aws::Vector<ServiceRegistry>>
236 m_serviceRegistriesHasBeenSet =
true;
237 m_serviceRegistries = std::forward<ServiceRegistriesT>(value);
239 template <
typename ServiceRegistriesT = Aws::Vector<ServiceRegistry>>
244 template <
typename ServiceRegistriesT = ServiceRegistry>
246 m_serviceRegistriesHasBeenSet =
true;
247 m_serviceRegistries.emplace_back(std::forward<ServiceRegistriesT>(value));
256 template <
typename NetworkConfigurationT = NetworkConfiguration>
258 m_networkConfigurationHasBeenSet =
true;
259 m_networkConfiguration = std::forward<NetworkConfigurationT>(value);
261 template <
typename NetworkConfigurationT = NetworkConfiguration>
274 template <
typename ContainerImagesT = Aws::Vector<ContainerImage>>
276 m_containerImagesHasBeenSet =
true;
277 m_containerImages = std::forward<ContainerImagesT>(value);
279 template <
typename ContainerImagesT = Aws::Vector<ContainerImage>>
284 template <
typename ContainerImagesT = ContainerImage>
286 m_containerImagesHasBeenSet =
true;
287 m_containerImages.emplace_back(std::forward<ContainerImagesT>(value));
299 m_guardDutyEnabledHasBeenSet =
true;
300 m_guardDutyEnabled = value;
312 template <
typename ServiceConnectConfigurationT = ServiceConnectConfiguration>
314 m_serviceConnectConfigurationHasBeenSet =
true;
315 m_serviceConnectConfiguration = std::forward<ServiceConnectConfigurationT>(value);
317 template <
typename ServiceConnectConfigurationT = ServiceConnectConfiguration>
331 template <
typename VolumeConfigurationsT = Aws::Vector<ServiceVolumeConfiguration>>
333 m_volumeConfigurationsHasBeenSet =
true;
334 m_volumeConfigurations = std::forward<VolumeConfigurationsT>(value);
336 template <
typename VolumeConfigurationsT = Aws::Vector<ServiceVolumeConfiguration>>
341 template <
typename VolumeConfigurationsT = ServiceVolumeConfiguration>
343 m_volumeConfigurationsHasBeenSet =
true;
344 m_volumeConfigurations.emplace_back(std::forward<VolumeConfigurationsT>(value));
353 template <
typename FargateEphemeralStorageT = DeploymentEphemeralStorage>
355 m_fargateEphemeralStorageHasBeenSet =
true;
356 m_fargateEphemeralStorage = std::forward<FargateEphemeralStorageT>(value);
358 template <
typename FargateEphemeralStorageT = DeploymentEphemeralStorage>
372 template <
typename CreatedAtT = Aws::Utils::DateTime>
374 m_createdAtHasBeenSet =
true;
375 m_createdAt = std::forward<CreatedAtT>(value);
377 template <
typename CreatedAtT = Aws::Utils::DateTime>
390 template <
typename VpcLatticeConfigurationsT = Aws::Vector<VpcLatticeConfiguration>>
392 m_vpcLatticeConfigurationsHasBeenSet =
true;
393 m_vpcLatticeConfigurations = std::forward<VpcLatticeConfigurationsT>(value);
395 template <
typename VpcLatticeConfigurationsT = Aws::Vector<VpcLatticeConfiguration>>
400 template <
typename VpcLatticeConfigurationsT = VpcLatticeConfiguration>
402 m_vpcLatticeConfigurationsHasBeenSet =
true;
403 m_vpcLatticeConfigurations.emplace_back(std::forward<VpcLatticeConfigurationsT>(value));
416 template <
typename ResolvedConfigurationT = ResolvedConfiguration>
418 m_resolvedConfigurationHasBeenSet =
true;
419 m_resolvedConfiguration = std::forward<ResolvedConfigurationT>(value);
421 template <
typename ResolvedConfigurationT = ResolvedConfiguration>
435 template <
typename EcsManagedResourcesT = ECSManagedResources>
437 m_ecsManagedResourcesHasBeenSet =
true;
438 m_ecsManagedResources = std::forward<EcsManagedResourcesT>(value);
440 template <
typename EcsManagedResourcesT = ECSManagedResources>
467 NetworkConfiguration m_networkConfiguration;
471 bool m_guardDutyEnabled{
false};
473 ServiceConnectConfiguration m_serviceConnectConfiguration;
477 DeploymentEphemeralStorage m_fargateEphemeralStorage;
483 ResolvedConfiguration m_resolvedConfiguration;
485 ECSManagedResources m_ecsManagedResources;
486 bool m_serviceRevisionArnHasBeenSet =
false;
487 bool m_serviceArnHasBeenSet =
false;
488 bool m_clusterArnHasBeenSet =
false;
489 bool m_taskDefinitionHasBeenSet =
false;
490 bool m_capacityProviderStrategyHasBeenSet =
false;
491 bool m_launchTypeHasBeenSet =
false;
492 bool m_platformVersionHasBeenSet =
false;
493 bool m_platformFamilyHasBeenSet =
false;
494 bool m_loadBalancersHasBeenSet =
false;
495 bool m_serviceRegistriesHasBeenSet =
false;
496 bool m_networkConfigurationHasBeenSet =
false;
497 bool m_containerImagesHasBeenSet =
false;
498 bool m_guardDutyEnabledHasBeenSet =
false;
499 bool m_serviceConnectConfigurationHasBeenSet =
false;
500 bool m_volumeConfigurationsHasBeenSet =
false;
501 bool m_fargateEphemeralStorageHasBeenSet =
false;
502 bool m_createdAtHasBeenSet =
false;
503 bool m_vpcLatticeConfigurationsHasBeenSet =
false;
504 bool m_resolvedConfigurationHasBeenSet =
false;
505 bool m_ecsManagedResourcesHasBeenSet =
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
bool ServiceRevisionArnHasBeenSet() const
bool GuardDutyEnabledHasBeenSet() const
ServiceRevision & WithServiceRegistries(ServiceRegistriesT &&value)
const DeploymentEphemeralStorage & GetFargateEphemeralStorage() const
void SetResolvedConfiguration(ResolvedConfigurationT &&value)
const ECSManagedResources & GetEcsManagedResources() const
bool ServiceRegistriesHasBeenSet() 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)
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)
ServiceRevision & AddLoadBalancers(LoadBalancersT &&value)
ServiceRevision & WithNetworkConfiguration(NetworkConfigurationT &&value)
bool ClusterArnHasBeenSet() const
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)
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
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