/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Amplify { namespace Model { /** *

The result structure for the get backend environment result.

See * Also:

AWS * API Reference

*/ class AWS_AMPLIFY_API GetBackendEnvironmentResult { public: GetBackendEnvironmentResult(); GetBackendEnvironmentResult(const Aws::AmazonWebServiceResult& result); GetBackendEnvironmentResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Describes the backend environment for an Amplify app.

*/ inline const BackendEnvironment& GetBackendEnvironment() const{ return m_backendEnvironment; } /** *

Describes the backend environment for an Amplify app.

*/ inline void SetBackendEnvironment(const BackendEnvironment& value) { m_backendEnvironment = value; } /** *

Describes the backend environment for an Amplify app.

*/ inline void SetBackendEnvironment(BackendEnvironment&& value) { m_backendEnvironment = std::move(value); } /** *

Describes the backend environment for an Amplify app.

*/ inline GetBackendEnvironmentResult& WithBackendEnvironment(const BackendEnvironment& value) { SetBackendEnvironment(value); return *this;} /** *

Describes the backend environment for an Amplify app.

*/ inline GetBackendEnvironmentResult& WithBackendEnvironment(BackendEnvironment&& value) { SetBackendEnvironment(std::move(value)); return *this;} private: BackendEnvironment m_backendEnvironment; }; } // namespace Model } // namespace Amplify } // namespace Aws