/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The operation that you want this job to perform on each object listed in the
* manifest. For more information about the available operations, see Available
* Operations in the Amazon Simple Storage Service Developer
* Guide.See Also:
AWS
* API Reference
Directs the specified job to invoke an AWS Lambda function on each object in * the manifest.
*/ inline const LambdaInvokeOperation& GetLambdaInvoke() const{ return m_lambdaInvoke; } /** *Directs the specified job to invoke an AWS Lambda function on each object in * the manifest.
*/ inline bool LambdaInvokeHasBeenSet() const { return m_lambdaInvokeHasBeenSet; } /** *Directs the specified job to invoke an AWS Lambda function on each object in * the manifest.
*/ inline void SetLambdaInvoke(const LambdaInvokeOperation& value) { m_lambdaInvokeHasBeenSet = true; m_lambdaInvoke = value; } /** *Directs the specified job to invoke an AWS Lambda function on each object in * the manifest.
*/ inline void SetLambdaInvoke(LambdaInvokeOperation&& value) { m_lambdaInvokeHasBeenSet = true; m_lambdaInvoke = std::move(value); } /** *Directs the specified job to invoke an AWS Lambda function on each object in * the manifest.
*/ inline JobOperation& WithLambdaInvoke(const LambdaInvokeOperation& value) { SetLambdaInvoke(value); return *this;} /** *Directs the specified job to invoke an AWS Lambda function on each object in * the manifest.
*/ inline JobOperation& WithLambdaInvoke(LambdaInvokeOperation&& value) { SetLambdaInvoke(std::move(value)); return *this;} /** *Directs the specified job to execute a PUT Copy object call on each object in * the manifest.
*/ inline const S3CopyObjectOperation& GetS3PutObjectCopy() const{ return m_s3PutObjectCopy; } /** *Directs the specified job to execute a PUT Copy object call on each object in * the manifest.
*/ inline bool S3PutObjectCopyHasBeenSet() const { return m_s3PutObjectCopyHasBeenSet; } /** *Directs the specified job to execute a PUT Copy object call on each object in * the manifest.
*/ inline void SetS3PutObjectCopy(const S3CopyObjectOperation& value) { m_s3PutObjectCopyHasBeenSet = true; m_s3PutObjectCopy = value; } /** *Directs the specified job to execute a PUT Copy object call on each object in * the manifest.
*/ inline void SetS3PutObjectCopy(S3CopyObjectOperation&& value) { m_s3PutObjectCopyHasBeenSet = true; m_s3PutObjectCopy = std::move(value); } /** *Directs the specified job to execute a PUT Copy object call on each object in * the manifest.
*/ inline JobOperation& WithS3PutObjectCopy(const S3CopyObjectOperation& value) { SetS3PutObjectCopy(value); return *this;} /** *Directs the specified job to execute a PUT Copy object call on each object in * the manifest.
*/ inline JobOperation& WithS3PutObjectCopy(S3CopyObjectOperation&& value) { SetS3PutObjectCopy(std::move(value)); return *this;} /** *Directs the specified job to execute a PUT Object acl call on each object in * the manifest.
*/ inline const S3SetObjectAclOperation& GetS3PutObjectAcl() const{ return m_s3PutObjectAcl; } /** *Directs the specified job to execute a PUT Object acl call on each object in * the manifest.
*/ inline bool S3PutObjectAclHasBeenSet() const { return m_s3PutObjectAclHasBeenSet; } /** *Directs the specified job to execute a PUT Object acl call on each object in * the manifest.
*/ inline void SetS3PutObjectAcl(const S3SetObjectAclOperation& value) { m_s3PutObjectAclHasBeenSet = true; m_s3PutObjectAcl = value; } /** *Directs the specified job to execute a PUT Object acl call on each object in * the manifest.
*/ inline void SetS3PutObjectAcl(S3SetObjectAclOperation&& value) { m_s3PutObjectAclHasBeenSet = true; m_s3PutObjectAcl = std::move(value); } /** *Directs the specified job to execute a PUT Object acl call on each object in * the manifest.
*/ inline JobOperation& WithS3PutObjectAcl(const S3SetObjectAclOperation& value) { SetS3PutObjectAcl(value); return *this;} /** *Directs the specified job to execute a PUT Object acl call on each object in * the manifest.
*/ inline JobOperation& WithS3PutObjectAcl(S3SetObjectAclOperation&& value) { SetS3PutObjectAcl(std::move(value)); return *this;} /** *Directs the specified job to execute a PUT Object tagging call on each object * in the manifest.
*/ inline const S3SetObjectTaggingOperation& GetS3PutObjectTagging() const{ return m_s3PutObjectTagging; } /** *Directs the specified job to execute a PUT Object tagging call on each object * in the manifest.
*/ inline bool S3PutObjectTaggingHasBeenSet() const { return m_s3PutObjectTaggingHasBeenSet; } /** *Directs the specified job to execute a PUT Object tagging call on each object * in the manifest.
*/ inline void SetS3PutObjectTagging(const S3SetObjectTaggingOperation& value) { m_s3PutObjectTaggingHasBeenSet = true; m_s3PutObjectTagging = value; } /** *Directs the specified job to execute a PUT Object tagging call on each object * in the manifest.
*/ inline void SetS3PutObjectTagging(S3SetObjectTaggingOperation&& value) { m_s3PutObjectTaggingHasBeenSet = true; m_s3PutObjectTagging = std::move(value); } /** *Directs the specified job to execute a PUT Object tagging call on each object * in the manifest.
*/ inline JobOperation& WithS3PutObjectTagging(const S3SetObjectTaggingOperation& value) { SetS3PutObjectTagging(value); return *this;} /** *Directs the specified job to execute a PUT Object tagging call on each object * in the manifest.
*/ inline JobOperation& WithS3PutObjectTagging(S3SetObjectTaggingOperation&& value) { SetS3PutObjectTagging(std::move(value)); return *this;} /** *Directs the specified job to execute an Initiate Glacier Restore call on each * object in the manifest.
*/ inline const S3InitiateRestoreObjectOperation& GetS3InitiateRestoreObject() const{ return m_s3InitiateRestoreObject; } /** *Directs the specified job to execute an Initiate Glacier Restore call on each * object in the manifest.
*/ inline bool S3InitiateRestoreObjectHasBeenSet() const { return m_s3InitiateRestoreObjectHasBeenSet; } /** *Directs the specified job to execute an Initiate Glacier Restore call on each * object in the manifest.
*/ inline void SetS3InitiateRestoreObject(const S3InitiateRestoreObjectOperation& value) { m_s3InitiateRestoreObjectHasBeenSet = true; m_s3InitiateRestoreObject = value; } /** *Directs the specified job to execute an Initiate Glacier Restore call on each * object in the manifest.
*/ inline void SetS3InitiateRestoreObject(S3InitiateRestoreObjectOperation&& value) { m_s3InitiateRestoreObjectHasBeenSet = true; m_s3InitiateRestoreObject = std::move(value); } /** *Directs the specified job to execute an Initiate Glacier Restore call on each * object in the manifest.
*/ inline JobOperation& WithS3InitiateRestoreObject(const S3InitiateRestoreObjectOperation& value) { SetS3InitiateRestoreObject(value); return *this;} /** *Directs the specified job to execute an Initiate Glacier Restore call on each * object in the manifest.
*/ inline JobOperation& WithS3InitiateRestoreObject(S3InitiateRestoreObjectOperation&& value) { SetS3InitiateRestoreObject(std::move(value)); return *this;} inline const S3SetObjectLegalHoldOperation& GetS3PutObjectLegalHold() const{ return m_s3PutObjectLegalHold; } inline bool S3PutObjectLegalHoldHasBeenSet() const { return m_s3PutObjectLegalHoldHasBeenSet; } inline void SetS3PutObjectLegalHold(const S3SetObjectLegalHoldOperation& value) { m_s3PutObjectLegalHoldHasBeenSet = true; m_s3PutObjectLegalHold = value; } inline void SetS3PutObjectLegalHold(S3SetObjectLegalHoldOperation&& value) { m_s3PutObjectLegalHoldHasBeenSet = true; m_s3PutObjectLegalHold = std::move(value); } inline JobOperation& WithS3PutObjectLegalHold(const S3SetObjectLegalHoldOperation& value) { SetS3PutObjectLegalHold(value); return *this;} inline JobOperation& WithS3PutObjectLegalHold(S3SetObjectLegalHoldOperation&& value) { SetS3PutObjectLegalHold(std::move(value)); return *this;} inline const S3SetObjectRetentionOperation& GetS3PutObjectRetention() const{ return m_s3PutObjectRetention; } inline bool S3PutObjectRetentionHasBeenSet() const { return m_s3PutObjectRetentionHasBeenSet; } inline void SetS3PutObjectRetention(const S3SetObjectRetentionOperation& value) { m_s3PutObjectRetentionHasBeenSet = true; m_s3PutObjectRetention = value; } inline void SetS3PutObjectRetention(S3SetObjectRetentionOperation&& value) { m_s3PutObjectRetentionHasBeenSet = true; m_s3PutObjectRetention = std::move(value); } inline JobOperation& WithS3PutObjectRetention(const S3SetObjectRetentionOperation& value) { SetS3PutObjectRetention(value); return *this;} inline JobOperation& WithS3PutObjectRetention(S3SetObjectRetentionOperation&& value) { SetS3PutObjectRetention(std::move(value)); return *this;} private: LambdaInvokeOperation m_lambdaInvoke; bool m_lambdaInvokeHasBeenSet; S3CopyObjectOperation m_s3PutObjectCopy; bool m_s3PutObjectCopyHasBeenSet; S3SetObjectAclOperation m_s3PutObjectAcl; bool m_s3PutObjectAclHasBeenSet; S3SetObjectTaggingOperation m_s3PutObjectTagging; bool m_s3PutObjectTaggingHasBeenSet; S3InitiateRestoreObjectOperation m_s3InitiateRestoreObject; bool m_s3InitiateRestoreObjectHasBeenSet; S3SetObjectLegalHoldOperation m_s3PutObjectLegalHold; bool m_s3PutObjectLegalHoldHasBeenSet; S3SetObjectRetentionOperation m_s3PutObjectRetention; bool m_s3PutObjectRetentionHasBeenSet; }; } // namespace Model } // namespace S3Control } // namespace Aws