AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Cookies.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/model/CookieMatchPattern.h>
9#include <aws/wafv2/model/MapMatchScope.h>
10#include <aws/wafv2/model/OversizeHandling.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 class Cookies
39 {
40 public:
41 AWS_WAFV2_API Cookies();
42 AWS_WAFV2_API Cookies(Aws::Utils::Json::JsonView jsonValue);
43 AWS_WAFV2_API Cookies& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
55 inline const CookieMatchPattern& GetMatchPattern() const{ return m_matchPattern; }
56 inline bool MatchPatternHasBeenSet() const { return m_matchPatternHasBeenSet; }
57 inline void SetMatchPattern(const CookieMatchPattern& value) { m_matchPatternHasBeenSet = true; m_matchPattern = value; }
58 inline void SetMatchPattern(CookieMatchPattern&& value) { m_matchPatternHasBeenSet = true; m_matchPattern = std::move(value); }
59 inline Cookies& WithMatchPattern(const CookieMatchPattern& value) { SetMatchPattern(value); return *this;}
60 inline Cookies& WithMatchPattern(CookieMatchPattern&& value) { SetMatchPattern(std::move(value)); return *this;}
62
64
73 inline const MapMatchScope& GetMatchScope() const{ return m_matchScope; }
74 inline bool MatchScopeHasBeenSet() const { return m_matchScopeHasBeenSet; }
75 inline void SetMatchScope(const MapMatchScope& value) { m_matchScopeHasBeenSet = true; m_matchScope = value; }
76 inline void SetMatchScope(MapMatchScope&& value) { m_matchScopeHasBeenSet = true; m_matchScope = std::move(value); }
77 inline Cookies& WithMatchScope(const MapMatchScope& value) { SetMatchScope(value); return *this;}
78 inline Cookies& WithMatchScope(MapMatchScope&& value) { SetMatchScope(std::move(value)); return *this;}
80
82
94 inline const OversizeHandling& GetOversizeHandling() const{ return m_oversizeHandling; }
95 inline bool OversizeHandlingHasBeenSet() const { return m_oversizeHandlingHasBeenSet; }
96 inline void SetOversizeHandling(const OversizeHandling& value) { m_oversizeHandlingHasBeenSet = true; m_oversizeHandling = value; }
97 inline void SetOversizeHandling(OversizeHandling&& value) { m_oversizeHandlingHasBeenSet = true; m_oversizeHandling = std::move(value); }
98 inline Cookies& WithOversizeHandling(const OversizeHandling& value) { SetOversizeHandling(value); return *this;}
99 inline Cookies& WithOversizeHandling(OversizeHandling&& value) { SetOversizeHandling(std::move(value)); return *this;}
101 private:
102
103 CookieMatchPattern m_matchPattern;
104 bool m_matchPatternHasBeenSet = false;
105
106 MapMatchScope m_matchScope;
107 bool m_matchScopeHasBeenSet = false;
108
109 OversizeHandling m_oversizeHandling;
110 bool m_oversizeHandlingHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace WAFV2
115} // namespace Aws
bool MatchScopeHasBeenSet() const
Definition Cookies.h:74
void SetMatchScope(MapMatchScope &&value)
Definition Cookies.h:76
Cookies & WithOversizeHandling(OversizeHandling &&value)
Definition Cookies.h:99
void SetOversizeHandling(const OversizeHandling &value)
Definition Cookies.h:96
bool MatchPatternHasBeenSet() const
Definition Cookies.h:56
Cookies & WithOversizeHandling(const OversizeHandling &value)
Definition Cookies.h:98
const MapMatchScope & GetMatchScope() const
Definition Cookies.h:73
void SetMatchPattern(CookieMatchPattern &&value)
Definition Cookies.h:58
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOversizeHandling(OversizeHandling &&value)
Definition Cookies.h:97
void SetMatchPattern(const CookieMatchPattern &value)
Definition Cookies.h:57
Cookies & WithMatchPattern(const CookieMatchPattern &value)
Definition Cookies.h:59
AWS_WAFV2_API Cookies(Aws::Utils::Json::JsonView jsonValue)
void SetMatchScope(const MapMatchScope &value)
Definition Cookies.h:75
AWS_WAFV2_API Cookies & operator=(Aws::Utils::Json::JsonView jsonValue)
Cookies & WithMatchScope(const MapMatchScope &value)
Definition Cookies.h:77
Cookies & WithMatchScope(MapMatchScope &&value)
Definition Cookies.h:78
Cookies & WithMatchPattern(CookieMatchPattern &&value)
Definition Cookies.h:60
bool OversizeHandlingHasBeenSet() const
Definition Cookies.h:95
const OversizeHandling & GetOversizeHandling() const
Definition Cookies.h:94
const CookieMatchPattern & GetMatchPattern() const
Definition Cookies.h:55
Aws::Utils::Json::JsonValue JsonValue