7#include <aws/waf-regional/WAFRegional_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/waf-regional/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;
void SetName(NameT &&value)
ByteMatchSet & WithByteMatchTuples(ByteMatchTuplesT &&value)
ByteMatchSet & WithByteMatchSetId(ByteMatchSetIdT &&value)
const Aws::Vector< ByteMatchTuple > & GetByteMatchTuples() const
AWS_WAFREGIONAL_API ByteMatchSet()=default
bool NameHasBeenSet() const
ByteMatchSet & WithName(NameT &&value)
ByteMatchSet & AddByteMatchTuples(ByteMatchTuplesT &&value)
AWS_WAFREGIONAL_API ByteMatchSet(Aws::Utils::Json::JsonView jsonValue)
void SetByteMatchSetId(ByteMatchSetIdT &&value)
bool ByteMatchSetIdHasBeenSet() const
void SetByteMatchTuples(ByteMatchTuplesT &&value)
bool ByteMatchTuplesHasBeenSet() const
const Aws::String & GetByteMatchSetId() const
const Aws::String & GetName() const
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAFREGIONAL_API ByteMatchSet & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue