/* * 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 models.lex.v2-2020-08-07.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.LexModelsV2.Model { /// /// Container for the parameters to the UpdateExport operation. /// Updates the password used to protect an export zip archive. /// /// /// /// The password is not required. If you don't supply a password, Amazon Lex generates /// a zip file that is not protected by a password. This is the archive that is available /// at the pre-signed S3 URL provided by the DescribeExport /// operation. /// /// public partial class UpdateExportRequest : AmazonLexModelsV2Request { private string _exportId; private string _filePassword; /// /// Gets and sets the property ExportId. /// /// The unique identifier Amazon Lex assigned to the export. /// /// [AWSProperty(Required=true, Min=10, Max=10)] public string ExportId { get { return this._exportId; } set { this._exportId = value; } } // Check to see if ExportId property is set internal bool IsSetExportId() { return this._exportId != null; } /// /// Gets and sets the property FilePassword. /// /// The new password to use to encrypt the export zip archive. /// /// [AWSProperty(Sensitive=true, Min=1, Max=1024)] public string FilePassword { get { return this._filePassword; } set { this._filePassword = value; } } // Check to see if FilePassword property is set internal bool IsSetFilePassword() { return this._filePassword != null; } } }