AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ByteMatchSetSummary.h
1
6#pragma once
7#include <aws/waf-regional/WAFRegional_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace WAFRegional
22{
23namespace Model
24{
25
42 {
43 public:
44 AWS_WAFREGIONAL_API ByteMatchSetSummary() = default;
45 AWS_WAFREGIONAL_API ByteMatchSetSummary(Aws::Utils::Json::JsonView jsonValue);
47 AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
59 inline const Aws::String& GetByteMatchSetId() const { return m_byteMatchSetId; }
60 inline bool ByteMatchSetIdHasBeenSet() const { return m_byteMatchSetIdHasBeenSet; }
61 template<typename ByteMatchSetIdT = Aws::String>
62 void SetByteMatchSetId(ByteMatchSetIdT&& value) { m_byteMatchSetIdHasBeenSet = true; m_byteMatchSetId = std::forward<ByteMatchSetIdT>(value); }
63 template<typename ByteMatchSetIdT = Aws::String>
64 ByteMatchSetSummary& WithByteMatchSetId(ByteMatchSetIdT&& value) { SetByteMatchSetId(std::forward<ByteMatchSetIdT>(value)); return *this;}
66
68
72 inline const Aws::String& GetName() const { return m_name; }
73 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
74 template<typename NameT = Aws::String>
75 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
76 template<typename NameT = Aws::String>
77 ByteMatchSetSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
79 private:
80
81 Aws::String m_byteMatchSetId;
82 bool m_byteMatchSetIdHasBeenSet = false;
83
84 Aws::String m_name;
85 bool m_nameHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace WAFRegional
90} // namespace Aws
ByteMatchSetSummary & WithName(NameT &&value)
AWS_WAFREGIONAL_API ByteMatchSetSummary(Aws::Utils::Json::JsonView jsonValue)
ByteMatchSetSummary & WithByteMatchSetId(ByteMatchSetIdT &&value)
AWS_WAFREGIONAL_API ByteMatchSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetByteMatchSetId(ByteMatchSetIdT &&value)
AWS_WAFREGIONAL_API ByteMatchSetSummary()=default
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue