/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The request body for CreateBackend.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 CreateBackendRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;} /** *The app ID.
*/ inline CreateBackendRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;} /** *The app ID.
*/ inline CreateBackendRequest& WithAppId(const char* value) { SetAppId(value); return *this;} /** *The name of the app.
*/ inline const Aws::String& GetAppName() const{ return m_appName; } /** *The name of the app.
*/ inline bool AppNameHasBeenSet() const { return m_appNameHasBeenSet; } /** *The name of the app.
*/ inline void SetAppName(const Aws::String& value) { m_appNameHasBeenSet = true; m_appName = value; } /** *The name of the app.
*/ inline void SetAppName(Aws::String&& value) { m_appNameHasBeenSet = true; m_appName = std::move(value); } /** *The name of the app.
*/ inline void SetAppName(const char* value) { m_appNameHasBeenSet = true; m_appName.assign(value); } /** *The name of the app.
*/ inline CreateBackendRequest& WithAppName(const Aws::String& value) { SetAppName(value); return *this;} /** *The name of the app.
*/ inline CreateBackendRequest& WithAppName(Aws::String&& value) { SetAppName(std::move(value)); return *this;} /** *The name of the app.
*/ inline CreateBackendRequest& WithAppName(const char* value) { SetAppName(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 CreateBackendRequest& WithBackendEnvironmentName(const Aws::String& value) { SetBackendEnvironmentName(value); return *this;} /** *The name of the backend environment.
*/ inline CreateBackendRequest& WithBackendEnvironmentName(Aws::String&& value) { SetBackendEnvironmentName(std::move(value)); return *this;} /** *The name of the backend environment.
*/ inline CreateBackendRequest& WithBackendEnvironmentName(const char* value) { SetBackendEnvironmentName(value); return *this;} /** *The resource configuration for creating a backend.
*/ inline const ResourceConfig& GetResourceConfig() const{ return m_resourceConfig; } /** *The resource configuration for creating a backend.
*/ inline bool ResourceConfigHasBeenSet() const { return m_resourceConfigHasBeenSet; } /** *The resource configuration for creating a backend.
*/ inline void SetResourceConfig(const ResourceConfig& value) { m_resourceConfigHasBeenSet = true; m_resourceConfig = value; } /** *The resource configuration for creating a backend.
*/ inline void SetResourceConfig(ResourceConfig&& value) { m_resourceConfigHasBeenSet = true; m_resourceConfig = std::move(value); } /** *The resource configuration for creating a backend.
*/ inline CreateBackendRequest& WithResourceConfig(const ResourceConfig& value) { SetResourceConfig(value); return *this;} /** *The resource configuration for creating a backend.
*/ inline CreateBackendRequest& WithResourceConfig(ResourceConfig&& value) { SetResourceConfig(std::move(value)); return *this;} /** *The name of the resource.
*/ inline const Aws::String& GetResourceName() const{ return m_resourceName; } /** *The name of the resource.
*/ inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; } /** *The name of the resource.
*/ inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; } /** *The name of the resource.
*/ inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); } /** *The name of the resource.
*/ inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); } /** *The name of the resource.
*/ inline CreateBackendRequest& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;} /** *The name of the resource.
*/ inline CreateBackendRequest& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;} /** *The name of the resource.
*/ inline CreateBackendRequest& WithResourceName(const char* value) { SetResourceName(value); return *this;} private: Aws::String m_appId; bool m_appIdHasBeenSet = false; Aws::String m_appName; bool m_appNameHasBeenSet = false; Aws::String m_backendEnvironmentName; bool m_backendEnvironmentNameHasBeenSet = false; ResourceConfig m_resourceConfig; bool m_resourceConfigHasBeenSet = false; Aws::String m_resourceName; bool m_resourceNameHasBeenSet = false; }; } // namespace Model } // namespace AmplifyBackend } // namespace Aws