/*
* 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 kinesisvideo-2017-09-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.KinesisVideo.Model
{
///
/// This is the response object from the DescribeEdgeConfiguration operation.
///
public partial class DescribeEdgeConfigurationResponse : AmazonWebServiceResponse
{
private DateTime? _creationTime;
private EdgeAgentStatus _edgeAgentStatus;
private EdgeConfig _edgeConfig;
private string _failedStatusDetails;
private DateTime? _lastUpdatedTime;
private string _streamARN;
private string _streamName;
private SyncStatus _syncStatus;
///
/// Gets and sets the property CreationTime.
///
/// The timestamp at which a stream’s edge configuration was first created.
///
///
public DateTime CreationTime
{
get { return this._creationTime.GetValueOrDefault(); }
set { this._creationTime = value; }
}
// Check to see if CreationTime property is set
internal bool IsSetCreationTime()
{
return this._creationTime.HasValue;
}
///
/// Gets and sets the property EdgeAgentStatus.
///
/// An object that contains the latest status details for an edge agent's recorder and
/// uploader jobs. Use this information to determine the current health of an edge agent.
///
///
public EdgeAgentStatus EdgeAgentStatus
{
get { return this._edgeAgentStatus; }
set { this._edgeAgentStatus = value; }
}
// Check to see if EdgeAgentStatus property is set
internal bool IsSetEdgeAgentStatus()
{
return this._edgeAgentStatus != null;
}
///
/// Gets and sets the property EdgeConfig.
///
/// A description of the stream's edge configuration that will be used to sync with the
/// Edge Agent IoT Greengrass component. The Edge Agent component will run on an IoT Hub
/// Device setup at your premise.
///
///
public EdgeConfig EdgeConfig
{
get { return this._edgeConfig; }
set { this._edgeConfig = value; }
}
// Check to see if EdgeConfig property is set
internal bool IsSetEdgeConfig()
{
return this._edgeConfig != null;
}
///
/// Gets and sets the property FailedStatusDetails.
///
/// A description of the generated failure status.
///
///
public string FailedStatusDetails
{
get { return this._failedStatusDetails; }
set { this._failedStatusDetails = value; }
}
// Check to see if FailedStatusDetails property is set
internal bool IsSetFailedStatusDetails()
{
return this._failedStatusDetails != null;
}
///
/// Gets and sets the property LastUpdatedTime.
///
/// The timestamp at which a stream’s edge configuration was last updated.
///
///
public DateTime LastUpdatedTime
{
get { return this._lastUpdatedTime.GetValueOrDefault(); }
set { this._lastUpdatedTime = value; }
}
// Check to see if LastUpdatedTime property is set
internal bool IsSetLastUpdatedTime()
{
return this._lastUpdatedTime.HasValue;
}
///
/// Gets and sets the property StreamARN.
///
/// The Amazon Resource Name (ARN) of the stream.
///
///
[AWSProperty(Min=1, Max=1024)]
public string StreamARN
{
get { return this._streamARN; }
set { this._streamARN = value; }
}
// Check to see if StreamARN property is set
internal bool IsSetStreamARN()
{
return this._streamARN != null;
}
///
/// Gets and sets the property StreamName.
///
/// The name of the stream from which the edge configuration was updated.
///
///
[AWSProperty(Min=1, Max=256)]
public string StreamName
{
get { return this._streamName; }
set { this._streamName = value; }
}
// Check to see if StreamName property is set
internal bool IsSetStreamName()
{
return this._streamName != null;
}
///
/// Gets and sets the property SyncStatus.
///
/// The latest status of the edge configuration update.
///
///
public SyncStatus SyncStatus
{
get { return this._syncStatus; }
set { this._syncStatus = value; }
}
// Check to see if SyncStatus property is set
internal bool IsSetSyncStatus()
{
return this._syncStatus != null;
}
}
}