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

Information about the Resolver query logging configuration that you specified * in a GetQueryLogConfig request.

*/ inline const ResolverQueryLogConfig& GetResolverQueryLogConfig() const{ return m_resolverQueryLogConfig; } /** *

Information about the Resolver query logging configuration that you specified * in a GetQueryLogConfig request.

*/ inline void SetResolverQueryLogConfig(const ResolverQueryLogConfig& value) { m_resolverQueryLogConfig = value; } /** *

Information about the Resolver query logging configuration that you specified * in a GetQueryLogConfig request.

*/ inline void SetResolverQueryLogConfig(ResolverQueryLogConfig&& value) { m_resolverQueryLogConfig = std::move(value); } /** *

Information about the Resolver query logging configuration that you specified * in a GetQueryLogConfig request.

*/ inline GetResolverQueryLogConfigResult& WithResolverQueryLogConfig(const ResolverQueryLogConfig& value) { SetResolverQueryLogConfig(value); return *this;} /** *

Information about the Resolver query logging configuration that you specified * in a GetQueryLogConfig request.

*/ inline GetResolverQueryLogConfigResult& WithResolverQueryLogConfig(ResolverQueryLogConfig&& value) { SetResolverQueryLogConfig(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 GetResolverQueryLogConfigResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetResolverQueryLogConfigResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetResolverQueryLogConfigResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ResolverQueryLogConfig m_resolverQueryLogConfig; Aws::String m_requestId; }; } // namespace Model } // namespace Route53Resolver } // namespace Aws