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

The LoggingConfiguration for the specified web ACL.

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

The LoggingConfiguration for the specified web ACL.

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

The LoggingConfiguration for the specified web ACL.

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

The LoggingConfiguration for the specified web ACL.

*/ inline GetLoggingConfigurationResult& WithLoggingConfiguration(const LoggingConfiguration& value) { SetLoggingConfiguration(value); return *this;} /** *

The LoggingConfiguration for the specified web ACL.

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