/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Route53Resolver { namespace Model { class ListResolverQueryLogConfigsResult { public: AWS_ROUTE53RESOLVER_API ListResolverQueryLogConfigsResult(); AWS_ROUTE53RESOLVER_API ListResolverQueryLogConfigsResult(const Aws::AmazonWebServiceResult& result); AWS_ROUTE53RESOLVER_API ListResolverQueryLogConfigsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

If there are more than MaxResults query logging configurations, * you can submit another ListResolverQueryLogConfigs request to get * the next group of configurations. In the next request, specify the value of * NextToken from the previous response.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

If there are more than MaxResults query logging configurations, * you can submit another ListResolverQueryLogConfigs request to get * the next group of configurations. In the next request, specify the value of * NextToken from the previous response.

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

If there are more than MaxResults query logging configurations, * you can submit another ListResolverQueryLogConfigs request to get * the next group of configurations. In the next request, specify the value of * NextToken from the previous response.

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

If there are more than MaxResults query logging configurations, * you can submit another ListResolverQueryLogConfigs request to get * the next group of configurations. In the next request, specify the value of * NextToken from the previous response.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

If there are more than MaxResults query logging configurations, * you can submit another ListResolverQueryLogConfigs request to get * the next group of configurations. In the next request, specify the value of * NextToken from the previous response.

*/ inline ListResolverQueryLogConfigsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

If there are more than MaxResults query logging configurations, * you can submit another ListResolverQueryLogConfigs request to get * the next group of configurations. In the next request, specify the value of * NextToken from the previous response.

*/ inline ListResolverQueryLogConfigsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

If there are more than MaxResults query logging configurations, * you can submit another ListResolverQueryLogConfigs request to get * the next group of configurations. In the next request, specify the value of * NextToken from the previous response.

*/ inline ListResolverQueryLogConfigsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The total number of query logging configurations that were created by the * current account in the specified Region. This count can differ from the number * of query logging configurations that are returned in a * ListResolverQueryLogConfigs response, depending on the values that * you specify in the request.

*/ inline int GetTotalCount() const{ return m_totalCount; } /** *

The total number of query logging configurations that were created by the * current account in the specified Region. This count can differ from the number * of query logging configurations that are returned in a * ListResolverQueryLogConfigs response, depending on the values that * you specify in the request.

*/ inline void SetTotalCount(int value) { m_totalCount = value; } /** *

The total number of query logging configurations that were created by the * current account in the specified Region. This count can differ from the number * of query logging configurations that are returned in a * ListResolverQueryLogConfigs response, depending on the values that * you specify in the request.

*/ inline ListResolverQueryLogConfigsResult& WithTotalCount(int value) { SetTotalCount(value); return *this;} /** *

The total number of query logging configurations that were created by the * current account in the specified Region and that match the filters that were * specified in the ListResolverQueryLogConfigs request. For the total * number of query logging configurations that were created by the current account * in the specified Region, see TotalCount.

*/ inline int GetTotalFilteredCount() const{ return m_totalFilteredCount; } /** *

The total number of query logging configurations that were created by the * current account in the specified Region and that match the filters that were * specified in the ListResolverQueryLogConfigs request. For the total * number of query logging configurations that were created by the current account * in the specified Region, see TotalCount.

*/ inline void SetTotalFilteredCount(int value) { m_totalFilteredCount = value; } /** *

The total number of query logging configurations that were created by the * current account in the specified Region and that match the filters that were * specified in the ListResolverQueryLogConfigs request. For the total * number of query logging configurations that were created by the current account * in the specified Region, see TotalCount.

*/ inline ListResolverQueryLogConfigsResult& WithTotalFilteredCount(int value) { SetTotalFilteredCount(value); return *this;} /** *

A list that contains one ResolverQueryLogConfig element for each * query logging configuration that matches the values that you specified for * Filter.

*/ inline const Aws::Vector& GetResolverQueryLogConfigs() const{ return m_resolverQueryLogConfigs; } /** *

A list that contains one ResolverQueryLogConfig element for each * query logging configuration that matches the values that you specified for * Filter.

*/ inline void SetResolverQueryLogConfigs(const Aws::Vector& value) { m_resolverQueryLogConfigs = value; } /** *

A list that contains one ResolverQueryLogConfig element for each * query logging configuration that matches the values that you specified for * Filter.

*/ inline void SetResolverQueryLogConfigs(Aws::Vector&& value) { m_resolverQueryLogConfigs = std::move(value); } /** *

A list that contains one ResolverQueryLogConfig element for each * query logging configuration that matches the values that you specified for * Filter.

*/ inline ListResolverQueryLogConfigsResult& WithResolverQueryLogConfigs(const Aws::Vector& value) { SetResolverQueryLogConfigs(value); return *this;} /** *

A list that contains one ResolverQueryLogConfig element for each * query logging configuration that matches the values that you specified for * Filter.

*/ inline ListResolverQueryLogConfigsResult& WithResolverQueryLogConfigs(Aws::Vector&& value) { SetResolverQueryLogConfigs(std::move(value)); return *this;} /** *

A list that contains one ResolverQueryLogConfig element for each * query logging configuration that matches the values that you specified for * Filter.

*/ inline ListResolverQueryLogConfigsResult& AddResolverQueryLogConfigs(const ResolverQueryLogConfig& value) { m_resolverQueryLogConfigs.push_back(value); return *this; } /** *

A list that contains one ResolverQueryLogConfig element for each * query logging configuration that matches the values that you specified for * Filter.

*/ inline ListResolverQueryLogConfigsResult& AddResolverQueryLogConfigs(ResolverQueryLogConfig&& value) { m_resolverQueryLogConfigs.push_back(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 ListResolverQueryLogConfigsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListResolverQueryLogConfigsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListResolverQueryLogConfigsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_nextToken; int m_totalCount; int m_totalFilteredCount; Aws::Vector m_resolverQueryLogConfigs; Aws::String m_requestId; }; } // namespace Model } // namespace Route53Resolver } // namespace Aws