7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/wafv2/model/LoggingFilter.h>
11#include <aws/wafv2/model/LogType.h>
12#include <aws/wafv2/model/LogScope.h>
13#include <aws/wafv2/model/FieldToMatch.h>
78 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
168 inline void SetLogType(
LogType&& value) { m_logTypeHasBeenSet =
true; m_logType = std::move(value); }
195 bool m_resourceArnHasBeenSet =
false;
198 bool m_logDestinationConfigsHasBeenSet =
false;
201 bool m_redactedFieldsHasBeenSet =
false;
203 bool m_managedByFirewallManager;
204 bool m_managedByFirewallManagerHasBeenSet =
false;
207 bool m_loggingFilterHasBeenSet =
false;
210 bool m_logTypeHasBeenSet =
false;
213 bool m_logScopeHasBeenSet =
false;
void SetLogType(const LogType &value)
const Aws::String & GetResourceArn() const
void SetLogScope(LogScope &&value)
LoggingConfiguration & WithResourceArn(Aws::String &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAFV2_API LoggingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLoggingFilter(const LoggingFilter &value)
LoggingConfiguration & WithManagedByFirewallManager(bool value)
const LogScope & GetLogScope() const
LoggingConfiguration & WithLogType(LogType &&value)
LoggingConfiguration & WithLoggingFilter(LoggingFilter &&value)
const LogType & GetLogType() const
LoggingConfiguration & AddLogDestinationConfigs(const char *value)
bool ManagedByFirewallManagerHasBeenSet() const
const Aws::Vector< FieldToMatch > & GetRedactedFields() const
bool LoggingFilterHasBeenSet() const
LoggingConfiguration & WithResourceArn(const Aws::String &value)
AWS_WAFV2_API LoggingConfiguration(Aws::Utils::Json::JsonView jsonValue)
LoggingConfiguration & WithLoggingFilter(const LoggingFilter &value)
void SetResourceArn(const Aws::String &value)
void SetManagedByFirewallManager(bool value)
void SetRedactedFields(const Aws::Vector< FieldToMatch > &value)
void SetLogType(LogType &&value)
void SetLoggingFilter(LoggingFilter &&value)
LoggingConfiguration & AddRedactedFields(const FieldToMatch &value)
bool GetManagedByFirewallManager() const
void SetRedactedFields(Aws::Vector< FieldToMatch > &&value)
bool RedactedFieldsHasBeenSet() const
void SetResourceArn(const char *value)
LoggingConfiguration & WithLogScope(const LogScope &value)
LoggingConfiguration & WithRedactedFields(const Aws::Vector< FieldToMatch > &value)
const Aws::Vector< Aws::String > & GetLogDestinationConfigs() const
LoggingConfiguration & WithLogScope(LogScope &&value)
void SetResourceArn(Aws::String &&value)
LoggingConfiguration & AddRedactedFields(FieldToMatch &&value)
LoggingConfiguration & AddLogDestinationConfigs(Aws::String &&value)
void SetLogScope(const LogScope &value)
const LoggingFilter & GetLoggingFilter() const
LoggingConfiguration & WithLogDestinationConfigs(const Aws::Vector< Aws::String > &value)
bool LogScopeHasBeenSet() const
LoggingConfiguration & WithResourceArn(const char *value)
void SetLogDestinationConfigs(Aws::Vector< Aws::String > &&value)
LoggingConfiguration & WithLogType(const LogType &value)
AWS_WAFV2_API LoggingConfiguration()
LoggingConfiguration & WithLogDestinationConfigs(Aws::Vector< Aws::String > &&value)
LoggingConfiguration & WithRedactedFields(Aws::Vector< FieldToMatch > &&value)
bool ResourceArnHasBeenSet() const
bool LogTypeHasBeenSet() const
LoggingConfiguration & AddLogDestinationConfigs(const Aws::String &value)
void SetLogDestinationConfigs(const Aws::Vector< Aws::String > &value)
bool LogDestinationConfigsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue