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 template<
typename ResourceArnT = Aws::String>
79 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet =
true; m_resourceArn = std::forward<ResourceArnT>(value); }
80 template<
typename ResourceArnT = Aws::String>
92 template<
typename LogDestinationConfigsT = Aws::Vector<Aws::String>>
93 void SetLogDestinationConfigs(LogDestinationConfigsT&& value) { m_logDestinationConfigsHasBeenSet =
true; m_logDestinationConfigs = std::forward<LogDestinationConfigsT>(value); }
94 template<
typename LogDestinationConfigsT = Aws::Vector<Aws::String>>
96 template<
typename LogDestinationConfigsT = Aws::String>
120 template<
typename RedactedFieldsT = Aws::Vector<FieldToMatch>>
121 void SetRedactedFields(RedactedFieldsT&& value) { m_redactedFieldsHasBeenSet =
true; m_redactedFields = std::forward<RedactedFieldsT>(value); }
122 template<
typename RedactedFieldsT = Aws::Vector<FieldToMatch>>
124 template<
typename RedactedFieldsT = FieldToMatch>
155 template<
typename LoggingFilterT = LoggingFilter>
156 void SetLoggingFilter(LoggingFilterT&& value) { m_loggingFilterHasBeenSet =
true; m_loggingFilter = std::forward<LoggingFilterT>(value); }
157 template<
typename LoggingFilterT = LoggingFilter>
192 bool m_resourceArnHasBeenSet =
false;
195 bool m_logDestinationConfigsHasBeenSet =
false;
198 bool m_redactedFieldsHasBeenSet =
false;
200 bool m_managedByFirewallManager{
false};
201 bool m_managedByFirewallManagerHasBeenSet =
false;
203 LoggingFilter m_loggingFilter;
204 bool m_loggingFilterHasBeenSet =
false;
207 bool m_logTypeHasBeenSet =
false;
210 bool m_logScopeHasBeenSet =
false;
LoggingConfiguration & WithLogType(LogType value)
LoggingConfiguration & AddRedactedFields(RedactedFieldsT &&value)
const Aws::String & GetResourceArn() const
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAFV2_API LoggingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
LoggingConfiguration & WithManagedByFirewallManager(bool value)
LogScope GetLogScope() const
void SetLogDestinationConfigs(LogDestinationConfigsT &&value)
bool ManagedByFirewallManagerHasBeenSet() const
const Aws::Vector< FieldToMatch > & GetRedactedFields() const
bool LoggingFilterHasBeenSet() const
LoggingConfiguration & AddLogDestinationConfigs(LogDestinationConfigsT &&value)
void SetLogScope(LogScope value)
AWS_WAFV2_API LoggingConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API LoggingConfiguration()=default
void SetManagedByFirewallManager(bool value)
void SetResourceArn(ResourceArnT &&value)
bool GetManagedByFirewallManager() const
LoggingConfiguration & WithLogScope(LogScope value)
void SetRedactedFields(RedactedFieldsT &&value)
void SetLoggingFilter(LoggingFilterT &&value)
bool RedactedFieldsHasBeenSet() const
LoggingConfiguration & WithRedactedFields(RedactedFieldsT &&value)
LoggingConfiguration & WithResourceArn(ResourceArnT &&value)
const Aws::Vector< Aws::String > & GetLogDestinationConfigs() const
const LoggingFilter & GetLoggingFilter() const
LogType GetLogType() const
bool LogScopeHasBeenSet() const
LoggingConfiguration & WithLogDestinationConfigs(LogDestinationConfigsT &&value)
void SetLogType(LogType value)
LoggingConfiguration & WithLoggingFilter(LoggingFilterT &&value)
bool ResourceArnHasBeenSet() const
bool LogTypeHasBeenSet() const
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