AWS SDK for C++

AWS SDK for C++ Version 1.11.932

Loading...
Searching...
No Matches
ExcludedRule.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wafv2/WAFV2_EXPORTS.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
31 public:
32 AWS_WAFV2_API ExcludedRule() = default;
33 AWS_WAFV2_API ExcludedRule(Aws::Utils::Json::JsonView jsonValue);
35 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
50 ExcludedRule& WithName(NameT&& value) {
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55 private:
56 Aws::String m_name;
57 bool m_nameHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace WAFV2
62} // namespace Aws
const Aws::String & GetName() const
AWS_WAFV2_API ExcludedRule()=default
void SetName(NameT &&value)
ExcludedRule & WithName(NameT &&value)
AWS_WAFV2_API ExcludedRule & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API ExcludedRule(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue