/* * 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 workmail-2017-10-01.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.WorkMail.Model { /// /// Container for the parameters to the StartMailboxExportJob operation. /// Starts a mailbox export job to export MIME-format email messages and calendar items /// from the specified mailbox to the specified Amazon Simple Storage Service (Amazon /// S3) bucket. For more information, see Exporting /// mailbox content in the WorkMail Administrator Guide. /// public partial class StartMailboxExportJobRequest : AmazonWorkMailRequest { private string _clientToken; private string _description; private string _entityId; private string _kmsKeyArn; private string _organizationId; private string _roleArn; private string _s3BucketName; private string _s3Prefix; /// /// Gets and sets the property ClientToken. /// /// The idempotency token for the client request. /// /// [AWSProperty(Min=1, Max=128)] public string ClientToken { get { return this._clientToken; } set { this._clientToken = value; } } // Check to see if ClientToken property is set internal bool IsSetClientToken() { return this._clientToken != null; } /// /// Gets and sets the property Description. /// /// The mailbox export job description. /// /// [AWSProperty(Min=0, Max=1023)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property EntityId. /// /// The identifier of the user or resource associated with the mailbox. /// /// [AWSProperty(Required=true, Min=12, Max=256)] public string EntityId { get { return this._entityId; } set { this._entityId = value; } } // Check to see if EntityId property is set internal bool IsSetEntityId() { return this._entityId != null; } /// /// Gets and sets the property KmsKeyArn. /// /// The Amazon Resource Name (ARN) of the symmetric AWS Key Management Service (AWS KMS) /// key that encrypts the exported mailbox content. /// /// [AWSProperty(Required=true, Min=20, Max=2048)] public string KmsKeyArn { get { return this._kmsKeyArn; } set { this._kmsKeyArn = value; } } // Check to see if KmsKeyArn property is set internal bool IsSetKmsKeyArn() { return this._kmsKeyArn != null; } /// /// Gets and sets the property OrganizationId. /// /// The identifier associated with the organization. /// /// [AWSProperty(Required=true, Min=34, Max=34)] public string OrganizationId { get { return this._organizationId; } set { this._organizationId = value; } } // Check to see if OrganizationId property is set internal bool IsSetOrganizationId() { return this._organizationId != null; } /// /// Gets and sets the property RoleArn. /// /// The ARN of the AWS Identity and Access Management (IAM) role that grants write permission /// to the S3 bucket. /// /// [AWSProperty(Required=true, Min=20, Max=2048)] public string RoleArn { get { return this._roleArn; } set { this._roleArn = value; } } // Check to see if RoleArn property is set internal bool IsSetRoleArn() { return this._roleArn != null; } /// /// Gets and sets the property S3BucketName. /// /// The name of the S3 bucket. /// /// [AWSProperty(Required=true, Min=1, Max=63)] public string S3BucketName { get { return this._s3BucketName; } set { this._s3BucketName = value; } } // Check to see if S3BucketName property is set internal bool IsSetS3BucketName() { return this._s3BucketName != null; } /// /// Gets and sets the property S3Prefix. /// /// The S3 bucket prefix. /// /// [AWSProperty(Required=true, Min=1, Max=1023)] public string S3Prefix { get { return this._s3Prefix; } set { this._s3Prefix = value; } } // Check to see if S3Prefix property is set internal bool IsSetS3Prefix() { return this._s3Prefix != null; } } }