/* * 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 wisdom-2020-10-19.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.ConnectWisdomService.Model { /// /// This is the response object from the StartContentUpload operation. /// public partial class StartContentUploadResponse : AmazonWebServiceResponse { private Dictionary _headersToInclude = new Dictionary(); private string _uploadId; private string _url; private DateTime? _urlExpiry; /// /// Gets and sets the property HeadersToInclude. /// /// The headers to include in the upload. /// /// [AWSProperty(Required=true)] public Dictionary HeadersToInclude { get { return this._headersToInclude; } set { this._headersToInclude = value; } } // Check to see if HeadersToInclude property is set internal bool IsSetHeadersToInclude() { return this._headersToInclude != null && this._headersToInclude.Count > 0; } /// /// Gets and sets the property UploadId. /// /// The identifier of the upload. /// /// [AWSProperty(Required=true, Min=1, Max=1200)] public string UploadId { get { return this._uploadId; } set { this._uploadId = value; } } // Check to see if UploadId property is set internal bool IsSetUploadId() { return this._uploadId != null; } /// /// Gets and sets the property Url. /// /// The URL of the upload. /// /// [AWSProperty(Required=true, Sensitive=true, Min=1, Max=4096)] public string Url { get { return this._url; } set { this._url = value; } } // Check to see if Url property is set internal bool IsSetUrl() { return this._url != null; } /// /// Gets and sets the property UrlExpiry. /// /// The expiration time of the URL as an epoch timestamp. /// /// [AWSProperty(Required=true)] public DateTime UrlExpiry { get { return this._urlExpiry.GetValueOrDefault(); } set { this._urlExpiry = value; } } // Check to see if UrlExpiry property is set internal bool IsSetUrlExpiry() { return this._urlExpiry.HasValue; } } }