/* * 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 connect-2017-08-08.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.Connect.Model { /// /// A list of ActionTypes associated with a rule. /// public partial class RuleSummary { private List _actionSummaries = new List(); private DateTime? _createdTime; private EventSourceName _eventSourceName; private DateTime? _lastUpdatedTime; private string _name; private RulePublishStatus _publishStatus; private string _ruleArn; private string _ruleId; /// /// Gets and sets the property ActionSummaries. /// /// A list of ActionTypes associated with a rule. /// /// [AWSProperty(Required=true)] public List ActionSummaries { get { return this._actionSummaries; } set { this._actionSummaries = value; } } // Check to see if ActionSummaries property is set internal bool IsSetActionSummaries() { return this._actionSummaries != null && this._actionSummaries.Count > 0; } /// /// Gets and sets the property CreatedTime. /// /// The timestamp for when the rule was created. /// /// [AWSProperty(Required=true)] public DateTime CreatedTime { get { return this._createdTime.GetValueOrDefault(); } set { this._createdTime = value; } } // Check to see if CreatedTime property is set internal bool IsSetCreatedTime() { return this._createdTime.HasValue; } /// /// Gets and sets the property EventSourceName. /// /// The name of the event source. /// /// [AWSProperty(Required=true)] public EventSourceName EventSourceName { get { return this._eventSourceName; } set { this._eventSourceName = value; } } // Check to see if EventSourceName property is set internal bool IsSetEventSourceName() { return this._eventSourceName != null; } /// /// Gets and sets the property LastUpdatedTime. /// /// The timestamp for when the rule was last updated. /// /// [AWSProperty(Required=true)] public DateTime LastUpdatedTime { get { return this._lastUpdatedTime.GetValueOrDefault(); } set { this._lastUpdatedTime = value; } } // Check to see if LastUpdatedTime property is set internal bool IsSetLastUpdatedTime() { return this._lastUpdatedTime.HasValue; } /// /// Gets and sets the property Name. /// /// The name of the rule. /// /// [AWSProperty(Required=true, Min=1, Max=200)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property PublishStatus. /// /// The publish status of the rule. /// /// [AWSProperty(Required=true)] public RulePublishStatus PublishStatus { get { return this._publishStatus; } set { this._publishStatus = value; } } // Check to see if PublishStatus property is set internal bool IsSetPublishStatus() { return this._publishStatus != null; } /// /// Gets and sets the property RuleArn. /// /// The Amazon Resource Name (ARN) of the rule. /// /// [AWSProperty(Required=true)] public string RuleArn { get { return this._ruleArn; } set { this._ruleArn = value; } } // Check to see if RuleArn property is set internal bool IsSetRuleArn() { return this._ruleArn != null; } /// /// Gets and sets the property RuleId. /// /// A unique identifier for the rule. /// /// [AWSProperty(Required=true, Min=1, Max=256)] public string RuleId { get { return this._ruleId; } set { this._ruleId = value; } } // Check to see if RuleId property is set internal bool IsSetRuleId() { return this._ruleId != null; } } }