/* * 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 s3control-2018-08-20.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.S3Control.Model { /// /// The operation that you want this job to perform on every object listed in the manifest. /// For more information about the available operations, see Operations /// in the Amazon S3 User Guide. /// public partial class JobOperation { private LambdaInvokeOperation _lambdaInvoke; private S3DeleteObjectTaggingOperation _s3DeleteObjectTagging; private S3InitiateRestoreObjectOperation _s3InitiateRestoreObject; private S3SetObjectAclOperation _s3PutObjectAcl; private S3CopyObjectOperation _s3PutObjectCopy; private S3SetObjectLegalHoldOperation _s3PutObjectLegalHold; private S3SetObjectRetentionOperation _s3PutObjectRetention; private S3SetObjectTaggingOperation _s3PutObjectTagging; private S3ReplicateObjectOperation _s3ReplicateObject; /// /// Gets and sets the property LambdaInvoke. /// /// Directs the specified job to invoke an Lambda function on every object in the manifest. /// /// public LambdaInvokeOperation LambdaInvoke { get { return this._lambdaInvoke; } set { this._lambdaInvoke = value; } } // Check to see if LambdaInvoke property is set internal bool IsSetLambdaInvoke() { return this._lambdaInvoke != null; } /// /// Gets and sets the property S3DeleteObjectTagging. /// /// Directs the specified job to execute a DELETE Object tagging call on every object /// in the manifest. /// /// public S3DeleteObjectTaggingOperation S3DeleteObjectTagging { get { return this._s3DeleteObjectTagging; } set { this._s3DeleteObjectTagging = value; } } // Check to see if S3DeleteObjectTagging property is set internal bool IsSetS3DeleteObjectTagging() { return this._s3DeleteObjectTagging != null; } /// /// Gets and sets the property S3InitiateRestoreObject. /// /// Directs the specified job to initiate restore requests for every archived object in /// the manifest. /// /// public S3InitiateRestoreObjectOperation S3InitiateRestoreObject { get { return this._s3InitiateRestoreObject; } set { this._s3InitiateRestoreObject = value; } } // Check to see if S3InitiateRestoreObject property is set internal bool IsSetS3InitiateRestoreObject() { return this._s3InitiateRestoreObject != null; } /// /// Gets and sets the property S3PutObjectAcl. /// /// Directs the specified job to run a PutObjectAcl call on every object /// in the manifest. /// /// public S3SetObjectAclOperation S3PutObjectAcl { get { return this._s3PutObjectAcl; } set { this._s3PutObjectAcl = value; } } // Check to see if S3PutObjectAcl property is set internal bool IsSetS3PutObjectAcl() { return this._s3PutObjectAcl != null; } /// /// Gets and sets the property S3PutObjectCopy. /// /// Directs the specified job to run a PUT Copy object call on every object in the manifest. /// /// public S3CopyObjectOperation S3PutObjectCopy { get { return this._s3PutObjectCopy; } set { this._s3PutObjectCopy = value; } } // Check to see if S3PutObjectCopy property is set internal bool IsSetS3PutObjectCopy() { return this._s3PutObjectCopy != null; } /// /// Gets and sets the property S3PutObjectLegalHold. /// public S3SetObjectLegalHoldOperation S3PutObjectLegalHold { get { return this._s3PutObjectLegalHold; } set { this._s3PutObjectLegalHold = value; } } // Check to see if S3PutObjectLegalHold property is set internal bool IsSetS3PutObjectLegalHold() { return this._s3PutObjectLegalHold != null; } /// /// Gets and sets the property S3PutObjectRetention. /// public S3SetObjectRetentionOperation S3PutObjectRetention { get { return this._s3PutObjectRetention; } set { this._s3PutObjectRetention = value; } } // Check to see if S3PutObjectRetention property is set internal bool IsSetS3PutObjectRetention() { return this._s3PutObjectRetention != null; } /// /// Gets and sets the property S3PutObjectTagging. /// /// Directs the specified job to run a PUT Object tagging call on every object in the /// manifest. /// /// public S3SetObjectTaggingOperation S3PutObjectTagging { get { return this._s3PutObjectTagging; } set { this._s3PutObjectTagging = value; } } // Check to see if S3PutObjectTagging property is set internal bool IsSetS3PutObjectTagging() { return this._s3PutObjectTagging != null; } /// /// Gets and sets the property S3ReplicateObject. /// /// Directs the specified job to invoke ReplicateObject on every object in /// the job's manifest. /// /// public S3ReplicateObjectOperation S3ReplicateObject { get { return this._s3ReplicateObject; } set { this._s3ReplicateObject = value; } } // Check to see if S3ReplicateObject property is set internal bool IsSetS3ReplicateObject() { return this._s3ReplicateObject != null; } } }