/* * 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 ListContacts operation. /// Returns a list of contacts. /// /// /// /// If statusList contains AVAILABLE, the request must include groundStation, /// missionprofileArn, and satelliteArn. /// /// public partial class ListContactsRequest : AmazonGroundStationRequest { private DateTime? _endTime; private string _groundStation; private int? _maxResults; private string _missionProfileArn; private string _nextToken; private string _satelliteArn; private DateTime? _startTime; private List _statusList = new List(); /// /// 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(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 MaxResults. /// /// Maximum number of contacts returned. /// /// [AWSProperty(Min=0, Max=100)] 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 MissionProfileArn. /// /// ARN of a mission profile. /// /// 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 NextToken. /// /// Next token returned in the request of a previous ListContacts call. Used /// to get the next page of results. /// /// [AWSProperty(Min=3, Max=1000)] 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 SatelliteArn. /// /// ARN of a satellite. /// /// 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 StatusList. /// /// Status of a contact reservation. /// /// [AWSProperty(Required=true, Min=0, Max=500)] public List StatusList { get { return this._statusList; } set { this._statusList = value; } } // Check to see if StatusList property is set internal bool IsSetStatusList() { return this._statusList != null && this._statusList.Count > 0; } } }