/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input of an UpdateApplication
* operation.See Also:
AWS
* API Reference
The current name of the application you want to change.
*/ inline const Aws::String& GetApplicationName() const{ return m_applicationName; } /** *The current name of the application you want to change.
*/ inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; } /** *The current name of the application you want to change.
*/ inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; } /** *The current name of the application you want to change.
*/ inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); } /** *The current name of the application you want to change.
*/ inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); } /** *The current name of the application you want to change.
*/ inline UpdateApplicationRequest& WithApplicationName(const Aws::String& value) { SetApplicationName(value); return *this;} /** *The current name of the application you want to change.
*/ inline UpdateApplicationRequest& WithApplicationName(Aws::String&& value) { SetApplicationName(std::move(value)); return *this;} /** *The current name of the application you want to change.
*/ inline UpdateApplicationRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;} /** *The new name to give the application.
*/ inline const Aws::String& GetNewApplicationName() const{ return m_newApplicationName; } /** *The new name to give the application.
*/ inline bool NewApplicationNameHasBeenSet() const { return m_newApplicationNameHasBeenSet; } /** *The new name to give the application.
*/ inline void SetNewApplicationName(const Aws::String& value) { m_newApplicationNameHasBeenSet = true; m_newApplicationName = value; } /** *The new name to give the application.
*/ inline void SetNewApplicationName(Aws::String&& value) { m_newApplicationNameHasBeenSet = true; m_newApplicationName = std::move(value); } /** *The new name to give the application.
*/ inline void SetNewApplicationName(const char* value) { m_newApplicationNameHasBeenSet = true; m_newApplicationName.assign(value); } /** *The new name to give the application.
*/ inline UpdateApplicationRequest& WithNewApplicationName(const Aws::String& value) { SetNewApplicationName(value); return *this;} /** *The new name to give the application.
*/ inline UpdateApplicationRequest& WithNewApplicationName(Aws::String&& value) { SetNewApplicationName(std::move(value)); return *this;} /** *The new name to give the application.
*/ inline UpdateApplicationRequest& WithNewApplicationName(const char* value) { SetNewApplicationName(value); return *this;} private: Aws::String m_applicationName; bool m_applicationNameHasBeenSet = false; Aws::String m_newApplicationName; bool m_newApplicationNameHasBeenSet = false; }; } // namespace Model } // namespace CodeDeploy } // namespace Aws