/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace WAF { namespace Model { class GetRegexPatternSetResult { public: AWS_WAF_API GetRegexPatternSetResult(); AWS_WAF_API GetRegexPatternSetResult(const Aws::AmazonWebServiceResult& result); AWS_WAF_API GetRegexPatternSetResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the RegexPatternSet that you specified in the * GetRegexPatternSet request, including the identifier of the pattern * set and the regular expression patterns you want AWS WAF to search for.

*/ inline const RegexPatternSet& GetRegexPatternSet() const{ return m_regexPatternSet; } /** *

Information about the RegexPatternSet that you specified in the * GetRegexPatternSet request, including the identifier of the pattern * set and the regular expression patterns you want AWS WAF to search for.

*/ inline void SetRegexPatternSet(const RegexPatternSet& value) { m_regexPatternSet = value; } /** *

Information about the RegexPatternSet that you specified in the * GetRegexPatternSet request, including the identifier of the pattern * set and the regular expression patterns you want AWS WAF to search for.

*/ inline void SetRegexPatternSet(RegexPatternSet&& value) { m_regexPatternSet = std::move(value); } /** *

Information about the RegexPatternSet that you specified in the * GetRegexPatternSet request, including the identifier of the pattern * set and the regular expression patterns you want AWS WAF to search for.

*/ inline GetRegexPatternSetResult& WithRegexPatternSet(const RegexPatternSet& value) { SetRegexPatternSet(value); return *this;} /** *

Information about the RegexPatternSet that you specified in the * GetRegexPatternSet request, including the identifier of the pattern * set and the regular expression patterns you want AWS WAF to search for.

*/ inline GetRegexPatternSetResult& WithRegexPatternSet(RegexPatternSet&& value) { SetRegexPatternSet(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetRegexPatternSetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetRegexPatternSetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetRegexPatternSetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: RegexPatternSet m_regexPatternSet; Aws::String m_requestId; }; } // namespace Model } // namespace WAF } // namespace Aws