/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 an UpdateDeploymentGroup * operation.

See Also:

AWS * API Reference

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

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

*/ 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, CodeDeploy successfully removed all * corresponding Auto Scaling lifecycle event hooks from the Amazon Web Services * account. If the output contains data, CodeDeploy could not remove some Auto * Scaling lifecycle event hooks from the Amazon Web Services account.

*/ 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, CodeDeploy successfully removed all * corresponding Auto Scaling lifecycle event hooks from the Amazon Web Services * account. If the output contains data, CodeDeploy could not remove some Auto * Scaling lifecycle event hooks from the Amazon Web Services account.

*/ 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, CodeDeploy successfully removed all * corresponding Auto Scaling lifecycle event hooks from the Amazon Web Services * account. If the output contains data, CodeDeploy could not remove some Auto * Scaling lifecycle event hooks from the Amazon Web Services account.

*/ inline UpdateDeploymentGroupResult& 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, CodeDeploy successfully removed all * corresponding Auto Scaling lifecycle event hooks from the Amazon Web Services * account. If the output contains data, CodeDeploy could not remove some Auto * Scaling lifecycle event hooks from the Amazon Web Services account.

*/ inline UpdateDeploymentGroupResult& 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, CodeDeploy successfully removed all * corresponding Auto Scaling lifecycle event hooks from the Amazon Web Services * account. If the output contains data, CodeDeploy could not remove some Auto * Scaling lifecycle event hooks from the Amazon Web Services account.

*/ inline UpdateDeploymentGroupResult& 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, CodeDeploy successfully removed all * corresponding Auto Scaling lifecycle event hooks from the Amazon Web Services * account. If the output contains data, CodeDeploy could not remove some Auto * Scaling lifecycle event hooks from the Amazon Web Services account.

*/ inline UpdateDeploymentGroupResult& AddHooksNotCleanedUp(AutoScalingGroup&& value) { m_hooksNotCleanedUp.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UpdateDeploymentGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateDeploymentGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateDeploymentGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_hooksNotCleanedUp; Aws::String m_requestId; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws