/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The request body for DeleteBackendStorage.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 DeleteBackendStorageRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;} /** *The app ID.
*/ inline DeleteBackendStorageRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;} /** *The app ID.
*/ inline DeleteBackendStorageRequest& 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 DeleteBackendStorageRequest& WithBackendEnvironmentName(const Aws::String& value) { SetBackendEnvironmentName(value); return *this;} /** *The name of the backend environment.
*/ inline DeleteBackendStorageRequest& WithBackendEnvironmentName(Aws::String&& value) { SetBackendEnvironmentName(std::move(value)); return *this;} /** *The name of the backend environment.
*/ inline DeleteBackendStorageRequest& WithBackendEnvironmentName(const char* value) { SetBackendEnvironmentName(value); return *this;} /** *The name of the storage resource.
*/ inline const Aws::String& GetResourceName() const{ return m_resourceName; } /** *The name of the storage resource.
*/ inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; } /** *The name of the storage resource.
*/ inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; } /** *The name of the storage resource.
*/ inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); } /** *The name of the storage resource.
*/ inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); } /** *The name of the storage resource.
*/ inline DeleteBackendStorageRequest& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;} /** *The name of the storage resource.
*/ inline DeleteBackendStorageRequest& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;} /** *The name of the storage resource.
*/ inline DeleteBackendStorageRequest& WithResourceName(const char* value) { SetResourceName(value); return *this;} /** *The name of the storage service.
*/ inline const ServiceName& GetServiceName() const{ return m_serviceName; } /** *The name of the storage service.
*/ inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; } /** *The name of the storage service.
*/ inline void SetServiceName(const ServiceName& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; } /** *The name of the storage service.
*/ inline void SetServiceName(ServiceName&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); } /** *The name of the storage service.
*/ inline DeleteBackendStorageRequest& WithServiceName(const ServiceName& value) { SetServiceName(value); return *this;} /** *The name of the storage service.
*/ inline DeleteBackendStorageRequest& WithServiceName(ServiceName&& value) { SetServiceName(std::move(value)); return *this;} private: Aws::String m_appId; bool m_appIdHasBeenSet = false; Aws::String m_backendEnvironmentName; bool m_backendEnvironmentNameHasBeenSet = false; Aws::String m_resourceName; bool m_resourceNameHasBeenSet = false; ServiceName m_serviceName; bool m_serviceNameHasBeenSet = false; }; } // namespace Model } // namespace AmplifyBackend } // namespace Aws