/* * 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 application-insights-2018-11-25.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.ApplicationInsights.Model { /// /// Container for the parameters to the ListConfigurationHistory operation. /// Lists the INFO, WARN, and ERROR events for periodic configuration updates performed /// by Application Insights. Examples of events represented are: /// /// /// public partial class ListConfigurationHistoryRequest : AmazonApplicationInsightsRequest { private string _accountId; private DateTime? _endTime; private ConfigurationEventStatus _eventStatus; private int? _maxResults; private string _nextToken; private string _resourceGroupName; private DateTime? _startTime; /// /// Gets and sets the property AccountId. /// /// The AWS account ID for the resource group owner. /// /// [AWSProperty(Min=12, Max=12)] public string AccountId { get { return this._accountId; } set { this._accountId = value; } } // Check to see if AccountId property is set internal bool IsSetAccountId() { return this._accountId != null; } /// /// Gets and sets the property EndTime. /// /// The end time of the event. /// /// public DateTime EndTime { get { return this._endTime.GetValueOrDefault(); } set { this._endTime = value; } } // Check to see if EndTime property is set internal bool IsSetEndTime() { return this._endTime.HasValue; } /// /// Gets and sets the property EventStatus. /// /// The status of the configuration update event. Possible values include INFO, WARN, /// and ERROR. /// /// public ConfigurationEventStatus EventStatus { get { return this._eventStatus; } set { this._eventStatus = value; } } // Check to see if EventStatus property is set internal bool IsSetEventStatus() { return this._eventStatus != null; } /// /// Gets and sets the property MaxResults. /// /// The maximum number of results returned by ListConfigurationHistory in /// paginated output. When this parameter is used, ListConfigurationHistory /// returns only MaxResults in a single page along with a NextToken /// response element. The remaining results of the initial request can be seen by sending /// another ListConfigurationHistory request with the returned NextToken /// value. If this parameter is not used, then ListConfigurationHistory returns /// all results. /// /// [AWSProperty(Min=1, Max=40)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// /// Gets and sets the property NextToken. /// /// The NextToken value returned from a previous paginated ListConfigurationHistory /// request where MaxResults was used and the results exceeded the value /// of that parameter. Pagination continues from the end of the previous results that /// returned the NextToken value. This value is null when there /// are no more results to return. /// /// [AWSProperty(Min=1, 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 ResourceGroupName. /// /// Resource group to which the application belongs. /// /// [AWSProperty(Min=1, Max=256)] public string ResourceGroupName { get { return this._resourceGroupName; } set { this._resourceGroupName = value; } } // Check to see if ResourceGroupName property is set internal bool IsSetResourceGroupName() { return this._resourceGroupName != null; } /// /// Gets and sets the property StartTime. /// /// The start time of the event. /// /// public DateTime StartTime { get { return this._startTime.GetValueOrDefault(); } set { this._startTime = value; } } // Check to see if StartTime property is set internal bool IsSetStartTime() { return this._startTime.HasValue; } } }