7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ecs/model/LaunchType.h>
11#include <aws/ecs/model/NetworkConfiguration.h>
12#include <aws/ecs/model/ServiceConnectConfiguration.h>
13#include <aws/ecs/model/DeploymentEphemeralStorage.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/ecs/model/CapacityProviderStrategyItem.h>
16#include <aws/ecs/model/LoadBalancer.h>
17#include <aws/ecs/model/ServiceRegistry.h>
18#include <aws/ecs/model/ContainerImage.h>
19#include <aws/ecs/model/ServiceVolumeConfiguration.h>
66 inline void SetServiceRevisionArn(
const char* value) { m_serviceRevisionArnHasBeenSet =
true; m_serviceRevisionArn.assign(value); }
80 inline void SetServiceArn(
const char* value) { m_serviceArnHasBeenSet =
true; m_serviceArn.assign(value); }
94 inline void SetClusterArn(
const char* value) { m_clusterArnHasBeenSet =
true; m_clusterArn.assign(value); }
108 inline void SetTaskDefinition(
const char* value) { m_taskDefinitionHasBeenSet =
true; m_taskDefinition.assign(value); }
149 inline void SetPlatformVersion(
const char* value) { m_platformVersionHasBeenSet =
true; m_platformVersion.assign(value); }
163 inline void SetPlatformFamily(
const char* value) { m_platformFamilyHasBeenSet =
true; m_platformFamily.assign(value); }
227 inline void SetGuardDutyEnabled(
bool value) { m_guardDutyEnabledHasBeenSet =
true; m_guardDutyEnabled = value; }
281 bool m_serviceRevisionArnHasBeenSet =
false;
284 bool m_serviceArnHasBeenSet =
false;
287 bool m_clusterArnHasBeenSet =
false;
290 bool m_taskDefinitionHasBeenSet =
false;
293 bool m_capacityProviderStrategyHasBeenSet =
false;
296 bool m_launchTypeHasBeenSet =
false;
299 bool m_platformVersionHasBeenSet =
false;
302 bool m_platformFamilyHasBeenSet =
false;
305 bool m_loadBalancersHasBeenSet =
false;
308 bool m_serviceRegistriesHasBeenSet =
false;
311 bool m_networkConfigurationHasBeenSet =
false;
314 bool m_containerImagesHasBeenSet =
false;
316 bool m_guardDutyEnabled;
317 bool m_guardDutyEnabledHasBeenSet =
false;
320 bool m_serviceConnectConfigurationHasBeenSet =
false;
323 bool m_volumeConfigurationsHasBeenSet =
false;
326 bool m_fargateEphemeralStorageHasBeenSet =
false;
329 bool m_createdAtHasBeenSet =
false;
void SetContainerImages(Aws::Vector< ContainerImage > &&value)
ServiceRevision & WithServiceArn(Aws::String &&value)
const Aws::String & GetTaskDefinition() const
ServiceRevision & WithPlatformFamily(const char *value)
void SetServiceRevisionArn(const char *value)
const Aws::String & GetPlatformVersion() const
const Aws::Utils::DateTime & GetCreatedAt() const
ServiceRevision & WithClusterArn(const char *value)
bool ServiceRevisionArnHasBeenSet() const
void SetServiceArn(Aws::String &&value)
bool GuardDutyEnabledHasBeenSet() const
ServiceRevision & WithTaskDefinition(const Aws::String &value)
ServiceRevision & WithServiceArn(const char *value)
void SetClusterArn(const Aws::String &value)
void SetLoadBalancers(const Aws::Vector< LoadBalancer > &value)
ServiceRevision & WithContainerImages(const Aws::Vector< ContainerImage > &value)
void SetServiceRegistries(const Aws::Vector< ServiceRegistry > &value)
const DeploymentEphemeralStorage & GetFargateEphemeralStorage() const
void SetLaunchType(LaunchType &&value)
AWS_ECS_API ServiceRevision()
bool ServiceRegistriesHasBeenSet() const
const Aws::String & GetClusterArn() const
bool CapacityProviderStrategyHasBeenSet() const
void SetServiceConnectConfiguration(ServiceConnectConfiguration &&value)
const Aws::Vector< CapacityProviderStrategyItem > & GetCapacityProviderStrategy() const
ServiceRevision & WithServiceConnectConfiguration(const ServiceConnectConfiguration &value)
ServiceRevision & WithContainerImages(Aws::Vector< ContainerImage > &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetPlatformFamily() const
ServiceRevision & WithPlatformFamily(const Aws::String &value)
ServiceRevision & WithPlatformFamily(Aws::String &&value)
void SetLaunchType(const LaunchType &value)
void SetPlatformFamily(const Aws::String &value)
bool ContainerImagesHasBeenSet() const
ServiceRevision & AddLoadBalancers(LoadBalancer &&value)
ServiceRevision & WithLoadBalancers(const Aws::Vector< LoadBalancer > &value)
const NetworkConfiguration & GetNetworkConfiguration() const
bool ServiceConnectConfigurationHasBeenSet() const
ServiceRevision & WithVolumeConfigurations(const Aws::Vector< ServiceVolumeConfiguration > &value)
bool VolumeConfigurationsHasBeenSet() const
ServiceRevision & WithGuardDutyEnabled(bool value)
bool NetworkConfigurationHasBeenSet() const
ServiceRevision & WithLaunchType(const LaunchType &value)
ServiceRevision & WithCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
bool LoadBalancersHasBeenSet() const
void SetCapacityProviderStrategy(const Aws::Vector< CapacityProviderStrategyItem > &value)
ServiceRevision & WithVolumeConfigurations(Aws::Vector< ServiceVolumeConfiguration > &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetTaskDefinition(Aws::String &&value)
ServiceRevision & AddContainerImages(const ContainerImage &value)
ServiceRevision & WithTaskDefinition(const char *value)
void SetServiceRevisionArn(Aws::String &&value)
ServiceRevision & WithServiceRevisionArn(Aws::String &&value)
ServiceRevision & WithPlatformVersion(Aws::String &&value)
ServiceRevision & WithNetworkConfiguration(const NetworkConfiguration &value)
void SetVolumeConfigurations(Aws::Vector< ServiceVolumeConfiguration > &&value)
ServiceRevision & WithLaunchType(LaunchType &&value)
void SetFargateEphemeralStorage(const DeploymentEphemeralStorage &value)
ServiceRevision & WithPlatformVersion(const char *value)
ServiceRevision & AddCapacityProviderStrategy(const CapacityProviderStrategyItem &value)
bool ClusterArnHasBeenSet() const
void SetClusterArn(Aws::String &&value)
void SetCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
const Aws::String & GetServiceRevisionArn() const
ServiceRevision & WithNetworkConfiguration(NetworkConfiguration &&value)
ServiceRevision & WithCreatedAt(Aws::Utils::DateTime &&value)
ServiceRevision & WithCapacityProviderStrategy(Aws::Vector< CapacityProviderStrategyItem > &&value)
void SetNetworkConfiguration(NetworkConfiguration &&value)
bool CreatedAtHasBeenSet() const
void SetServiceRevisionArn(const Aws::String &value)
void SetClusterArn(const char *value)
AWS_ECS_API ServiceRevision(Aws::Utils::Json::JsonView jsonValue)
void SetFargateEphemeralStorage(DeploymentEphemeralStorage &&value)
void SetServiceArn(const char *value)
void SetServiceRegistries(Aws::Vector< ServiceRegistry > &&value)
void SetPlatformVersion(const Aws::String &value)
const Aws::Vector< ServiceVolumeConfiguration > & GetVolumeConfigurations() const
void SetTaskDefinition(const char *value)
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)
void SetServiceArn(const Aws::String &value)
bool TaskDefinitionHasBeenSet() const
void SetPlatformVersion(Aws::String &&value)
const Aws::Vector< LoadBalancer > & GetLoadBalancers() const
void SetPlatformFamily(Aws::String &&value)
ServiceRevision & WithClusterArn(const Aws::String &value)
bool ServiceArnHasBeenSet() const
ServiceRevision & WithFargateEphemeralStorage(const DeploymentEphemeralStorage &value)
void SetPlatformFamily(const char *value)
ServiceRevision & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetGuardDutyEnabled(bool value)
ServiceRevision & WithServiceRevisionArn(const Aws::String &value)
ServiceRevision & AddVolumeConfigurations(const ServiceVolumeConfiguration &value)
ServiceRevision & WithServiceRegistries(Aws::Vector< ServiceRegistry > &&value)
const Aws::Vector< ContainerImage > & GetContainerImages() const
ServiceRevision & WithFargateEphemeralStorage(DeploymentEphemeralStorage &&value)
ServiceRevision & WithPlatformVersion(const Aws::String &value)
ServiceRevision & WithServiceRevisionArn(const char *value)
void SetServiceConnectConfiguration(const ServiceConnectConfiguration &value)
bool FargateEphemeralStorageHasBeenSet() const
const LaunchType & GetLaunchType() const
const ServiceConnectConfiguration & GetServiceConnectConfiguration() const
void SetNetworkConfiguration(const NetworkConfiguration &value)
ServiceRevision & AddVolumeConfigurations(ServiceVolumeConfiguration &&value)
const Aws::String & GetServiceArn() const
bool GetGuardDutyEnabled() const
void SetLoadBalancers(Aws::Vector< LoadBalancer > &&value)
ServiceRevision & AddServiceRegistries(const ServiceRegistry &value)
ServiceRevision & WithServiceArn(const Aws::String &value)
ServiceRevision & WithClusterArn(Aws::String &&value)
ServiceRevision & WithServiceRegistries(const Aws::Vector< ServiceRegistry > &value)
ServiceRevision & WithLoadBalancers(Aws::Vector< LoadBalancer > &&value)
ServiceRevision & WithServiceConnectConfiguration(ServiceConnectConfiguration &&value)
ServiceRevision & AddLoadBalancers(const LoadBalancer &value)
bool PlatformVersionHasBeenSet() const
void SetContainerImages(const Aws::Vector< ContainerImage > &value)
void SetVolumeConfigurations(const Aws::Vector< ServiceVolumeConfiguration > &value)
bool PlatformFamilyHasBeenSet() const
void SetTaskDefinition(const Aws::String &value)
ServiceRevision & WithTaskDefinition(Aws::String &&value)
ServiceRevision & AddCapacityProviderStrategy(CapacityProviderStrategyItem &&value)
ServiceRevision & AddContainerImages(ContainerImage &&value)
ServiceRevision & AddServiceRegistries(ServiceRegistry &&value)
void SetPlatformVersion(const char *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