/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace CodeDeploy { namespace Model { /** *

Represents the input of a DeleteDeploymentConfig * operation.

See Also:

AWS * API Reference

*/ class DeleteDeploymentConfigRequest : public CodeDeployRequest { public: AWS_CODEDEPLOY_API DeleteDeploymentConfigRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteDeploymentConfig"; } AWS_CODEDEPLOY_API Aws::String SerializePayload() const override; AWS_CODEDEPLOY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of a deployment configuration associated with the IAM user or Amazon * Web Services account.

*/ inline const Aws::String& GetDeploymentConfigName() const{ return m_deploymentConfigName; } /** *

The name of a deployment configuration associated with the IAM user or Amazon * Web Services account.

*/ inline bool DeploymentConfigNameHasBeenSet() const { return m_deploymentConfigNameHasBeenSet; } /** *

The name of a deployment configuration associated with the IAM user or Amazon * Web Services account.

*/ inline void SetDeploymentConfigName(const Aws::String& value) { m_deploymentConfigNameHasBeenSet = true; m_deploymentConfigName = value; } /** *

The name of a deployment configuration associated with the IAM user or Amazon * Web Services account.

*/ inline void SetDeploymentConfigName(Aws::String&& value) { m_deploymentConfigNameHasBeenSet = true; m_deploymentConfigName = std::move(value); } /** *

The name of a deployment configuration associated with the IAM user or Amazon * Web Services account.

*/ inline void SetDeploymentConfigName(const char* value) { m_deploymentConfigNameHasBeenSet = true; m_deploymentConfigName.assign(value); } /** *

The name of a deployment configuration associated with the IAM user or Amazon * Web Services account.

*/ inline DeleteDeploymentConfigRequest& WithDeploymentConfigName(const Aws::String& value) { SetDeploymentConfigName(value); return *this;} /** *

The name of a deployment configuration associated with the IAM user or Amazon * Web Services account.

*/ inline DeleteDeploymentConfigRequest& WithDeploymentConfigName(Aws::String&& value) { SetDeploymentConfigName(std::move(value)); return *this;} /** *

The name of a deployment configuration associated with the IAM user or Amazon * Web Services account.

*/ inline DeleteDeploymentConfigRequest& WithDeploymentConfigName(const char* value) { SetDeploymentConfigName(value); return *this;} private: Aws::String m_deploymentConfigName; bool m_deploymentConfigNameHasBeenSet = false; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws