/** * 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 Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace Route53 { namespace Model { class ListQueryLoggingConfigsResult { public: AWS_ROUTE53_API ListQueryLoggingConfigsResult(); AWS_ROUTE53_API ListQueryLoggingConfigsResult(const Aws::AmazonWebServiceResult& result); AWS_ROUTE53_API ListQueryLoggingConfigsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array that contains one QueryLoggingConfig * element for each configuration for DNS query logging that is associated with the * current Amazon Web Services account.

*/ inline const Aws::Vector& GetQueryLoggingConfigs() const{ return m_queryLoggingConfigs; } /** *

An array that contains one QueryLoggingConfig * element for each configuration for DNS query logging that is associated with the * current Amazon Web Services account.

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

An array that contains one QueryLoggingConfig * element for each configuration for DNS query logging that is associated with the * current Amazon Web Services account.

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

An array that contains one QueryLoggingConfig * element for each configuration for DNS query logging that is associated with the * current Amazon Web Services account.

*/ inline ListQueryLoggingConfigsResult& WithQueryLoggingConfigs(const Aws::Vector& value) { SetQueryLoggingConfigs(value); return *this;} /** *

An array that contains one QueryLoggingConfig * element for each configuration for DNS query logging that is associated with the * current Amazon Web Services account.

*/ inline ListQueryLoggingConfigsResult& WithQueryLoggingConfigs(Aws::Vector&& value) { SetQueryLoggingConfigs(std::move(value)); return *this;} /** *

An array that contains one QueryLoggingConfig * element for each configuration for DNS query logging that is associated with the * current Amazon Web Services account.

*/ inline ListQueryLoggingConfigsResult& AddQueryLoggingConfigs(const QueryLoggingConfig& value) { m_queryLoggingConfigs.push_back(value); return *this; } /** *

An array that contains one QueryLoggingConfig * element for each configuration for DNS query logging that is associated with the * current Amazon Web Services account.

*/ inline ListQueryLoggingConfigsResult& AddQueryLoggingConfigs(QueryLoggingConfig&& value) { m_queryLoggingConfigs.push_back(std::move(value)); return *this; } /** *

If a response includes the last of the query logging configurations that are * associated with the current Amazon Web Services account, NextToken * doesn't appear in the response.

If a response doesn't include the last of * the configurations, you can get more configurations by submitting another ListQueryLoggingConfigs * request. Get the value of NextToken that Amazon Route 53 returned * in the previous response and include it in NextToken in the next * request.

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

If a response includes the last of the query logging configurations that are * associated with the current Amazon Web Services account, NextToken * doesn't appear in the response.

If a response doesn't include the last of * the configurations, you can get more configurations by submitting another ListQueryLoggingConfigs * request. Get the value of NextToken that Amazon Route 53 returned * in the previous response and include it in NextToken in the next * request.

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

If a response includes the last of the query logging configurations that are * associated with the current Amazon Web Services account, NextToken * doesn't appear in the response.

If a response doesn't include the last of * the configurations, you can get more configurations by submitting another ListQueryLoggingConfigs * request. Get the value of NextToken that Amazon Route 53 returned * in the previous response and include it in NextToken in the next * request.

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

If a response includes the last of the query logging configurations that are * associated with the current Amazon Web Services account, NextToken * doesn't appear in the response.

If a response doesn't include the last of * the configurations, you can get more configurations by submitting another ListQueryLoggingConfigs * request. Get the value of NextToken that Amazon Route 53 returned * in the previous response and include it in NextToken in the next * request.

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

If a response includes the last of the query logging configurations that are * associated with the current Amazon Web Services account, NextToken * doesn't appear in the response.

If a response doesn't include the last of * the configurations, you can get more configurations by submitting another ListQueryLoggingConfigs * request. Get the value of NextToken that Amazon Route 53 returned * in the previous response and include it in NextToken in the next * request.

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

If a response includes the last of the query logging configurations that are * associated with the current Amazon Web Services account, NextToken * doesn't appear in the response.

If a response doesn't include the last of * the configurations, you can get more configurations by submitting another ListQueryLoggingConfigs * request. Get the value of NextToken that Amazon Route 53 returned * in the previous response and include it in NextToken in the next * request.

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

If a response includes the last of the query logging configurations that are * associated with the current Amazon Web Services account, NextToken * doesn't appear in the response.

If a response doesn't include the last of * the configurations, you can get more configurations by submitting another ListQueryLoggingConfigs * request. Get the value of NextToken that Amazon Route 53 returned * in the previous response and include it in NextToken in the next * request.

*/ inline ListQueryLoggingConfigsResult& WithNextToken(const char* value) { SetNextToken(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 ListQueryLoggingConfigsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListQueryLoggingConfigsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListQueryLoggingConfigsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_queryLoggingConfigs; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace Route53 } // namespace Aws