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