/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the route53-2013-04-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Route53.Model
{
///
/// Container for the parameters to the ListQueryLoggingConfigs operation.
/// Lists the configurations for DNS query logging that are associated with the current
/// Amazon Web Services account or the configuration that is associated with a specified
/// hosted zone.
///
///
///
/// For more information about DNS query logs, see CreateQueryLoggingConfig.
/// Additional information, including the format of DNS query logs, appears in Logging
/// DNS Queries in the Amazon Route 53 Developer Guide.
///
///
public partial class ListQueryLoggingConfigsRequest : AmazonRoute53Request
{
private string _hostedZoneId;
private string _nextToken;
private string _maxResults;
///
/// Gets and sets the property HostedZoneId.
///
/// (Optional) If you want to list the query logging configuration that is associated
/// with a hosted zone, specify the ID in HostedZoneId
.
///
///
///
/// If you don't specify a hosted zone ID, ListQueryLoggingConfigs
returns
/// all of the configurations that are associated with the current Amazon Web Services
/// account.
///
///
[AWSProperty(Max=32)]
public string HostedZoneId
{
get { return this._hostedZoneId; }
set { this._hostedZoneId = value; }
}
// Check to see if HostedZoneId property is set
internal bool IsSetHostedZoneId()
{
return this._hostedZoneId != null;
}
///
/// Gets and sets the property NextToken.
///
/// (Optional) If the current Amazon Web Services account has more than MaxResults
/// query logging configurations, use NextToken
to get the second and subsequent
/// pages of results.
///
///
///
/// For the first ListQueryLoggingConfigs
request, omit this value.
///
///
///
/// For the second and subsequent requests, get the value of NextToken
from
/// the previous response and specify that value for NextToken
in the request.
///
///
[AWSProperty(Max=1024)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
///
/// Gets and sets the property MaxResults.
///
/// (Optional) The maximum number of query logging configurations that you want Amazon
/// Route 53 to return in response to the current request. If the current Amazon Web Services
/// account has more than MaxResults
configurations, use the value of NextToken
/// in the response to get the next page of results.
///
///
///
/// If you don't specify a value for MaxResults
, Route 53 returns up to 100
/// configurations.
///
///
public string MaxResults
{
get { return this._maxResults; }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults != null;
}
}
}