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

Represents the output of a DeleteDeploymentGroup * operation.

See Also:

AWS * API Reference

*/ class AWS_CODEDEPLOY_API DeleteDeploymentGroupResult { public: DeleteDeploymentGroupResult(); DeleteDeploymentGroupResult(const Aws::AmazonWebServiceResult& result); DeleteDeploymentGroupResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

If the output contains no data, and the corresponding deployment group * contained at least one Auto Scaling group, AWS CodeDeploy successfully removed * all corresponding Auto Scaling lifecycle event hooks from the Amazon EC2 * instances in the Auto Scaling group. If the output contains data, AWS CodeDeploy * could not remove some Auto Scaling lifecycle event hooks from the Amazon EC2 * instances in the Auto Scaling group.

*/ inline const Aws::Vector& GetHooksNotCleanedUp() const{ return m_hooksNotCleanedUp; } /** *

If the output contains no data, and the corresponding deployment group * contained at least one Auto Scaling group, AWS CodeDeploy successfully removed * all corresponding Auto Scaling lifecycle event hooks from the Amazon EC2 * instances in the Auto Scaling group. If the output contains data, AWS CodeDeploy * could not remove some Auto Scaling lifecycle event hooks from the Amazon EC2 * instances in the Auto Scaling group.

*/ inline void SetHooksNotCleanedUp(const Aws::Vector& value) { m_hooksNotCleanedUp = value; } /** *

If the output contains no data, and the corresponding deployment group * contained at least one Auto Scaling group, AWS CodeDeploy successfully removed * all corresponding Auto Scaling lifecycle event hooks from the Amazon EC2 * instances in the Auto Scaling group. If the output contains data, AWS CodeDeploy * could not remove some Auto Scaling lifecycle event hooks from the Amazon EC2 * instances in the Auto Scaling group.

*/ inline void SetHooksNotCleanedUp(Aws::Vector&& value) { m_hooksNotCleanedUp = std::move(value); } /** *

If the output contains no data, and the corresponding deployment group * contained at least one Auto Scaling group, AWS CodeDeploy successfully removed * all corresponding Auto Scaling lifecycle event hooks from the Amazon EC2 * instances in the Auto Scaling group. If the output contains data, AWS CodeDeploy * could not remove some Auto Scaling lifecycle event hooks from the Amazon EC2 * instances in the Auto Scaling group.

*/ inline DeleteDeploymentGroupResult& WithHooksNotCleanedUp(const Aws::Vector& value) { SetHooksNotCleanedUp(value); return *this;} /** *

If the output contains no data, and the corresponding deployment group * contained at least one Auto Scaling group, AWS CodeDeploy successfully removed * all corresponding Auto Scaling lifecycle event hooks from the Amazon EC2 * instances in the Auto Scaling group. If the output contains data, AWS CodeDeploy * could not remove some Auto Scaling lifecycle event hooks from the Amazon EC2 * instances in the Auto Scaling group.

*/ inline DeleteDeploymentGroupResult& WithHooksNotCleanedUp(Aws::Vector&& value) { SetHooksNotCleanedUp(std::move(value)); return *this;} /** *

If the output contains no data, and the corresponding deployment group * contained at least one Auto Scaling group, AWS CodeDeploy successfully removed * all corresponding Auto Scaling lifecycle event hooks from the Amazon EC2 * instances in the Auto Scaling group. If the output contains data, AWS CodeDeploy * could not remove some Auto Scaling lifecycle event hooks from the Amazon EC2 * instances in the Auto Scaling group.

*/ inline DeleteDeploymentGroupResult& AddHooksNotCleanedUp(const AutoScalingGroup& value) { m_hooksNotCleanedUp.push_back(value); return *this; } /** *

If the output contains no data, and the corresponding deployment group * contained at least one Auto Scaling group, AWS CodeDeploy successfully removed * all corresponding Auto Scaling lifecycle event hooks from the Amazon EC2 * instances in the Auto Scaling group. If the output contains data, AWS CodeDeploy * could not remove some Auto Scaling lifecycle event hooks from the Amazon EC2 * instances in the Auto Scaling group.

*/ inline DeleteDeploymentGroupResult& AddHooksNotCleanedUp(AutoScalingGroup&& value) { m_hooksNotCleanedUp.push_back(std::move(value)); return *this; } private: Aws::Vector m_hooksNotCleanedUp; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws