/** * 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 ManagedGrafana { namespace Model { class AssociateLicenseResult { public: AWS_MANAGEDGRAFANA_API AssociateLicenseResult(); AWS_MANAGEDGRAFANA_API AssociateLicenseResult(const Aws::AmazonWebServiceResult& result); AWS_MANAGEDGRAFANA_API 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;} 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 AssociateLicenseResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline AssociateLicenseResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline AssociateLicenseResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: WorkspaceDescription m_workspace; Aws::String m_requestId; }; } // namespace Model } // namespace ManagedGrafana } // namespace Aws