7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/model/All.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
52 template<
typename AllT = All>
53 void SetAll(AllT&& value) { m_allHasBeenSet =
true; m_all = std::forward<AllT>(value); }
54 template<
typename AllT = All>
65 template<
typename IncludedCookiesT = Aws::Vector<Aws::String>>
66 void SetIncludedCookies(IncludedCookiesT&& value) { m_includedCookiesHasBeenSet =
true; m_includedCookies = std::forward<IncludedCookiesT>(value); }
67 template<
typename IncludedCookiesT = Aws::Vector<Aws::String>>
69 template<
typename IncludedCookiesT = Aws::String>
70 CookieMatchPattern&
AddIncludedCookies(IncludedCookiesT&& value) { m_includedCookiesHasBeenSet =
true; m_includedCookies.emplace_back(std::forward<IncludedCookiesT>(value));
return *
this; }
80 template<
typename ExcludedCookiesT = Aws::Vector<Aws::String>>
81 void SetExcludedCookies(ExcludedCookiesT&& value) { m_excludedCookiesHasBeenSet =
true; m_excludedCookies = std::forward<ExcludedCookiesT>(value); }
82 template<
typename ExcludedCookiesT = Aws::Vector<Aws::String>>
84 template<
typename ExcludedCookiesT = Aws::String>
85 CookieMatchPattern&
AddExcludedCookies(ExcludedCookiesT&& value) { m_excludedCookiesHasBeenSet =
true; m_excludedCookies.emplace_back(std::forward<ExcludedCookiesT>(value));
return *
this; }
90 bool m_allHasBeenSet =
false;
93 bool m_includedCookiesHasBeenSet =
false;
96 bool m_excludedCookiesHasBeenSet =
false;
AWS_WAFV2_API CookieMatchPattern(Aws::Utils::Json::JsonView jsonValue)
const All & GetAll() const
AWS_WAFV2_API CookieMatchPattern()=default
void SetIncludedCookies(IncludedCookiesT &&value)
CookieMatchPattern & AddExcludedCookies(ExcludedCookiesT &&value)
CookieMatchPattern & WithExcludedCookies(ExcludedCookiesT &&value)
void SetExcludedCookies(ExcludedCookiesT &&value)
CookieMatchPattern & WithIncludedCookies(IncludedCookiesT &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAll(AllT &&value)
CookieMatchPattern & WithAll(AllT &&value)
const Aws::Vector< Aws::String > & GetIncludedCookies() const
bool IncludedCookiesHasBeenSet() const
const Aws::Vector< Aws::String > & GetExcludedCookies() const
CookieMatchPattern & AddIncludedCookies(IncludedCookiesT &&value)
AWS_WAFV2_API CookieMatchPattern & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ExcludedCookiesHasBeenSet() const
bool AllHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue