/** * 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 PrometheusService { namespace Model { /** *

Represents the output of a DescribeLoggingConfiguration * operation.

See Also:

AWS * API Reference

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

Metadata object containing information about the logging configuration of a * workspace.

*/ inline const LoggingConfigurationMetadata& GetLoggingConfiguration() const{ return m_loggingConfiguration; } /** *

Metadata object containing information about the logging configuration of a * workspace.

*/ inline void SetLoggingConfiguration(const LoggingConfigurationMetadata& value) { m_loggingConfiguration = value; } /** *

Metadata object containing information about the logging configuration of a * workspace.

*/ inline void SetLoggingConfiguration(LoggingConfigurationMetadata&& value) { m_loggingConfiguration = std::move(value); } /** *

Metadata object containing information about the logging configuration of a * workspace.

*/ inline DescribeLoggingConfigurationResult& WithLoggingConfiguration(const LoggingConfigurationMetadata& value) { SetLoggingConfiguration(value); return *this;} /** *

Metadata object containing information about the logging configuration of a * workspace.

*/ inline DescribeLoggingConfigurationResult& WithLoggingConfiguration(LoggingConfigurationMetadata&& value) { SetLoggingConfiguration(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 DescribeLoggingConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeLoggingConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeLoggingConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: LoggingConfigurationMetadata m_loggingConfiguration; Aws::String m_requestId; }; } // namespace Model } // namespace PrometheusService } // namespace Aws