/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SecurityHub { namespace Model { /** *

Information about the deployment controller type that the service * uses.

See Also:

AWS * API Reference

*/ class AwsEcsServiceDeploymentControllerDetails { public: AWS_SECURITYHUB_API AwsEcsServiceDeploymentControllerDetails(); AWS_SECURITYHUB_API AwsEcsServiceDeploymentControllerDetails(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API AwsEcsServiceDeploymentControllerDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The rolling update (ECS) deployment type replaces the current * running version of the container with the latest version.

The blue/green * (CODE_DEPLOY) deployment type uses the blue/green deployment model * that is powered by CodeDeploy. This deployment model a new deployment of a * service can be verified before production traffic is sent to it.

The * external (EXTERNAL) deployment type allows the use of any * third-party deployment controller for full control over the deployment process * for an Amazon ECS service.

Valid values: ECS | * CODE_DEPLOY | EXTERNAL

*/ inline const Aws::String& GetType() const{ return m_type; } /** *

The rolling update (ECS) deployment type replaces the current * running version of the container with the latest version.

The blue/green * (CODE_DEPLOY) deployment type uses the blue/green deployment model * that is powered by CodeDeploy. This deployment model a new deployment of a * service can be verified before production traffic is sent to it.

The * external (EXTERNAL) deployment type allows the use of any * third-party deployment controller for full control over the deployment process * for an Amazon ECS service.

Valid values: ECS | * CODE_DEPLOY | EXTERNAL

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The rolling update (ECS) deployment type replaces the current * running version of the container with the latest version.

The blue/green * (CODE_DEPLOY) deployment type uses the blue/green deployment model * that is powered by CodeDeploy. This deployment model a new deployment of a * service can be verified before production traffic is sent to it.

The * external (EXTERNAL) deployment type allows the use of any * third-party deployment controller for full control over the deployment process * for an Amazon ECS service.

Valid values: ECS | * CODE_DEPLOY | EXTERNAL

*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The rolling update (ECS) deployment type replaces the current * running version of the container with the latest version.

The blue/green * (CODE_DEPLOY) deployment type uses the blue/green deployment model * that is powered by CodeDeploy. This deployment model a new deployment of a * service can be verified before production traffic is sent to it.

The * external (EXTERNAL) deployment type allows the use of any * third-party deployment controller for full control over the deployment process * for an Amazon ECS service.

Valid values: ECS | * CODE_DEPLOY | EXTERNAL

*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The rolling update (ECS) deployment type replaces the current * running version of the container with the latest version.

The blue/green * (CODE_DEPLOY) deployment type uses the blue/green deployment model * that is powered by CodeDeploy. This deployment model a new deployment of a * service can be verified before production traffic is sent to it.

The * external (EXTERNAL) deployment type allows the use of any * third-party deployment controller for full control over the deployment process * for an Amazon ECS service.

Valid values: ECS | * CODE_DEPLOY | EXTERNAL

*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *

The rolling update (ECS) deployment type replaces the current * running version of the container with the latest version.

The blue/green * (CODE_DEPLOY) deployment type uses the blue/green deployment model * that is powered by CodeDeploy. This deployment model a new deployment of a * service can be verified before production traffic is sent to it.

The * external (EXTERNAL) deployment type allows the use of any * third-party deployment controller for full control over the deployment process * for an Amazon ECS service.

Valid values: ECS | * CODE_DEPLOY | EXTERNAL

*/ inline AwsEcsServiceDeploymentControllerDetails& WithType(const Aws::String& value) { SetType(value); return *this;} /** *

The rolling update (ECS) deployment type replaces the current * running version of the container with the latest version.

The blue/green * (CODE_DEPLOY) deployment type uses the blue/green deployment model * that is powered by CodeDeploy. This deployment model a new deployment of a * service can be verified before production traffic is sent to it.

The * external (EXTERNAL) deployment type allows the use of any * third-party deployment controller for full control over the deployment process * for an Amazon ECS service.

Valid values: ECS | * CODE_DEPLOY | EXTERNAL

*/ inline AwsEcsServiceDeploymentControllerDetails& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *

The rolling update (ECS) deployment type replaces the current * running version of the container with the latest version.

The blue/green * (CODE_DEPLOY) deployment type uses the blue/green deployment model * that is powered by CodeDeploy. This deployment model a new deployment of a * service can be verified before production traffic is sent to it.

The * external (EXTERNAL) deployment type allows the use of any * third-party deployment controller for full control over the deployment process * for an Amazon ECS service.

Valid values: ECS | * CODE_DEPLOY | EXTERNAL

*/ inline AwsEcsServiceDeploymentControllerDetails& WithType(const char* value) { SetType(value); return *this;} private: Aws::String m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws