78 lines
2.7 KiB
C
78 lines
2.7 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/waf/WAF_EXPORTS.h>
|
|||
|
|
#include <aws/waf/model/RegexPatternSet.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
template<typename RESULT_TYPE>
|
|||
|
|
class AmazonWebServiceResult;
|
|||
|
|
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace WAF
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
class AWS_WAF_API GetRegexPatternSetResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
GetRegexPatternSetResult();
|
|||
|
|
GetRegexPatternSetResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
GetRegexPatternSetResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about the <a>RegexPatternSet</a> that you specified in the
|
|||
|
|
* <code>GetRegexPatternSet</code> request, including the identifier of the pattern
|
|||
|
|
* set and the regular expression patterns you want AWS WAF to search for. </p>
|
|||
|
|
*/
|
|||
|
|
inline const RegexPatternSet& GetRegexPatternSet() const{ return m_regexPatternSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about the <a>RegexPatternSet</a> that you specified in the
|
|||
|
|
* <code>GetRegexPatternSet</code> request, including the identifier of the pattern
|
|||
|
|
* set and the regular expression patterns you want AWS WAF to search for. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetRegexPatternSet(const RegexPatternSet& value) { m_regexPatternSet = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about the <a>RegexPatternSet</a> that you specified in the
|
|||
|
|
* <code>GetRegexPatternSet</code> request, including the identifier of the pattern
|
|||
|
|
* set and the regular expression patterns you want AWS WAF to search for. </p>
|
|||
|
|
*/
|
|||
|
|
inline void SetRegexPatternSet(RegexPatternSet&& value) { m_regexPatternSet = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about the <a>RegexPatternSet</a> that you specified in the
|
|||
|
|
* <code>GetRegexPatternSet</code> request, including the identifier of the pattern
|
|||
|
|
* set and the regular expression patterns you want AWS WAF to search for. </p>
|
|||
|
|
*/
|
|||
|
|
inline GetRegexPatternSetResult& WithRegexPatternSet(const RegexPatternSet& value) { SetRegexPatternSet(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about the <a>RegexPatternSet</a> that you specified in the
|
|||
|
|
* <code>GetRegexPatternSet</code> request, including the identifier of the pattern
|
|||
|
|
* set and the regular expression patterns you want AWS WAF to search for. </p>
|
|||
|
|
*/
|
|||
|
|
inline GetRegexPatternSetResult& WithRegexPatternSet(RegexPatternSet&& value) { SetRegexPatternSet(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
RegexPatternSet m_regexPatternSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace WAF
|
|||
|
|
} // namespace Aws
|