/** * 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 ManagedGrafana { namespace Model { class AWS_MANAGEDGRAFANA_API AssociateLicenseResult { public: AssociateLicenseResult(); AssociateLicenseResult(const Aws::AmazonWebServiceResult& result); AssociateLicenseResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A structure containing data about the workspace.

*/ inline const WorkspaceDescription& GetWorkspace() const{ return m_workspace; } /** *

A structure containing data about the workspace.

*/ inline void SetWorkspace(const WorkspaceDescription& value) { m_workspace = value; } /** *

A structure containing data about the workspace.

*/ inline void SetWorkspace(WorkspaceDescription&& value) { m_workspace = std::move(value); } /** *

A structure containing data about the workspace.

*/ inline AssociateLicenseResult& WithWorkspace(const WorkspaceDescription& value) { SetWorkspace(value); return *this;} /** *

A structure containing data about the workspace.

*/ inline AssociateLicenseResult& WithWorkspace(WorkspaceDescription&& value) { SetWorkspace(std::move(value)); return *this;} private: WorkspaceDescription m_workspace; }; } // namespace Model } // namespace ManagedGrafana } // namespace Aws