/*
* 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 UpdateEphemeris operation.
/// Updates an existing ephemeris
///
public partial class UpdateEphemerisRequest : AmazonGroundStationRequest
{
private bool? _enabled;
private string _ephemerisId;
private string _name;
private int? _priority;
///
/// Gets and sets the property Enabled.
///
/// Whether the ephemeris is enabled or not. Changing this value will not require the
/// ephemeris to be re-validated.
///
///
[AWSProperty(Required=true)]
public bool Enabled
{
get { return this._enabled.GetValueOrDefault(); }
set { this._enabled = value; }
}
// Check to see if Enabled property is set
internal bool IsSetEnabled()
{
return this._enabled.HasValue;
}
///
/// Gets and sets the property EphemerisId.
///
/// The AWS Ground Station ephemeris ID.
///
///
[AWSProperty(Required=true, Min=1, Max=128)]
public string EphemerisId
{
get { return this._ephemerisId; }
set { this._ephemerisId = value; }
}
// Check to see if EphemerisId property is set
internal bool IsSetEphemerisId()
{
return this._ephemerisId != null;
}
///
/// Gets and sets the property Name.
///
/// A name string associated with the ephemeris. Used as a human-readable identifier for
/// the ephemeris.
///
///
[AWSProperty(Min=1, Max=256)]
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 Priority.
///
/// Customer-provided priority score to establish the order in which overlapping ephemerides
/// should be used.
///
///
///
/// The default for customer-provided ephemeris priority is 1, and higher numbers take
/// precedence.
///
///
///
/// Priority must be 1 or greater
///
///
[AWSProperty(Min=0, Max=99999)]
public int Priority
{
get { return this._priority.GetValueOrDefault(); }
set { this._priority = value; }
}
// Check to see if Priority property is set
internal bool IsSetPriority()
{
return this._priority.HasValue;
}
}
}