/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace WAF { namespace Model { /** */ class GetRegexMatchSetRequest : public WAFRequest { public: AWS_WAF_API GetRegexMatchSetRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetRegexMatchSet"; } AWS_WAF_API Aws::String SerializePayload() const override; AWS_WAF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The RegexMatchSetId of the RegexMatchSet that you want to * get. RegexMatchSetId is returned by CreateRegexMatchSet and * by ListRegexMatchSets.

*/ inline const Aws::String& GetRegexMatchSetId() const{ return m_regexMatchSetId; } /** *

The RegexMatchSetId of the RegexMatchSet that you want to * get. RegexMatchSetId is returned by CreateRegexMatchSet and * by ListRegexMatchSets.

*/ inline bool RegexMatchSetIdHasBeenSet() const { return m_regexMatchSetIdHasBeenSet; } /** *

The RegexMatchSetId of the RegexMatchSet that you want to * get. RegexMatchSetId is returned by CreateRegexMatchSet and * by ListRegexMatchSets.

*/ inline void SetRegexMatchSetId(const Aws::String& value) { m_regexMatchSetIdHasBeenSet = true; m_regexMatchSetId = value; } /** *

The RegexMatchSetId of the RegexMatchSet that you want to * get. RegexMatchSetId is returned by CreateRegexMatchSet and * by ListRegexMatchSets.

*/ inline void SetRegexMatchSetId(Aws::String&& value) { m_regexMatchSetIdHasBeenSet = true; m_regexMatchSetId = std::move(value); } /** *

The RegexMatchSetId of the RegexMatchSet that you want to * get. RegexMatchSetId is returned by CreateRegexMatchSet and * by ListRegexMatchSets.

*/ inline void SetRegexMatchSetId(const char* value) { m_regexMatchSetIdHasBeenSet = true; m_regexMatchSetId.assign(value); } /** *

The RegexMatchSetId of the RegexMatchSet that you want to * get. RegexMatchSetId is returned by CreateRegexMatchSet and * by ListRegexMatchSets.

*/ inline GetRegexMatchSetRequest& WithRegexMatchSetId(const Aws::String& value) { SetRegexMatchSetId(value); return *this;} /** *

The RegexMatchSetId of the RegexMatchSet that you want to * get. RegexMatchSetId is returned by CreateRegexMatchSet and * by ListRegexMatchSets.

*/ inline GetRegexMatchSetRequest& WithRegexMatchSetId(Aws::String&& value) { SetRegexMatchSetId(std::move(value)); return *this;} /** *

The RegexMatchSetId of the RegexMatchSet that you want to * get. RegexMatchSetId is returned by CreateRegexMatchSet and * by ListRegexMatchSets.

*/ inline GetRegexMatchSetRequest& WithRegexMatchSetId(const char* value) { SetRegexMatchSetId(value); return *this;} private: Aws::String m_regexMatchSetId; bool m_regexMatchSetIdHasBeenSet = false; }; } // namespace Model } // namespace WAF } // namespace Aws