/* * 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 iotevents-data-2018-10-23.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.IoTEventsData.Model { /// /// Contains information about the current state of the alarm. /// public partial class AlarmState { private CustomerAction _customerAction; private RuleEvaluation _ruleEvaluation; private AlarmStateName _stateName; private SystemEvent _systemEvent; /// /// Gets and sets the property CustomerAction. /// /// Contains information about the action that you can take to respond to the alarm. /// /// public CustomerAction CustomerAction { get { return this._customerAction; } set { this._customerAction = value; } } // Check to see if CustomerAction property is set internal bool IsSetCustomerAction() { return this._customerAction != null; } /// /// Gets and sets the property RuleEvaluation. /// /// Information needed to evaluate data. /// /// public RuleEvaluation RuleEvaluation { get { return this._ruleEvaluation; } set { this._ruleEvaluation = value; } } // Check to see if RuleEvaluation property is set internal bool IsSetRuleEvaluation() { return this._ruleEvaluation != null; } /// /// Gets and sets the property StateName. /// /// The name of the alarm state. The state name can be one of the following values: /// /// /// public AlarmStateName StateName { get { return this._stateName; } set { this._stateName = value; } } // Check to see if StateName property is set internal bool IsSetStateName() { return this._stateName != null; } /// /// Gets and sets the property SystemEvent. /// /// Contains information about alarm state changes. /// /// public SystemEvent SystemEvent { get { return this._systemEvent; } set { this._systemEvent = value; } } // Check to see if SystemEvent property is set internal bool IsSetSystemEvent() { return this._systemEvent != null; } } }