7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lightsail/Lightsail_EXPORTS.h>
47 m_enabledHasBeenSet =
true;
66 template <
typename DestinationT = Aws::String>
68 m_destinationHasBeenSet =
true;
69 m_destination = std::forward<DestinationT>(value);
71 template <
typename DestinationT = Aws::String>
91 template <
typename PrefixT = Aws::String>
93 m_prefixHasBeenSet =
true;
94 m_prefix = std::forward<PrefixT>(value);
96 template <
typename PrefixT = Aws::String>
103 bool m_enabled{
false};
104 bool m_enabledHasBeenSet =
false;
107 bool m_destinationHasBeenSet =
false;
110 bool m_prefixHasBeenSet =
false;
BucketAccessLogConfig & WithPrefix(PrefixT &&value)
void SetPrefix(PrefixT &&value)
const Aws::String & GetDestination() const
void SetEnabled(bool value)
bool PrefixHasBeenSet() const
AWS_LIGHTSAIL_API BucketAccessLogConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LIGHTSAIL_API BucketAccessLogConfig()=default
BucketAccessLogConfig & WithEnabled(bool value)
AWS_LIGHTSAIL_API BucketAccessLogConfig(Aws::Utils::Json::JsonView jsonValue)
BucketAccessLogConfig & WithDestination(DestinationT &&value)
const Aws::String & GetPrefix() const
bool EnabledHasBeenSet() const
void SetDestination(DestinationT &&value)
bool DestinationHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue