/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The request body for CloneBackend.See Also:
AWS
* API Reference
The app ID.
*/ inline const Aws::String& GetAppId() const{ return m_appId; } /** *The app ID.
*/ inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; } /** *The app ID.
*/ inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; } /** *The app ID.
*/ inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); } /** *The app ID.
*/ inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); } /** *The app ID.
*/ inline CloneBackendRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;} /** *The app ID.
*/ inline CloneBackendRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;} /** *The app ID.
*/ inline CloneBackendRequest& WithAppId(const char* value) { SetAppId(value); return *this;} /** *The name of the backend environment.
*/ inline const Aws::String& GetBackendEnvironmentName() const{ return m_backendEnvironmentName; } /** *The name of the backend environment.
*/ inline bool BackendEnvironmentNameHasBeenSet() const { return m_backendEnvironmentNameHasBeenSet; } /** *The name of the backend environment.
*/ inline void SetBackendEnvironmentName(const Aws::String& value) { m_backendEnvironmentNameHasBeenSet = true; m_backendEnvironmentName = value; } /** *The name of the backend environment.
*/ inline void SetBackendEnvironmentName(Aws::String&& value) { m_backendEnvironmentNameHasBeenSet = true; m_backendEnvironmentName = std::move(value); } /** *The name of the backend environment.
*/ inline void SetBackendEnvironmentName(const char* value) { m_backendEnvironmentNameHasBeenSet = true; m_backendEnvironmentName.assign(value); } /** *The name of the backend environment.
*/ inline CloneBackendRequest& WithBackendEnvironmentName(const Aws::String& value) { SetBackendEnvironmentName(value); return *this;} /** *The name of the backend environment.
*/ inline CloneBackendRequest& WithBackendEnvironmentName(Aws::String&& value) { SetBackendEnvironmentName(std::move(value)); return *this;} /** *The name of the backend environment.
*/ inline CloneBackendRequest& WithBackendEnvironmentName(const char* value) { SetBackendEnvironmentName(value); return *this;} /** *The name of the destination backend environment to be created.
*/ inline const Aws::String& GetTargetEnvironmentName() const{ return m_targetEnvironmentName; } /** *The name of the destination backend environment to be created.
*/ inline bool TargetEnvironmentNameHasBeenSet() const { return m_targetEnvironmentNameHasBeenSet; } /** *The name of the destination backend environment to be created.
*/ inline void SetTargetEnvironmentName(const Aws::String& value) { m_targetEnvironmentNameHasBeenSet = true; m_targetEnvironmentName = value; } /** *The name of the destination backend environment to be created.
*/ inline void SetTargetEnvironmentName(Aws::String&& value) { m_targetEnvironmentNameHasBeenSet = true; m_targetEnvironmentName = std::move(value); } /** *The name of the destination backend environment to be created.
*/ inline void SetTargetEnvironmentName(const char* value) { m_targetEnvironmentNameHasBeenSet = true; m_targetEnvironmentName.assign(value); } /** *The name of the destination backend environment to be created.
*/ inline CloneBackendRequest& WithTargetEnvironmentName(const Aws::String& value) { SetTargetEnvironmentName(value); return *this;} /** *The name of the destination backend environment to be created.
*/ inline CloneBackendRequest& WithTargetEnvironmentName(Aws::String&& value) { SetTargetEnvironmentName(std::move(value)); return *this;} /** *The name of the destination backend environment to be created.
*/ inline CloneBackendRequest& WithTargetEnvironmentName(const char* value) { SetTargetEnvironmentName(value); return *this;} private: Aws::String m_appId; bool m_appIdHasBeenSet = false; Aws::String m_backendEnvironmentName; bool m_backendEnvironmentNameHasBeenSet = false; Aws::String m_targetEnvironmentName; bool m_targetEnvironmentNameHasBeenSet = false; }; } // namespace Model } // namespace AmplifyBackend } // namespace Aws