7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/s3/model/TargetObjectKeyFormat.h>
11#include <aws/s3/model/TargetGrant.h>
60 inline void SetTargetBucket(
const char* value) { m_targetBucketHasBeenSet =
true; m_targetBucket.assign(value); }
94 inline void SetTargetPrefix(
const char* value) { m_targetPrefixHasBeenSet =
true; m_targetPrefix.assign(value); }
114 bool m_targetBucketHasBeenSet =
false;
117 bool m_targetGrantsHasBeenSet =
false;
120 bool m_targetPrefixHasBeenSet =
false;
123 bool m_targetObjectKeyFormatHasBeenSet =
false;
void SetTargetGrants(Aws::Vector< TargetGrant > &&value)
void SetTargetBucket(Aws::String &&value)
void SetTargetPrefix(Aws::String &&value)
void SetTargetObjectKeyFormat(TargetObjectKeyFormat &&value)
LoggingEnabled & WithTargetPrefix(Aws::String &&value)
bool TargetPrefixHasBeenSet() const
LoggingEnabled & WithTargetBucket(const Aws::String &value)
const Aws::String & GetTargetBucket() const
AWS_S3_API LoggingEnabled()
AWS_S3_API LoggingEnabled(const Aws::Utils::Xml::XmlNode &xmlNode)
LoggingEnabled & WithTargetGrants(const Aws::Vector< TargetGrant > &value)
bool TargetBucketHasBeenSet() const
const Aws::Vector< TargetGrant > & GetTargetGrants() const
LoggingEnabled & AddTargetGrants(const TargetGrant &value)
const Aws::String & GetTargetPrefix() const
LoggingEnabled & WithTargetBucket(const char *value)
void SetTargetPrefix(const char *value)
LoggingEnabled & WithTargetBucket(Aws::String &&value)
LoggingEnabled & AddTargetGrants(TargetGrant &&value)
LoggingEnabled & WithTargetGrants(Aws::Vector< TargetGrant > &&value)
void SetTargetObjectKeyFormat(const TargetObjectKeyFormat &value)
LoggingEnabled & WithTargetPrefix(const char *value)
void SetTargetBucket(const Aws::String &value)
const TargetObjectKeyFormat & GetTargetObjectKeyFormat() const
void SetTargetPrefix(const Aws::String &value)
bool TargetGrantsHasBeenSet() const
LoggingEnabled & WithTargetObjectKeyFormat(const TargetObjectKeyFormat &value)
LoggingEnabled & WithTargetPrefix(const Aws::String &value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetTargetBucket(const char *value)
void SetTargetGrants(const Aws::Vector< TargetGrant > &value)
bool TargetObjectKeyFormatHasBeenSet() const
LoggingEnabled & WithTargetObjectKeyFormat(TargetObjectKeyFormat &&value)
AWS_S3_API LoggingEnabled & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector