7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/waf/WAF_EXPORTS.h>
10#include <aws/waf/model/FieldToMatch.h>
52 template <
typename ResourceArnT = Aws::String>
54 m_resourceArnHasBeenSet =
true;
55 m_resourceArn = std::forward<ResourceArnT>(value);
57 template <
typename ResourceArnT = Aws::String>
70 template <
typename LogDestinationConfigsT = Aws::Vector<Aws::String>>
72 m_logDestinationConfigsHasBeenSet =
true;
73 m_logDestinationConfigs = std::forward<LogDestinationConfigsT>(value);
75 template <
typename LogDestinationConfigsT = Aws::Vector<Aws::String>>
80 template <
typename LogDestinationConfigsT = Aws::String>
82 m_logDestinationConfigsHasBeenSet =
true;
83 m_logDestinationConfigs.emplace_back(std::forward<LogDestinationConfigsT>(value));
96 template <
typename RedactedFieldsT = Aws::Vector<FieldToMatch>>
98 m_redactedFieldsHasBeenSet =
true;
99 m_redactedFields = std::forward<RedactedFieldsT>(value);
101 template <
typename RedactedFieldsT = Aws::Vector<FieldToMatch>>
106 template <
typename RedactedFieldsT = FieldToMatch>
108 m_redactedFieldsHasBeenSet =
true;
109 m_redactedFields.emplace_back(std::forward<RedactedFieldsT>(value));
119 bool m_resourceArnHasBeenSet =
false;
120 bool m_logDestinationConfigsHasBeenSet =
false;
121 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