7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glacier/model/Encryption.h>
10#include <aws/glacier/model/CannedACL.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/glacier/model/StorageClass.h>
14#include <aws/glacier/model/Grant.h>
55 inline void SetBucketName(
const char* value) { m_bucketNameHasBeenSet =
true; m_bucketName.assign(value); }
69 inline void SetPrefix(
const char* value) { m_prefixHasBeenSet =
true; m_prefix.assign(value); }
130 inline S3Location&
AddTagging(
const char* key,
const char* value) { m_taggingHasBeenSet =
true; m_tagging.emplace(key, value);
return *
this; }
149 inline S3Location&
AddUserMetadata(
const char* key,
const char* value) { m_userMetadataHasBeenSet =
true; m_userMetadata.emplace(key, value);
return *
this; }
166 bool m_bucketNameHasBeenSet =
false;
169 bool m_prefixHasBeenSet =
false;
172 bool m_encryptionHasBeenSet =
false;
175 bool m_cannedACLHasBeenSet =
false;
178 bool m_accessControlListHasBeenSet =
false;
181 bool m_taggingHasBeenSet =
false;
184 bool m_userMetadataHasBeenSet =
false;
187 bool m_storageClassHasBeenSet =
false;
void SetPrefix(const char *value)
bool TaggingHasBeenSet() const
bool UserMetadataHasBeenSet() const
S3Location & AddUserMetadata(Aws::String &&key, const char *value)
void SetStorageClass(const StorageClass &value)
S3Location & WithBucketName(const Aws::String &value)
S3Location & WithBucketName(const char *value)
S3Location & WithEncryption(const Encryption &value)
S3Location & AddTagging(const char *key, Aws::String &&value)
AWS_GLACIER_API S3Location & operator=(Aws::Utils::Json::JsonView jsonValue)
bool EncryptionHasBeenSet() const
bool PrefixHasBeenSet() const
S3Location & WithUserMetadata(const Aws::Map< Aws::String, Aws::String > &value)
S3Location & AddTagging(Aws::String &&key, const char *value)
S3Location & AddTagging(Aws::String &&key, const Aws::String &value)
AWS_GLACIER_API S3Location()
void SetPrefix(Aws::String &&value)
S3Location & AddTagging(Aws::String &&key, Aws::String &&value)
const Aws::String & GetBucketName() const
const Aws::Vector< Grant > & GetAccessControlList() const
void SetUserMetadata(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetPrefix() const
S3Location & AddUserMetadata(const Aws::String &key, Aws::String &&value)
S3Location & WithTagging(const Aws::Map< Aws::String, Aws::String > &value)
S3Location & WithEncryption(Encryption &&value)
S3Location & WithUserMetadata(Aws::Map< Aws::String, Aws::String > &&value)
S3Location & AddTagging(const char *key, const char *value)
bool StorageClassHasBeenSet() const
void SetAccessControlList(Aws::Vector< Grant > &&value)
bool AccessControlListHasBeenSet() const
S3Location & WithStorageClass(StorageClass &&value)
void SetTagging(Aws::Map< Aws::String, Aws::String > &&value)
void SetStorageClass(StorageClass &&value)
const CannedACL & GetCannedACL() const
S3Location & WithAccessControlList(const Aws::Vector< Grant > &value)
void SetPrefix(const Aws::String &value)
void SetCannedACL(const CannedACL &value)
const StorageClass & GetStorageClass() const
bool CannedACLHasBeenSet() const
AWS_GLACIER_API S3Location(Aws::Utils::Json::JsonView jsonValue)
S3Location & AddUserMetadata(Aws::String &&key, Aws::String &&value)
S3Location & WithPrefix(const char *value)
void SetBucketName(const Aws::String &value)
void SetCannedACL(CannedACL &&value)
void SetBucketName(Aws::String &&value)
S3Location & WithAccessControlList(Aws::Vector< Grant > &&value)
S3Location & WithCannedACL(CannedACL &&value)
const Encryption & GetEncryption() const
bool BucketNameHasBeenSet() const
S3Location & AddTagging(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTagging() const
S3Location & AddUserMetadata(Aws::String &&key, const Aws::String &value)
void SetUserMetadata(Aws::Map< Aws::String, Aws::String > &&value)
S3Location & WithPrefix(const Aws::String &value)
S3Location & WithBucketName(Aws::String &&value)
S3Location & AddAccessControlList(Grant &&value)
S3Location & AddUserMetadata(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetUserMetadata() const
S3Location & WithPrefix(Aws::String &&value)
S3Location & AddAccessControlList(const Grant &value)
S3Location & WithTagging(Aws::Map< Aws::String, Aws::String > &&value)
S3Location & WithCannedACL(const CannedACL &value)
AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const
S3Location & AddUserMetadata(const char *key, const char *value)
S3Location & WithStorageClass(const StorageClass &value)
S3Location & AddUserMetadata(const char *key, Aws::String &&value)
void SetEncryption(Encryption &&value)
void SetEncryption(const Encryption &value)
void SetAccessControlList(const Aws::Vector< Grant > &value)
void SetBucketName(const char *value)
void SetTagging(const Aws::Map< Aws::String, Aws::String > &value)
S3Location & AddTagging(const Aws::String &key, Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue