/* * 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 groundstation-2019-05-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.GroundStation.Model { /// /// Container for the parameters to the ReserveContact operation. /// Reserves a contact using specified parameters. /// public partial class ReserveContactRequest : AmazonGroundStationRequest { private DateTime? _endTime; private string _groundStation; private string _missionProfileArn; private string _satelliteArn; private DateTime? _startTime; private Dictionary _tags = new Dictionary(); /// /// Gets and sets the property EndTime. /// /// End time of a contact in UTC. /// /// [AWSProperty(Required=true)] 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 GroundStation. /// /// Name of a ground station. /// /// [AWSProperty(Required=true, Min=4, Max=500)] public string GroundStation { get { return this._groundStation; } set { this._groundStation = value; } } // Check to see if GroundStation property is set internal bool IsSetGroundStation() { return this._groundStation != null; } /// /// Gets and sets the property MissionProfileArn. /// /// ARN of a mission profile. /// /// [AWSProperty(Required=true)] public string MissionProfileArn { get { return this._missionProfileArn; } set { this._missionProfileArn = value; } } // Check to see if MissionProfileArn property is set internal bool IsSetMissionProfileArn() { return this._missionProfileArn != null; } /// /// Gets and sets the property SatelliteArn. /// /// ARN of a satellite /// /// [AWSProperty(Required=true)] public string SatelliteArn { get { return this._satelliteArn; } set { this._satelliteArn = value; } } // Check to see if SatelliteArn property is set internal bool IsSetSatelliteArn() { return this._satelliteArn != null; } /// /// Gets and sets the property StartTime. /// /// Start time of a contact in UTC. /// /// [AWSProperty(Required=true)] 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; } /// /// Gets and sets the property Tags. /// /// Tags assigned to a contact. /// /// public Dictionary Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }