AWS SDK for C++

AWS SDK for C++ Version 1.11.932

Loading...
Searching...
No Matches
UriFragment.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/model/FallbackBehavior.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace WAFV2 {
20namespace Model {
21
34 public:
35 AWS_WAFV2_API UriFragment() = default;
36 AWS_WAFV2_API UriFragment(Aws::Utils::Json::JsonView jsonValue);
38 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
58 inline FallbackBehavior GetFallbackBehavior() const { return m_fallbackBehavior; }
59 inline bool FallbackBehaviorHasBeenSet() const { return m_fallbackBehaviorHasBeenSet; }
61 m_fallbackBehaviorHasBeenSet = true;
62 m_fallbackBehavior = value;
63 }
66 return *this;
67 }
69 private:
71 bool m_fallbackBehaviorHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace WAFV2
76} // namespace Aws
void SetFallbackBehavior(FallbackBehavior value)
Definition UriFragment.h:60
UriFragment & WithFallbackBehavior(FallbackBehavior value)
Definition UriFragment.h:64
AWS_WAFV2_API UriFragment(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API UriFragment & operator=(Aws::Utils::Json::JsonView jsonValue)
bool FallbackBehaviorHasBeenSet() const
Definition UriFragment.h:59
FallbackBehavior GetFallbackBehavior() const
Definition UriFragment.h:58
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAFV2_API UriFragment()=default
Aws::Utils::Json::JsonValue JsonValue