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

The configuration string for the workspace that you requested. For more * information about the format and configuration options available, see Working * in your Grafana workspace.

*/ inline const Aws::String& GetConfiguration() const{ return m_configuration; } /** *

The configuration string for the workspace that you requested. For more * information about the format and configuration options available, see Working * in your Grafana workspace.

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

The configuration string for the workspace that you requested. For more * information about the format and configuration options available, see Working * in your Grafana workspace.

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

The configuration string for the workspace that you requested. For more * information about the format and configuration options available, see Working * in your Grafana workspace.

*/ inline void SetConfiguration(const char* value) { m_configuration.assign(value); } /** *

The configuration string for the workspace that you requested. For more * information about the format and configuration options available, see Working * in your Grafana workspace.

*/ inline DescribeWorkspaceConfigurationResult& WithConfiguration(const Aws::String& value) { SetConfiguration(value); return *this;} /** *

The configuration string for the workspace that you requested. For more * information about the format and configuration options available, see Working * in your Grafana workspace.

*/ inline DescribeWorkspaceConfigurationResult& WithConfiguration(Aws::String&& value) { SetConfiguration(std::move(value)); return *this;} /** *

The configuration string for the workspace that you requested. For more * information about the format and configuration options available, see Working * in your Grafana workspace.

*/ inline DescribeWorkspaceConfigurationResult& WithConfiguration(const char* value) { SetConfiguration(value); return *this;} /** *

The supported Grafana version for the workspace.

*/ inline const Aws::String& GetGrafanaVersion() const{ return m_grafanaVersion; } /** *

The supported Grafana version for the workspace.

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

The supported Grafana version for the workspace.

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

The supported Grafana version for the workspace.

*/ inline void SetGrafanaVersion(const char* value) { m_grafanaVersion.assign(value); } /** *

The supported Grafana version for the workspace.

*/ inline DescribeWorkspaceConfigurationResult& WithGrafanaVersion(const Aws::String& value) { SetGrafanaVersion(value); return *this;} /** *

The supported Grafana version for the workspace.

*/ inline DescribeWorkspaceConfigurationResult& WithGrafanaVersion(Aws::String&& value) { SetGrafanaVersion(std::move(value)); return *this;} /** *

The supported Grafana version for the workspace.

*/ inline DescribeWorkspaceConfigurationResult& WithGrafanaVersion(const char* value) { SetGrafanaVersion(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 DescribeWorkspaceConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeWorkspaceConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeWorkspaceConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_configuration; Aws::String m_grafanaVersion; Aws::String m_requestId; }; } // namespace Model } // namespace ManagedGrafana } // namespace Aws