/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Request to delete an application.See Also:
AWS
* API Reference
The name of the application to delete.
*/ inline const Aws::String& GetApplicationName() const{ return m_applicationName; } /** *The name of the application to delete.
*/ inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; } /** *The name of the application to delete.
*/ inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; } /** *The name of the application to delete.
*/ inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); } /** *The name of the application to delete.
*/ inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); } /** *The name of the application to delete.
*/ inline DeleteApplicationRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;} /** *The name of the application to delete.
*/ inline DeleteApplicationRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;} /** *The name of the application to delete.
*/ inline DeleteApplicationRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;} /** *When set to true, running environments will be terminated before deleting the * application.
*/ inline bool GetTerminateEnvByForce() const{ return m_terminateEnvByForce; } /** *When set to true, running environments will be terminated before deleting the * application.
*/ inline bool TerminateEnvByForceHasBeenSet() const { return m_terminateEnvByForceHasBeenSet; } /** *When set to true, running environments will be terminated before deleting the * application.
*/ inline void SetTerminateEnvByForce(bool value) { m_terminateEnvByForceHasBeenSet = true; m_terminateEnvByForce = value; } /** *When set to true, running environments will be terminated before deleting the * application.
*/ inline DeleteApplicationRequest& WithTerminateEnvByForce(bool value) { SetTerminateEnvByForce(value); return *this;} private: Aws::String m_applicationName; bool m_applicationNameHasBeenSet = false; bool m_terminateEnvByForce; bool m_terminateEnvByForceHasBeenSet = false; }; } // namespace Model } // namespace ElasticBeanstalk } // namespace Aws