7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
52 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
68 inline void SetDestination(
const char* value) { m_destinationHasBeenSet =
true; m_destination.assign(value); }
89 inline void SetPrefix(
const char* value) { m_prefixHasBeenSet =
true; m_prefix.assign(value); }
97 bool m_enabledHasBeenSet =
false;
100 bool m_destinationHasBeenSet =
false;
103 bool m_prefixHasBeenSet =
false;
BucketAccessLogConfig & WithDestination(Aws::String &&value)
void SetPrefix(const Aws::String &value)
const Aws::String & GetDestination() const
AWS_LIGHTSAIL_API BucketAccessLogConfig()
void SetDestination(Aws::String &&value)
void SetEnabled(bool value)
BucketAccessLogConfig & WithDestination(const char *value)
void SetDestination(const char *value)
void SetDestination(const Aws::String &value)
bool PrefixHasBeenSet() const
void SetPrefix(Aws::String &&value)
AWS_LIGHTSAIL_API BucketAccessLogConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
BucketAccessLogConfig & WithDestination(const Aws::String &value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
BucketAccessLogConfig & WithEnabled(bool value)
AWS_LIGHTSAIL_API BucketAccessLogConfig(Aws::Utils::Json::JsonView jsonValue)
BucketAccessLogConfig & WithPrefix(Aws::String &&value)
BucketAccessLogConfig & WithPrefix(const char *value)
const Aws::String & GetPrefix() const
bool EnabledHasBeenSet() const
BucketAccessLogConfig & WithPrefix(const Aws::String &value)
void SetPrefix(const char *value)
bool DestinationHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue