/* * 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 apigateway-2015-07-09.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.APIGateway.Model { /// /// Represents an AWS account that is associated with API Gateway. /// public partial class UpdateAccountResponse : AmazonWebServiceResponse { private string _apiKeyVersion; private string _cloudwatchRoleArn; private List _features = new List(); private ThrottleSettings _throttleSettings; /// /// Gets and sets the property ApiKeyVersion. /// /// The version of the API keys used for the account. /// /// public string ApiKeyVersion { get { return this._apiKeyVersion; } set { this._apiKeyVersion = value; } } // Check to see if ApiKeyVersion property is set internal bool IsSetApiKeyVersion() { return this._apiKeyVersion != null; } /// /// Gets and sets the property CloudwatchRoleArn. /// /// The ARN of an Amazon CloudWatch role for the current Account. /// /// public string CloudwatchRoleArn { get { return this._cloudwatchRoleArn; } set { this._cloudwatchRoleArn = value; } } // Check to see if CloudwatchRoleArn property is set internal bool IsSetCloudwatchRoleArn() { return this._cloudwatchRoleArn != null; } /// /// Gets and sets the property Features. /// /// A list of features supported for the account. When usage plans are enabled, the features /// list will include an entry of "UsagePlans". /// /// public List Features { get { return this._features; } set { this._features = value; } } // Check to see if Features property is set internal bool IsSetFeatures() { return this._features != null && this._features.Count > 0; } /// /// Gets and sets the property ThrottleSettings. /// /// Specifies the API request limits configured for the current Account. /// /// public ThrottleSettings ThrottleSettings { get { return this._throttleSettings; } set { this._throttleSettings = value; } } // Check to see if ThrottleSettings property is set internal bool IsSetThrottleSettings() { return this._throttleSettings != null; } } }