/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include CreateLocationS3RequestSee Also:
AWS
* API Reference
A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3 is * used to read data from the S3 source location or write data to the S3 * destination.
*/ inline const Aws::String& GetSubdirectory() const{ return m_subdirectory; } /** *A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3 is * used to read data from the S3 source location or write data to the S3 * destination.
*/ inline bool SubdirectoryHasBeenSet() const { return m_subdirectoryHasBeenSet; } /** *A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3 is * used to read data from the S3 source location or write data to the S3 * destination.
*/ inline void SetSubdirectory(const Aws::String& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = value; } /** *A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3 is * used to read data from the S3 source location or write data to the S3 * destination.
*/ inline void SetSubdirectory(Aws::String&& value) { m_subdirectoryHasBeenSet = true; m_subdirectory = std::move(value); } /** *A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3 is * used to read data from the S3 source location or write data to the S3 * destination.
*/ inline void SetSubdirectory(const char* value) { m_subdirectoryHasBeenSet = true; m_subdirectory.assign(value); } /** *A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3 is * used to read data from the S3 source location or write data to the S3 * destination.
*/ inline CreateLocationS3Request& WithSubdirectory(const Aws::String& value) { SetSubdirectory(value); return *this;} /** *A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3 is * used to read data from the S3 source location or write data to the S3 * destination.
*/ inline CreateLocationS3Request& WithSubdirectory(Aws::String&& value) { SetSubdirectory(std::move(value)); return *this;} /** *A subdirectory in the Amazon S3 bucket. This subdirectory in Amazon S3 is * used to read data from the S3 source location or write data to the S3 * destination.
*/ inline CreateLocationS3Request& WithSubdirectory(const char* value) { SetSubdirectory(value); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon S3 bucket.
*/ inline const Aws::String& GetS3BucketArn() const{ return m_s3BucketArn; } /** *The Amazon Resource Name (ARN) of the Amazon S3 bucket.
*/ inline bool S3BucketArnHasBeenSet() const { return m_s3BucketArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the Amazon S3 bucket.
*/ inline void SetS3BucketArn(const Aws::String& value) { m_s3BucketArnHasBeenSet = true; m_s3BucketArn = value; } /** *The Amazon Resource Name (ARN) of the Amazon S3 bucket.
*/ inline void SetS3BucketArn(Aws::String&& value) { m_s3BucketArnHasBeenSet = true; m_s3BucketArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the Amazon S3 bucket.
*/ inline void SetS3BucketArn(const char* value) { m_s3BucketArnHasBeenSet = true; m_s3BucketArn.assign(value); } /** *The Amazon Resource Name (ARN) of the Amazon S3 bucket.
*/ inline CreateLocationS3Request& WithS3BucketArn(const Aws::String& value) { SetS3BucketArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon S3 bucket.
*/ inline CreateLocationS3Request& WithS3BucketArn(Aws::String&& value) { SetS3BucketArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon S3 bucket.
*/ inline CreateLocationS3Request& WithS3BucketArn(const char* value) { SetS3BucketArn(value); return *this;} /** *The Amazon S3 storage class that you want to store your files in when this * location is used as a task destination. For more information about S3 storage * classes, see Amazon S3 * Storage Classes in the Amazon Simple Storage Service Developer Guide. * Some storage classes have behaviors that can affect your S3 storage cost. For * detailed information, see using-storage-classes.
*/ inline const S3StorageClass& GetS3StorageClass() const{ return m_s3StorageClass; } /** *The Amazon S3 storage class that you want to store your files in when this * location is used as a task destination. For more information about S3 storage * classes, see Amazon S3 * Storage Classes in the Amazon Simple Storage Service Developer Guide. * Some storage classes have behaviors that can affect your S3 storage cost. For * detailed information, see using-storage-classes.
*/ inline bool S3StorageClassHasBeenSet() const { return m_s3StorageClassHasBeenSet; } /** *The Amazon S3 storage class that you want to store your files in when this * location is used as a task destination. For more information about S3 storage * classes, see Amazon S3 * Storage Classes in the Amazon Simple Storage Service Developer Guide. * Some storage classes have behaviors that can affect your S3 storage cost. For * detailed information, see using-storage-classes.
*/ inline void SetS3StorageClass(const S3StorageClass& value) { m_s3StorageClassHasBeenSet = true; m_s3StorageClass = value; } /** *The Amazon S3 storage class that you want to store your files in when this * location is used as a task destination. For more information about S3 storage * classes, see Amazon S3 * Storage Classes in the Amazon Simple Storage Service Developer Guide. * Some storage classes have behaviors that can affect your S3 storage cost. For * detailed information, see using-storage-classes.
*/ inline void SetS3StorageClass(S3StorageClass&& value) { m_s3StorageClassHasBeenSet = true; m_s3StorageClass = std::move(value); } /** *The Amazon S3 storage class that you want to store your files in when this * location is used as a task destination. For more information about S3 storage * classes, see Amazon S3 * Storage Classes in the Amazon Simple Storage Service Developer Guide. * Some storage classes have behaviors that can affect your S3 storage cost. For * detailed information, see using-storage-classes.
*/ inline CreateLocationS3Request& WithS3StorageClass(const S3StorageClass& value) { SetS3StorageClass(value); return *this;} /** *The Amazon S3 storage class that you want to store your files in when this * location is used as a task destination. For more information about S3 storage * classes, see Amazon S3 * Storage Classes in the Amazon Simple Storage Service Developer Guide. * Some storage classes have behaviors that can affect your S3 storage cost. For * detailed information, see using-storage-classes.
*/ inline CreateLocationS3Request& WithS3StorageClass(S3StorageClass&& value) { SetS3StorageClass(std::move(value)); return *this;} inline const S3Config& GetS3Config() const{ return m_s3Config; } inline bool S3ConfigHasBeenSet() const { return m_s3ConfigHasBeenSet; } inline void SetS3Config(const S3Config& value) { m_s3ConfigHasBeenSet = true; m_s3Config = value; } inline void SetS3Config(S3Config&& value) { m_s3ConfigHasBeenSet = true; m_s3Config = std::move(value); } inline CreateLocationS3Request& WithS3Config(const S3Config& value) { SetS3Config(value); return *this;} inline CreateLocationS3Request& WithS3Config(S3Config&& value) { SetS3Config(std::move(value)); return *this;} /** *The key-value pair that represents the tag that you want to add to the * location. The value can be an empty string. We recommend using tags to name your * resources.
*/ inline const Aws::VectorThe key-value pair that represents the tag that you want to add to the * location. The value can be an empty string. We recommend using tags to name your * resources.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The key-value pair that represents the tag that you want to add to the * location. The value can be an empty string. We recommend using tags to name your * resources.
*/ inline void SetTags(const Aws::VectorThe key-value pair that represents the tag that you want to add to the * location. The value can be an empty string. We recommend using tags to name your * resources.
*/ inline void SetTags(Aws::VectorThe key-value pair that represents the tag that you want to add to the * location. The value can be an empty string. We recommend using tags to name your * resources.
*/ inline CreateLocationS3Request& WithTags(const Aws::VectorThe key-value pair that represents the tag that you want to add to the * location. The value can be an empty string. We recommend using tags to name your * resources.
*/ inline CreateLocationS3Request& WithTags(Aws::VectorThe key-value pair that represents the tag that you want to add to the * location. The value can be an empty string. We recommend using tags to name your * resources.
*/ inline CreateLocationS3Request& AddTags(const TagListEntry& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *The key-value pair that represents the tag that you want to add to the * location. The value can be an empty string. We recommend using tags to name your * resources.
*/ inline CreateLocationS3Request& AddTags(TagListEntry&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_subdirectory; bool m_subdirectoryHasBeenSet; Aws::String m_s3BucketArn; bool m_s3BucketArnHasBeenSet; S3StorageClass m_s3StorageClass; bool m_s3StorageClassHasBeenSet; S3Config m_s3Config; bool m_s3ConfigHasBeenSet; Aws::Vector