/*
* 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 scheduler-2021-06-30.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.Scheduler.Model
{
///
/// The details of a schedule.
///
public partial class ScheduleSummary
{
private string _arn;
private DateTime? _creationDate;
private string _groupName;
private DateTime? _lastModificationDate;
private string _name;
private ScheduleState _state;
private TargetSummary _target;
///
/// Gets and sets the property Arn.
///
/// The Amazon Resource Name (ARN) of the schedule.
///
///
[AWSProperty(Min=1, Max=1224)]
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
///
/// Gets and sets the property CreationDate.
///
/// The time at which the schedule was created.
///
///
public DateTime CreationDate
{
get { return this._creationDate.GetValueOrDefault(); }
set { this._creationDate = value; }
}
// Check to see if CreationDate property is set
internal bool IsSetCreationDate()
{
return this._creationDate.HasValue;
}
///
/// Gets and sets the property GroupName.
///
/// The name of the schedule group associated with this schedule.
///
///
[AWSProperty(Min=1, Max=64)]
public string GroupName
{
get { return this._groupName; }
set { this._groupName = value; }
}
// Check to see if GroupName property is set
internal bool IsSetGroupName()
{
return this._groupName != null;
}
///
/// Gets and sets the property LastModificationDate.
///
/// The time at which the schedule was last modified.
///
///
public DateTime LastModificationDate
{
get { return this._lastModificationDate.GetValueOrDefault(); }
set { this._lastModificationDate = value; }
}
// Check to see if LastModificationDate property is set
internal bool IsSetLastModificationDate()
{
return this._lastModificationDate.HasValue;
}
///
/// Gets and sets the property Name.
///
/// The name of the schedule.
///
///
[AWSProperty(Min=1, Max=64)]
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 State.
///
/// Specifies whether the schedule is enabled or disabled.
///
///
public ScheduleState State
{
get { return this._state; }
set { this._state = value; }
}
// Check to see if State property is set
internal bool IsSetState()
{
return this._state != null;
}
///
/// Gets and sets the property Target.
///
/// The schedule's target details.
///
///
public TargetSummary Target
{
get { return this._target; }
set { this._target = value; }
}
// Check to see if Target property is set
internal bool IsSetTarget()
{
return this._target != null;
}
}
}