7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/wafv2/WAFV2_EXPORTS.h>
10#include <aws/wafv2/model/FieldToMatch.h>
11#include <aws/wafv2/model/LogScope.h>
12#include <aws/wafv2/model/LogType.h>
13#include <aws/wafv2/model/LoggingFilter.h>
72 template <
typename ResourceArnT = Aws::String>
74 m_resourceArnHasBeenSet =
true;
75 m_resourceArn = std::forward<ResourceArnT>(value);
77 template <
typename ResourceArnT = Aws::String>
92 template <
typename LogDestinationConfigsT = Aws::Vector<Aws::String>>
94 m_logDestinationConfigsHasBeenSet =
true;
95 m_logDestinationConfigs = std::forward<LogDestinationConfigsT>(value);
97 template <
typename LogDestinationConfigsT = Aws::Vector<Aws::String>>
102 template <
typename LogDestinationConfigsT = Aws::String>
104 m_logDestinationConfigsHasBeenSet =
true;
105 m_logDestinationConfigs.emplace_back(std::forward<LogDestinationConfigsT>(value));
130 template <
typename RedactedFieldsT = Aws::Vector<FieldToMatch>>
132 m_redactedFieldsHasBeenSet =
true;
133 m_redactedFields = std::forward<RedactedFieldsT>(value);
135 template <
typename RedactedFieldsT = Aws::Vector<FieldToMatch>>
140 template <
typename RedactedFieldsT = FieldToMatch>
142 m_redactedFieldsHasBeenSet =
true;
143 m_redactedFields.emplace_back(std::forward<RedactedFieldsT>(value));
164 m_managedByFirewallManagerHasBeenSet =
true;
165 m_managedByFirewallManager = value;
181 template <
typename LoggingFilterT = LoggingFilter>
183 m_loggingFilterHasBeenSet =
true;
184 m_loggingFilter = std::forward<LoggingFilterT>(value);
186 template <
typename LoggingFilterT = LoggingFilter>
201 m_logTypeHasBeenSet =
true;
230 m_logScopeHasBeenSet =
true;
245 bool m_managedByFirewallManager{
false};
247 LoggingFilter m_loggingFilter;
252 bool m_resourceArnHasBeenSet =
false;
253 bool m_logDestinationConfigsHasBeenSet =
false;
254 bool m_redactedFieldsHasBeenSet =
false;
255 bool m_managedByFirewallManagerHasBeenSet =
false;
256 bool m_loggingFilterHasBeenSet =
false;
257 bool m_logTypeHasBeenSet =
false;
258 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