/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include This is the latest version of AWS WAF, named AWS WAFV2,
* released in November, 2019. For information, including how to migrate your AWS
* WAF resources from the prior release, see the AWS
* WAF Developer Guide. A single regular expression. This is
* used in a RegexPatternSet.See Also:
AWS API
* Reference
The string representing the regular expression.
*/ inline const Aws::String& GetRegexString() const{ return m_regexString; } /** *The string representing the regular expression.
*/ inline bool RegexStringHasBeenSet() const { return m_regexStringHasBeenSet; } /** *The string representing the regular expression.
*/ inline void SetRegexString(const Aws::String& value) { m_regexStringHasBeenSet = true; m_regexString = value; } /** *The string representing the regular expression.
*/ inline void SetRegexString(Aws::String&& value) { m_regexStringHasBeenSet = true; m_regexString = std::move(value); } /** *The string representing the regular expression.
*/ inline void SetRegexString(const char* value) { m_regexStringHasBeenSet = true; m_regexString.assign(value); } /** *The string representing the regular expression.
*/ inline Regex& WithRegexString(const Aws::String& value) { SetRegexString(value); return *this;} /** *The string representing the regular expression.
*/ inline Regex& WithRegexString(Aws::String&& value) { SetRegexString(std::move(value)); return *this;} /** *The string representing the regular expression.
*/ inline Regex& WithRegexString(const char* value) { SetRegexString(value); return *this;} private: Aws::String m_regexString; bool m_regexStringHasBeenSet; }; } // namespace Model } // namespace WAFV2 } // namespace Aws