/*
* 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 mediatailor-2018-04-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.MediaTailor.Model
{
///
/// This is the response object from the UpdateSourceLocation operation.
///
public partial class UpdateSourceLocationResponse : AmazonWebServiceResponse
{
private AccessConfiguration _accessConfiguration;
private string _arn;
private DateTime? _creationTime;
private DefaultSegmentDeliveryConfiguration _defaultSegmentDeliveryConfiguration;
private HttpConfiguration _httpConfiguration;
private DateTime? _lastModifiedTime;
private List _segmentDeliveryConfigurations = new List();
private string _sourceLocationName;
private Dictionary _tags = new Dictionary();
///
/// Gets and sets the property AccessConfiguration.
///
/// Access configuration parameters. Configures the type of authentication used to access
/// content from your source location.
///
///
public AccessConfiguration AccessConfiguration
{
get { return this._accessConfiguration; }
set { this._accessConfiguration = value; }
}
// Check to see if AccessConfiguration property is set
internal bool IsSetAccessConfiguration()
{
return this._accessConfiguration != null;
}
///
/// Gets and sets the property Arn.
///
/// The Amazon Resource Name (ARN) associated with the source location.
///
///
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 CreationTime.
///
/// The timestamp that indicates when the source location was 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 DefaultSegmentDeliveryConfiguration.
///
/// The optional configuration for the host server that serves segments.
///
///
public DefaultSegmentDeliveryConfiguration DefaultSegmentDeliveryConfiguration
{
get { return this._defaultSegmentDeliveryConfiguration; }
set { this._defaultSegmentDeliveryConfiguration = value; }
}
// Check to see if DefaultSegmentDeliveryConfiguration property is set
internal bool IsSetDefaultSegmentDeliveryConfiguration()
{
return this._defaultSegmentDeliveryConfiguration != null;
}
///
/// Gets and sets the property HttpConfiguration.
///
/// The HTTP configuration for the source location.
///
///
public HttpConfiguration HttpConfiguration
{
get { return this._httpConfiguration; }
set { this._httpConfiguration = value; }
}
// Check to see if HttpConfiguration property is set
internal bool IsSetHttpConfiguration()
{
return this._httpConfiguration != null;
}
///
/// Gets and sets the property LastModifiedTime.
///
/// The timestamp that indicates when the source location was last modified.
///
///
public DateTime LastModifiedTime
{
get { return this._lastModifiedTime.GetValueOrDefault(); }
set { this._lastModifiedTime = value; }
}
// Check to see if LastModifiedTime property is set
internal bool IsSetLastModifiedTime()
{
return this._lastModifiedTime.HasValue;
}
///
/// Gets and sets the property SegmentDeliveryConfigurations.
///
/// The segment delivery configurations for the source location. For information about
/// MediaTailor configurations, see Working
/// with configurations in AWS Elemental MediaTailor.
///
///
public List SegmentDeliveryConfigurations
{
get { return this._segmentDeliveryConfigurations; }
set { this._segmentDeliveryConfigurations = value; }
}
// Check to see if SegmentDeliveryConfigurations property is set
internal bool IsSetSegmentDeliveryConfigurations()
{
return this._segmentDeliveryConfigurations != null && this._segmentDeliveryConfigurations.Count > 0;
}
///
/// Gets and sets the property SourceLocationName.
///
/// The name of the source location.
///
///
public string SourceLocationName
{
get { return this._sourceLocationName; }
set { this._sourceLocationName = value; }
}
// Check to see if SourceLocationName property is set
internal bool IsSetSourceLocationName()
{
return this._sourceLocationName != null;
}
///
/// Gets and sets the property Tags.
///
/// The tags to assign to the source location. Tags are key-value pairs that you can associate
/// with Amazon resources to help with organization, access control, and cost tracking.
/// For more information, see Tagging
/// AWS Elemental MediaTailor Resources.
///
///
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;
}
}
}