120 lines
5.5 KiB
C++
120 lines
5.5 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSVector.h>
|
|
#include <aws/codedeploy/model/AutoScalingGroup.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
template<typename RESULT_TYPE>
|
|
class AmazonWebServiceResult;
|
|
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace CodeDeploy
|
|
{
|
|
namespace Model
|
|
{
|
|
/**
|
|
* <p>Represents the output of a <code>DeleteDeploymentGroup</code>
|
|
* operation.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeleteDeploymentGroupOutput">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_CODEDEPLOY_API DeleteDeploymentGroupResult
|
|
{
|
|
public:
|
|
DeleteDeploymentGroupResult();
|
|
DeleteDeploymentGroupResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
DeleteDeploymentGroupResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* <p>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.</p>
|
|
*/
|
|
inline const Aws::Vector<AutoScalingGroup>& GetHooksNotCleanedUp() const{ return m_hooksNotCleanedUp; }
|
|
|
|
/**
|
|
* <p>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.</p>
|
|
*/
|
|
inline void SetHooksNotCleanedUp(const Aws::Vector<AutoScalingGroup>& value) { m_hooksNotCleanedUp = value; }
|
|
|
|
/**
|
|
* <p>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.</p>
|
|
*/
|
|
inline void SetHooksNotCleanedUp(Aws::Vector<AutoScalingGroup>&& value) { m_hooksNotCleanedUp = std::move(value); }
|
|
|
|
/**
|
|
* <p>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.</p>
|
|
*/
|
|
inline DeleteDeploymentGroupResult& WithHooksNotCleanedUp(const Aws::Vector<AutoScalingGroup>& value) { SetHooksNotCleanedUp(value); return *this;}
|
|
|
|
/**
|
|
* <p>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.</p>
|
|
*/
|
|
inline DeleteDeploymentGroupResult& WithHooksNotCleanedUp(Aws::Vector<AutoScalingGroup>&& value) { SetHooksNotCleanedUp(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>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.</p>
|
|
*/
|
|
inline DeleteDeploymentGroupResult& AddHooksNotCleanedUp(const AutoScalingGroup& value) { m_hooksNotCleanedUp.push_back(value); return *this; }
|
|
|
|
/**
|
|
* <p>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.</p>
|
|
*/
|
|
inline DeleteDeploymentGroupResult& AddHooksNotCleanedUp(AutoScalingGroup&& value) { m_hooksNotCleanedUp.push_back(std::move(value)); return *this; }
|
|
|
|
private:
|
|
|
|
Aws::Vector<AutoScalingGroup> m_hooksNotCleanedUp;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace CodeDeploy
|
|
} // namespace Aws
|