7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3-crt/model/Encryption.h>
10#include <aws/s3-crt/model/ObjectCannedACL.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/s3-crt/model/Tagging.h>
13#include <aws/s3-crt/model/StorageClass.h>
14#include <aws/s3-crt/model/Grant.h>
15#include <aws/s3-crt/model/MetadataEntry.h>
56 inline void SetBucketName(
const char* value) { m_bucketNameHasBeenSet =
true; m_bucketName.assign(value); }
70 inline void SetPrefix(
const char* value) { m_prefixHasBeenSet =
true; m_prefix.assign(value); }
119 inline void SetTagging(
Tagging&& value) { m_taggingHasBeenSet =
true; m_tagging = std::move(value); }
152 bool m_bucketNameHasBeenSet =
false;
155 bool m_prefixHasBeenSet =
false;
158 bool m_encryptionHasBeenSet =
false;
161 bool m_cannedACLHasBeenSet =
false;
164 bool m_accessControlListHasBeenSet =
false;
167 bool m_taggingHasBeenSet =
false;
170 bool m_userMetadataHasBeenSet =
false;
173 bool m_storageClassHasBeenSet =
false;
S3Location & WithCannedACL(const ObjectCannedACL &value)
void SetUserMetadata(const Aws::Vector< MetadataEntry > &value)
void SetStorageClass(const StorageClass &value)
const Aws::Vector< MetadataEntry > & GetUserMetadata() const
const Aws::String & GetBucketName() const
S3Location & WithPrefix(const Aws::String &value)
bool BucketNameHasBeenSet() const
void SetPrefix(const Aws::String &value)
const ObjectCannedACL & GetCannedACL() const
AWS_S3CRT_API S3Location & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool StorageClassHasBeenSet() const
const Encryption & GetEncryption() const
S3Location & WithUserMetadata(Aws::Vector< MetadataEntry > &&value)
void SetBucketName(const char *value)
AWS_S3CRT_API S3Location(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CRT_API S3Location()
void SetPrefix(const char *value)
S3Location & WithStorageClass(StorageClass &&value)
const StorageClass & GetStorageClass() const
S3Location & WithEncryption(Encryption &&value)
void SetBucketName(const Aws::String &value)
void SetAccessControlList(Aws::Vector< Grant > &&value)
S3Location & WithTagging(const Tagging &value)
bool PrefixHasBeenSet() const
void SetAccessControlList(const Aws::Vector< Grant > &value)
S3Location & WithCannedACL(ObjectCannedACL &&value)
void SetTagging(const Tagging &value)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
S3Location & AddUserMetadata(const MetadataEntry &value)
void SetEncryption(Encryption &&value)
void SetUserMetadata(Aws::Vector< MetadataEntry > &&value)
S3Location & WithPrefix(Aws::String &&value)
const Tagging & GetTagging() const
const Aws::String & GetPrefix() const
bool TaggingHasBeenSet() const
S3Location & AddAccessControlList(const Grant &value)
void SetPrefix(Aws::String &&value)
S3Location & WithUserMetadata(const Aws::Vector< MetadataEntry > &value)
S3Location & WithBucketName(const Aws::String &value)
S3Location & AddAccessControlList(Grant &&value)
S3Location & WithBucketName(Aws::String &&value)
void SetCannedACL(const ObjectCannedACL &value)
S3Location & WithTagging(Tagging &&value)
S3Location & AddUserMetadata(MetadataEntry &&value)
void SetStorageClass(StorageClass &&value)
S3Location & WithStorageClass(const StorageClass &value)
bool AccessControlListHasBeenSet() const
bool CannedACLHasBeenSet() const
S3Location & WithBucketName(const char *value)
S3Location & WithAccessControlList(Aws::Vector< Grant > &&value)
void SetEncryption(const Encryption &value)
void SetBucketName(Aws::String &&value)
void SetCannedACL(ObjectCannedACL &&value)
const Aws::Vector< Grant > & GetAccessControlList() const
void SetTagging(Tagging &&value)
S3Location & WithAccessControlList(const Aws::Vector< Grant > &value)
S3Location & WithPrefix(const char *value)
bool EncryptionHasBeenSet() const
bool UserMetadataHasBeenSet() const
S3Location & WithEncryption(const Encryption &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector