7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3/model/Encryption.h>
10#include <aws/s3/model/ObjectCannedACL.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/s3/model/Tagging.h>
13#include <aws/s3/model/StorageClass.h>
14#include <aws/s3/model/Grant.h>
15#include <aws/s3/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;
const StorageClass & GetStorageClass() const
void SetCannedACL(ObjectCannedACL &&value)
S3Location & AddUserMetadata(const MetadataEntry &value)
S3Location & WithUserMetadata(Aws::Vector< MetadataEntry > &&value)
bool PrefixHasBeenSet() const
S3Location & WithBucketName(const char *value)
void SetAccessControlList(const Aws::Vector< Grant > &value)
bool TaggingHasBeenSet() const
void SetUserMetadata(const Aws::Vector< MetadataEntry > &value)
S3Location & AddAccessControlList(Grant &&value)
AWS_S3_API S3Location(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetBucketName(Aws::String &&value)
void SetBucketName(const char *value)
S3Location & WithEncryption(const Encryption &value)
bool AccessControlListHasBeenSet() const
const Aws::String & GetPrefix() const
S3Location & AddUserMetadata(MetadataEntry &&value)
void SetStorageClass(const StorageClass &value)
S3Location & WithPrefix(const Aws::String &value)
S3Location & WithAccessControlList(const Aws::Vector< Grant > &value)
void SetPrefix(const Aws::String &value)
const ObjectCannedACL & GetCannedACL() const
void SetTagging(const Tagging &value)
AWS_S3_API S3Location & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const Aws::Vector< Grant > & GetAccessControlList() const
const Aws::String & GetBucketName() const
bool EncryptionHasBeenSet() const
S3Location & WithCannedACL(ObjectCannedACL &&value)
bool CannedACLHasBeenSet() const
S3Location & WithUserMetadata(const Aws::Vector< MetadataEntry > &value)
bool BucketNameHasBeenSet() const
bool StorageClassHasBeenSet() const
S3Location & WithAccessControlList(Aws::Vector< Grant > &&value)
void SetEncryption(const Encryption &value)
S3Location & WithTagging(const Tagging &value)
S3Location & WithTagging(Tagging &&value)
S3Location & WithEncryption(Encryption &&value)
void SetEncryption(Encryption &&value)
void SetPrefix(Aws::String &&value)
const Tagging & GetTagging() const
void SetBucketName(const Aws::String &value)
void SetStorageClass(StorageClass &&value)
S3Location & WithBucketName(Aws::String &&value)
S3Location & AddAccessControlList(const Grant &value)
const Aws::Vector< MetadataEntry > & GetUserMetadata() const
S3Location & WithStorageClass(StorageClass &&value)
const Encryption & GetEncryption() const
void SetCannedACL(const ObjectCannedACL &value)
void SetUserMetadata(Aws::Vector< MetadataEntry > &&value)
S3Location & WithPrefix(Aws::String &&value)
S3Location & WithBucketName(const Aws::String &value)
void SetAccessControlList(Aws::Vector< Grant > &&value)
bool UserMetadataHasBeenSet() const
void SetTagging(Tagging &&value)
S3Location & WithCannedACL(const ObjectCannedACL &value)
S3Location & WithPrefix(const char *value)
S3Location & WithStorageClass(const StorageClass &value)
void SetPrefix(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector