7#include <aws/waf/WAF_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/waf/model/ByteMatchTuple.h>
72 template<
typename ByteMatchSetIdT = Aws::String>
73 void SetByteMatchSetId(ByteMatchSetIdT&& value) { m_byteMatchSetIdHasBeenSet =
true; m_byteMatchSetId = std::forward<ByteMatchSetIdT>(value); }
74 template<
typename ByteMatchSetIdT = Aws::String>
85 template<
typename NameT = Aws::String>
86 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
87 template<
typename NameT = Aws::String>
99 template<
typename ByteMatchTuplesT = Aws::Vector<ByteMatchTuple>>
100 void SetByteMatchTuples(ByteMatchTuplesT&& value) { m_byteMatchTuplesHasBeenSet =
true; m_byteMatchTuples = std::forward<ByteMatchTuplesT>(value); }
101 template<
typename ByteMatchTuplesT = Aws::Vector<ByteMatchTuple>>
103 template<
typename ByteMatchTuplesT = ByteMatchTuple>
104 ByteMatchSet&
AddByteMatchTuples(ByteMatchTuplesT&& value) { m_byteMatchTuplesHasBeenSet =
true; m_byteMatchTuples.emplace_back(std::forward<ByteMatchTuplesT>(value));
return *
this; }
109 bool m_byteMatchSetIdHasBeenSet =
false;
112 bool m_nameHasBeenSet =
false;
115 bool m_byteMatchTuplesHasBeenSet =
false;
ByteMatchSet & WithName(NameT &&value)
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(NameT &&value)
ByteMatchSet & WithByteMatchTuples(ByteMatchTuplesT &&value)
AWS_WAF_API ByteMatchSet(Aws::Utils::Json::JsonView jsonValue)
void SetByteMatchTuples(ByteMatchTuplesT &&value)
bool NameHasBeenSet() const
const Aws::Vector< ByteMatchTuple > & GetByteMatchTuples() const
ByteMatchSet & WithByteMatchSetId(ByteMatchSetIdT &&value)
const Aws::String & GetByteMatchSetId() const
AWS_WAF_API ByteMatchSet & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAF_API ByteMatchSet()=default
bool ByteMatchTuplesHasBeenSet() const
ByteMatchSet & AddByteMatchTuples(ByteMatchTuplesT &&value)
bool ByteMatchSetIdHasBeenSet() const
const Aws::String & GetName() const
void SetByteMatchSetId(ByteMatchSetIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue