/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace AmplifyBackend { namespace Model { class GetBackendStorageResult { public: AWS_AMPLIFYBACKEND_API GetBackendStorageResult(); AWS_AMPLIFYBACKEND_API GetBackendStorageResult(const Aws::AmazonWebServiceResult& result); AWS_AMPLIFYBACKEND_API GetBackendStorageResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The app ID.

*/ inline const Aws::String& GetAppId() const{ return m_appId; } /** *

The app ID.

*/ inline void SetAppId(const Aws::String& value) { m_appId = value; } /** *

The app ID.

*/ inline void SetAppId(Aws::String&& value) { m_appId = std::move(value); } /** *

The app ID.

*/ inline void SetAppId(const char* value) { m_appId.assign(value); } /** *

The app ID.

*/ inline GetBackendStorageResult& WithAppId(const Aws::String& value) { SetAppId(value); return *this;} /** *

The app ID.

*/ inline GetBackendStorageResult& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;} /** *

The app ID.

*/ inline GetBackendStorageResult& 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 void SetBackendEnvironmentName(const Aws::String& value) { m_backendEnvironmentName = value; } /** *

The name of the backend environment.

*/ inline void SetBackendEnvironmentName(Aws::String&& value) { m_backendEnvironmentName = std::move(value); } /** *

The name of the backend environment.

*/ inline void SetBackendEnvironmentName(const char* value) { m_backendEnvironmentName.assign(value); } /** *

The name of the backend environment.

*/ inline GetBackendStorageResult& WithBackendEnvironmentName(const Aws::String& value) { SetBackendEnvironmentName(value); return *this;} /** *

The name of the backend environment.

*/ inline GetBackendStorageResult& WithBackendEnvironmentName(Aws::String&& value) { SetBackendEnvironmentName(std::move(value)); return *this;} /** *

The name of the backend environment.

*/ inline GetBackendStorageResult& WithBackendEnvironmentName(const char* value) { SetBackendEnvironmentName(value); return *this;} /** *

The resource configuration for the backend storage resource.

*/ inline const GetBackendStorageResourceConfig& GetResourceConfig() const{ return m_resourceConfig; } /** *

The resource configuration for the backend storage resource.

*/ inline void SetResourceConfig(const GetBackendStorageResourceConfig& value) { m_resourceConfig = value; } /** *

The resource configuration for the backend storage resource.

*/ inline void SetResourceConfig(GetBackendStorageResourceConfig&& value) { m_resourceConfig = std::move(value); } /** *

The resource configuration for the backend storage resource.

*/ inline GetBackendStorageResult& WithResourceConfig(const GetBackendStorageResourceConfig& value) { SetResourceConfig(value); return *this;} /** *

The resource configuration for the backend storage resource.

*/ inline GetBackendStorageResult& WithResourceConfig(GetBackendStorageResourceConfig&& value) { SetResourceConfig(std::move(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 void SetResourceName(const Aws::String& value) { m_resourceName = value; } /** *

The name of the storage resource.

*/ inline void SetResourceName(Aws::String&& value) { m_resourceName = std::move(value); } /** *

The name of the storage resource.

*/ inline void SetResourceName(const char* value) { m_resourceName.assign(value); } /** *

The name of the storage resource.

*/ inline GetBackendStorageResult& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;} /** *

The name of the storage resource.

*/ inline GetBackendStorageResult& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;} /** *

The name of the storage resource.

*/ inline GetBackendStorageResult& WithResourceName(const char* value) { SetResourceName(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetBackendStorageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetBackendStorageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetBackendStorageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_appId; Aws::String m_backendEnvironmentName; GetBackendStorageResourceConfig m_resourceConfig; Aws::String m_resourceName; Aws::String m_requestId; }; } // namespace Model } // namespace AmplifyBackend } // namespace Aws