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; }
66 template<
typename DestinationT = Aws::String>
67 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet =
true; m_destination = std::forward<DestinationT>(value); }
68 template<
typename DestinationT = Aws::String>
85 template<
typename PrefixT = Aws::String>
86 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet =
true; m_prefix = std::forward<PrefixT>(value); }
87 template<
typename PrefixT = Aws::String>
92 bool m_enabled{
false};
93 bool m_enabledHasBeenSet =
false;
96 bool m_destinationHasBeenSet =
false;
99 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