AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CookieMatchPattern.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace WAFV2
24{
25namespace Model
26{
27
38 {
39 public:
40 AWS_WAFV2_API CookieMatchPattern();
43 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const All& GetAll() const{ return m_all; }
51 inline bool AllHasBeenSet() const { return m_allHasBeenSet; }
52 inline void SetAll(const All& value) { m_allHasBeenSet = true; m_all = value; }
53 inline void SetAll(All&& value) { m_allHasBeenSet = true; m_all = std::move(value); }
54 inline CookieMatchPattern& WithAll(const All& value) { SetAll(value); return *this;}
55 inline CookieMatchPattern& WithAll(All&& value) { SetAll(std::move(value)); return *this;}
57
59
63 inline const Aws::Vector<Aws::String>& GetIncludedCookies() const{ return m_includedCookies; }
64 inline bool IncludedCookiesHasBeenSet() const { return m_includedCookiesHasBeenSet; }
65 inline void SetIncludedCookies(const Aws::Vector<Aws::String>& value) { m_includedCookiesHasBeenSet = true; m_includedCookies = value; }
66 inline void SetIncludedCookies(Aws::Vector<Aws::String>&& value) { m_includedCookiesHasBeenSet = true; m_includedCookies = std::move(value); }
68 inline CookieMatchPattern& WithIncludedCookies(Aws::Vector<Aws::String>&& value) { SetIncludedCookies(std::move(value)); return *this;}
69 inline CookieMatchPattern& AddIncludedCookies(const Aws::String& value) { m_includedCookiesHasBeenSet = true; m_includedCookies.push_back(value); return *this; }
70 inline CookieMatchPattern& AddIncludedCookies(Aws::String&& value) { m_includedCookiesHasBeenSet = true; m_includedCookies.push_back(std::move(value)); return *this; }
71 inline CookieMatchPattern& AddIncludedCookies(const char* value) { m_includedCookiesHasBeenSet = true; m_includedCookies.push_back(value); return *this; }
73
75
79 inline const Aws::Vector<Aws::String>& GetExcludedCookies() const{ return m_excludedCookies; }
80 inline bool ExcludedCookiesHasBeenSet() const { return m_excludedCookiesHasBeenSet; }
81 inline void SetExcludedCookies(const Aws::Vector<Aws::String>& value) { m_excludedCookiesHasBeenSet = true; m_excludedCookies = value; }
82 inline void SetExcludedCookies(Aws::Vector<Aws::String>&& value) { m_excludedCookiesHasBeenSet = true; m_excludedCookies = std::move(value); }
84 inline CookieMatchPattern& WithExcludedCookies(Aws::Vector<Aws::String>&& value) { SetExcludedCookies(std::move(value)); return *this;}
85 inline CookieMatchPattern& AddExcludedCookies(const Aws::String& value) { m_excludedCookiesHasBeenSet = true; m_excludedCookies.push_back(value); return *this; }
86 inline CookieMatchPattern& AddExcludedCookies(Aws::String&& value) { m_excludedCookiesHasBeenSet = true; m_excludedCookies.push_back(std::move(value)); return *this; }
87 inline CookieMatchPattern& AddExcludedCookies(const char* value) { m_excludedCookiesHasBeenSet = true; m_excludedCookies.push_back(value); return *this; }
89 private:
90
91 All m_all;
92 bool m_allHasBeenSet = false;
93
94 Aws::Vector<Aws::String> m_includedCookies;
95 bool m_includedCookiesHasBeenSet = false;
96
97 Aws::Vector<Aws::String> m_excludedCookies;
98 bool m_excludedCookiesHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace WAFV2
103} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue