7#include <aws/waf/WAF_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/waf/model/FieldToMatch.h>
58 template<
typename ResourceArnT = Aws::String>
59 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet =
true; m_resourceArn = std::forward<ResourceArnT>(value); }
60 template<
typename ResourceArnT = Aws::String>
70 template<
typename LogDestinationConfigsT = Aws::Vector<Aws::String>>
71 void SetLogDestinationConfigs(LogDestinationConfigsT&& value) { m_logDestinationConfigsHasBeenSet =
true; m_logDestinationConfigs = std::forward<LogDestinationConfigsT>(value); }
72 template<
typename LogDestinationConfigsT = Aws::Vector<Aws::String>>
74 template<
typename LogDestinationConfigsT = Aws::String>
86 template<
typename RedactedFieldsT = Aws::Vector<FieldToMatch>>
87 void SetRedactedFields(RedactedFieldsT&& value) { m_redactedFieldsHasBeenSet =
true; m_redactedFields = std::forward<RedactedFieldsT>(value); }
88 template<
typename RedactedFieldsT = Aws::Vector<FieldToMatch>>
90 template<
typename RedactedFieldsT = FieldToMatch>
96 bool m_resourceArnHasBeenSet =
false;
99 bool m_logDestinationConfigsHasBeenSet =
false;
102 bool m_redactedFieldsHasBeenSet =
false;
LoggingConfiguration & WithResourceArn(ResourceArnT &&value)
bool ResourceArnHasBeenSet() const
bool LogDestinationConfigsHasBeenSet() const
LoggingConfiguration & AddLogDestinationConfigs(LogDestinationConfigsT &&value)
void SetResourceArn(ResourceArnT &&value)
void SetLogDestinationConfigs(LogDestinationConfigsT &&value)
void SetRedactedFields(RedactedFieldsT &&value)
bool RedactedFieldsHasBeenSet() const
const Aws::String & GetResourceArn() const
LoggingConfiguration & WithLogDestinationConfigs(LogDestinationConfigsT &&value)
AWS_WAF_API LoggingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
LoggingConfiguration & AddRedactedFields(RedactedFieldsT &&value)
AWS_WAF_API LoggingConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetLogDestinationConfigs() const
const Aws::Vector< FieldToMatch > & GetRedactedFields() const
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAF_API LoggingConfiguration()=default
LoggingConfiguration & WithRedactedFields(RedactedFieldsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue