/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the location in Amazon S3 where the select job
* results are stored.See Also:
AWS
* API Reference
The name of the Amazon S3 bucket where the job results are stored.
*/ inline const Aws::String& GetBucketName() const{ return m_bucketName; } /** *The name of the Amazon S3 bucket where the job results are stored.
*/ inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; } /** *The name of the Amazon S3 bucket where the job results are stored.
*/ inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; } /** *The name of the Amazon S3 bucket where the job results are stored.
*/ inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); } /** *The name of the Amazon S3 bucket where the job results are stored.
*/ inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); } /** *The name of the Amazon S3 bucket where the job results are stored.
*/ inline S3Location& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;} /** *The name of the Amazon S3 bucket where the job results are stored.
*/ inline S3Location& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;} /** *The name of the Amazon S3 bucket where the job results are stored.
*/ inline S3Location& WithBucketName(const char* value) { SetBucketName(value); return *this;} /** *The prefix that is prepended to the results for this request.
*/ inline const Aws::String& GetPrefix() const{ return m_prefix; } /** *The prefix that is prepended to the results for this request.
*/ inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } /** *The prefix that is prepended to the results for this request.
*/ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** *The prefix that is prepended to the results for this request.
*/ inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } /** *The prefix that is prepended to the results for this request.
*/ inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); } /** *The prefix that is prepended to the results for this request.
*/ inline S3Location& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} /** *The prefix that is prepended to the results for this request.
*/ inline S3Location& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} /** *The prefix that is prepended to the results for this request.
*/ inline S3Location& WithPrefix(const char* value) { SetPrefix(value); return *this;} /** *Contains information about the encryption used to store the job results in * Amazon S3.
*/ inline const Encryption& GetEncryption() const{ return m_encryption; } /** *Contains information about the encryption used to store the job results in * Amazon S3.
*/ inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; } /** *Contains information about the encryption used to store the job results in * Amazon S3.
*/ inline void SetEncryption(const Encryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; } /** *Contains information about the encryption used to store the job results in * Amazon S3.
*/ inline void SetEncryption(Encryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); } /** *Contains information about the encryption used to store the job results in * Amazon S3.
*/ inline S3Location& WithEncryption(const Encryption& value) { SetEncryption(value); return *this;} /** *Contains information about the encryption used to store the job results in * Amazon S3.
*/ inline S3Location& WithEncryption(Encryption&& value) { SetEncryption(std::move(value)); return *this;} /** *The canned access control list (ACL) to apply to the job results.
*/ inline const CannedACL& GetCannedACL() const{ return m_cannedACL; } /** *The canned access control list (ACL) to apply to the job results.
*/ inline bool CannedACLHasBeenSet() const { return m_cannedACLHasBeenSet; } /** *The canned access control list (ACL) to apply to the job results.
*/ inline void SetCannedACL(const CannedACL& value) { m_cannedACLHasBeenSet = true; m_cannedACL = value; } /** *The canned access control list (ACL) to apply to the job results.
*/ inline void SetCannedACL(CannedACL&& value) { m_cannedACLHasBeenSet = true; m_cannedACL = std::move(value); } /** *The canned access control list (ACL) to apply to the job results.
*/ inline S3Location& WithCannedACL(const CannedACL& value) { SetCannedACL(value); return *this;} /** *The canned access control list (ACL) to apply to the job results.
*/ inline S3Location& WithCannedACL(CannedACL&& value) { SetCannedACL(std::move(value)); return *this;} /** *A list of grants that control access to the staged results.
*/ inline const Aws::VectorA list of grants that control access to the staged results.
*/ inline bool AccessControlListHasBeenSet() const { return m_accessControlListHasBeenSet; } /** *A list of grants that control access to the staged results.
*/ inline void SetAccessControlList(const Aws::VectorA list of grants that control access to the staged results.
*/ inline void SetAccessControlList(Aws::VectorA list of grants that control access to the staged results.
*/ inline S3Location& WithAccessControlList(const Aws::VectorA list of grants that control access to the staged results.
*/ inline S3Location& WithAccessControlList(Aws::VectorA list of grants that control access to the staged results.
*/ inline S3Location& AddAccessControlList(const Grant& value) { m_accessControlListHasBeenSet = true; m_accessControlList.push_back(value); return *this; } /** *A list of grants that control access to the staged results.
*/ inline S3Location& AddAccessControlList(Grant&& value) { m_accessControlListHasBeenSet = true; m_accessControlList.push_back(std::move(value)); return *this; } /** *The tag-set that is applied to the job results.
*/ inline const Aws::MapThe tag-set that is applied to the job results.
*/ inline bool TaggingHasBeenSet() const { return m_taggingHasBeenSet; } /** *The tag-set that is applied to the job results.
*/ inline void SetTagging(const Aws::MapThe tag-set that is applied to the job results.
*/ inline void SetTagging(Aws::MapThe tag-set that is applied to the job results.
*/ inline S3Location& WithTagging(const Aws::MapThe tag-set that is applied to the job results.
*/ inline S3Location& WithTagging(Aws::MapThe tag-set that is applied to the job results.
*/ inline S3Location& AddTagging(const Aws::String& key, const Aws::String& value) { m_taggingHasBeenSet = true; m_tagging.emplace(key, value); return *this; } /** *The tag-set that is applied to the job results.
*/ inline S3Location& AddTagging(Aws::String&& key, const Aws::String& value) { m_taggingHasBeenSet = true; m_tagging.emplace(std::move(key), value); return *this; } /** *The tag-set that is applied to the job results.
*/ inline S3Location& AddTagging(const Aws::String& key, Aws::String&& value) { m_taggingHasBeenSet = true; m_tagging.emplace(key, std::move(value)); return *this; } /** *The tag-set that is applied to the job results.
*/ inline S3Location& AddTagging(Aws::String&& key, Aws::String&& value) { m_taggingHasBeenSet = true; m_tagging.emplace(std::move(key), std::move(value)); return *this; } /** *The tag-set that is applied to the job results.
*/ inline S3Location& AddTagging(const char* key, Aws::String&& value) { m_taggingHasBeenSet = true; m_tagging.emplace(key, std::move(value)); return *this; } /** *The tag-set that is applied to the job results.
*/ inline S3Location& AddTagging(Aws::String&& key, const char* value) { m_taggingHasBeenSet = true; m_tagging.emplace(std::move(key), value); return *this; } /** *The tag-set that is applied to the job results.
*/ inline S3Location& AddTagging(const char* key, const char* value) { m_taggingHasBeenSet = true; m_tagging.emplace(key, value); return *this; } /** *A map of metadata to store with the job results in Amazon S3.
*/ inline const Aws::MapA map of metadata to store with the job results in Amazon S3.
*/ inline bool UserMetadataHasBeenSet() const { return m_userMetadataHasBeenSet; } /** *A map of metadata to store with the job results in Amazon S3.
*/ inline void SetUserMetadata(const Aws::MapA map of metadata to store with the job results in Amazon S3.
*/ inline void SetUserMetadata(Aws::MapA map of metadata to store with the job results in Amazon S3.
*/ inline S3Location& WithUserMetadata(const Aws::MapA map of metadata to store with the job results in Amazon S3.
*/ inline S3Location& WithUserMetadata(Aws::MapA map of metadata to store with the job results in Amazon S3.
*/ inline S3Location& AddUserMetadata(const Aws::String& key, const Aws::String& value) { m_userMetadataHasBeenSet = true; m_userMetadata.emplace(key, value); return *this; } /** *A map of metadata to store with the job results in Amazon S3.
*/ inline S3Location& AddUserMetadata(Aws::String&& key, const Aws::String& value) { m_userMetadataHasBeenSet = true; m_userMetadata.emplace(std::move(key), value); return *this; } /** *A map of metadata to store with the job results in Amazon S3.
*/ inline S3Location& AddUserMetadata(const Aws::String& key, Aws::String&& value) { m_userMetadataHasBeenSet = true; m_userMetadata.emplace(key, std::move(value)); return *this; } /** *A map of metadata to store with the job results in Amazon S3.
*/ inline S3Location& AddUserMetadata(Aws::String&& key, Aws::String&& value) { m_userMetadataHasBeenSet = true; m_userMetadata.emplace(std::move(key), std::move(value)); return *this; } /** *A map of metadata to store with the job results in Amazon S3.
*/ inline S3Location& AddUserMetadata(const char* key, Aws::String&& value) { m_userMetadataHasBeenSet = true; m_userMetadata.emplace(key, std::move(value)); return *this; } /** *A map of metadata to store with the job results in Amazon S3.
*/ inline S3Location& AddUserMetadata(Aws::String&& key, const char* value) { m_userMetadataHasBeenSet = true; m_userMetadata.emplace(std::move(key), value); return *this; } /** *A map of metadata to store with the job results in Amazon S3.
*/ inline S3Location& AddUserMetadata(const char* key, const char* value) { m_userMetadataHasBeenSet = true; m_userMetadata.emplace(key, value); return *this; } /** *The storage class used to store the job results.
*/ inline const StorageClass& GetStorageClass() const{ return m_storageClass; } /** *The storage class used to store the job results.
*/ inline bool StorageClassHasBeenSet() const { return m_storageClassHasBeenSet; } /** *The storage class used to store the job results.
*/ inline void SetStorageClass(const StorageClass& value) { m_storageClassHasBeenSet = true; m_storageClass = value; } /** *The storage class used to store the job results.
*/ inline void SetStorageClass(StorageClass&& value) { m_storageClassHasBeenSet = true; m_storageClass = std::move(value); } /** *The storage class used to store the job results.
*/ inline S3Location& WithStorageClass(const StorageClass& value) { SetStorageClass(value); return *this;} /** *The storage class used to store the job results.
*/ inline S3Location& WithStorageClass(StorageClass&& value) { SetStorageClass(std::move(value)); return *this;} private: Aws::String m_bucketName; bool m_bucketNameHasBeenSet = false; Aws::String m_prefix; bool m_prefixHasBeenSet = false; Encryption m_encryption; bool m_encryptionHasBeenSet = false; CannedACL m_cannedACL; bool m_cannedACLHasBeenSet = false; Aws::Vector