/* * 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. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using Amazon.Runtime; namespace Amazon.S3.Model { /// /// Returns information about the ListBucketAnalyticsConfigurationsResponse response and response metadata. /// public partial class ListBucketAnalyticsConfigurationsResponse : AmazonWebServiceResponse { private string token; private List analyticsConfigurationList = new List(); private bool? isTruncated; private string nextToken; /// /// The ContinuationToken that represents where this request began. /// public string ContinuationToken { get { return this.token; } set { this.token = value; } } // Check to see if ContinuationToken property is set internal bool IsSetToken() { return !(string.IsNullOrEmpty(this.token)); } /// /// The list of analytics configurations for a bucket. /// public List AnalyticsConfigurationList { get { return this.analyticsConfigurationList; } set { this.analyticsConfigurationList = value; } } // Check to see if AnalyticsConfigurationList property is set public bool IsSetAnalyticsConfigurationList() { return this.analyticsConfigurationList.Count > 0; } /// /// Indicates whether the returned list of analytics configurations is complete. /// A value of true indicates that the list is not complete and the NextContinuationToken will be provided for a subsequent request. /// public bool IsTruncated { get { return this.isTruncated ?? default(bool); } set { this.isTruncated = value; } } // Check to see if IsTruncated property is set internal bool IsSetIsTruncated() { return this.isTruncated.HasValue; } /// /// NextContinuationToken is sent when isTruncated is true, which indicates that there are more analytics configurations to list. /// The next request must include this NextContinuationToken. The token is obfuscated and is not a usable value. /// public string NextContinuationToken { get { return this.nextToken; } set { this.nextToken = value; } } // Check to see if NextContinuationToken property is set internal bool IsSetNextToken() { return !(string.IsNullOrEmpty(this.nextToken)); } } }