/* * 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 ssm-2014-11-06.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.SimpleSystemsManagement.Model { /// /// Container for the parameters to the GetCalendarState operation. /// Gets the state of a Amazon Web Services Systems Manager change calendar at the current /// time or a specified time. If you specify a time, GetCalendarState returns /// the state of the calendar at that specific time, and returns the next time that the /// change calendar state will transition. If you don't specify a time, GetCalendarState /// uses the current time. Change Calendar entries have two possible states: OPEN /// or CLOSED. /// /// /// /// If you specify more than one calendar in a request, the command returns the status /// of OPEN only if all calendars in the request are open. If one or more /// calendars in the request are closed, the status returned is CLOSED. /// /// /// /// For more information about Change Calendar, a capability of Amazon Web Services Systems /// Manager, see Amazon /// Web Services Systems Manager Change Calendar in the Amazon Web Services Systems /// Manager User Guide. /// /// public partial class GetCalendarStateRequest : AmazonSimpleSystemsManagementRequest { private string _atTime; private List _calendarNames = new List(); /// /// Gets and sets the property AtTime. /// /// (Optional) The specific time for which you want to get calendar state information, /// in ISO 8601 format. If you don't /// specify a value or AtTime, the current time is used. /// /// public string AtTime { get { return this._atTime; } set { this._atTime = value; } } // Check to see if AtTime property is set internal bool IsSetAtTime() { return this._atTime != null; } /// /// Gets and sets the property CalendarNames. /// /// The names or Amazon Resource Names (ARNs) of the Systems Manager documents (SSM documents) /// that represent the calendar entries for which you want to get the state. /// /// [AWSProperty(Required=true)] public List CalendarNames { get { return this._calendarNames; } set { this._calendarNames = value; } } // Check to see if CalendarNames property is set internal bool IsSetCalendarNames() { return this._calendarNames != null && this._calendarNames.Count > 0; } } }