/* * 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 { /// /// Container for the parameters to the UpdateSourceLocation operation. /// Updates a source location. A source location is a container for sources. For more /// information about source locations, see Working /// with source locations in the MediaTailor User Guide. /// public partial class UpdateSourceLocationRequest : AmazonMediaTailorRequest { private AccessConfiguration _accessConfiguration; private DefaultSegmentDeliveryConfiguration _defaultSegmentDeliveryConfiguration; private HttpConfiguration _httpConfiguration; private List _segmentDeliveryConfigurations = new List(); private string _sourceLocationName; /// /// 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 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. /// /// [AWSProperty(Required=true)] 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 SegmentDeliveryConfigurations. /// /// A list of the segment delivery configurations associated with this resource. /// /// 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. /// /// [AWSProperty(Required=true)] 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; } } }