/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace WAF { namespace Model { /** *

This is AWS WAF Classic documentation. For more information, * see AWS * WAF Classic in the developer guide.

For the latest version of AWS * WAF, use the AWS WAFV2 API and see the AWS * WAF Developer Guide. With the latest version, AWS WAF has a single set of * endpoints for regional and global use.

Returned by * ListRegexMatchSets. Each RegexMatchSetSummary object * includes the Name and RegexMatchSetId for one * RegexMatchSet.

See Also:

AWS * API Reference

*/ class RegexMatchSetSummary { public: AWS_WAF_API RegexMatchSetSummary(); AWS_WAF_API RegexMatchSetSummary(Aws::Utils::Json::JsonView jsonValue); AWS_WAF_API RegexMatchSetSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The RegexMatchSetId for a RegexMatchSet. You use * RegexMatchSetId to get information about a * RegexMatchSet, update a RegexMatchSet, remove a * RegexMatchSet from a Rule, and delete a * RegexMatchSet from AWS WAF.

RegexMatchSetId is * returned by CreateRegexMatchSet and by ListRegexMatchSets.

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

The RegexMatchSetId for a RegexMatchSet. You use * RegexMatchSetId to get information about a * RegexMatchSet, update a RegexMatchSet, remove a * RegexMatchSet from a Rule, and delete a * RegexMatchSet from AWS WAF.

RegexMatchSetId is * returned by CreateRegexMatchSet and by ListRegexMatchSets.

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

The RegexMatchSetId for a RegexMatchSet. You use * RegexMatchSetId to get information about a * RegexMatchSet, update a RegexMatchSet, remove a * RegexMatchSet from a Rule, and delete a * RegexMatchSet from AWS WAF.

RegexMatchSetId is * returned by CreateRegexMatchSet and by ListRegexMatchSets.

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

The RegexMatchSetId for a RegexMatchSet. You use * RegexMatchSetId to get information about a * RegexMatchSet, update a RegexMatchSet, remove a * RegexMatchSet from a Rule, and delete a * RegexMatchSet from AWS WAF.

RegexMatchSetId is * returned by CreateRegexMatchSet and by ListRegexMatchSets.

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

The RegexMatchSetId for a RegexMatchSet. You use * RegexMatchSetId to get information about a * RegexMatchSet, update a RegexMatchSet, remove a * RegexMatchSet from a Rule, and delete a * RegexMatchSet from AWS WAF.

RegexMatchSetId is * returned by CreateRegexMatchSet and by ListRegexMatchSets.

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

The RegexMatchSetId for a RegexMatchSet. You use * RegexMatchSetId to get information about a * RegexMatchSet, update a RegexMatchSet, remove a * RegexMatchSet from a Rule, and delete a * RegexMatchSet from AWS WAF.

RegexMatchSetId is * returned by CreateRegexMatchSet and by ListRegexMatchSets.

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

The RegexMatchSetId for a RegexMatchSet. You use * RegexMatchSetId to get information about a * RegexMatchSet, update a RegexMatchSet, remove a * RegexMatchSet from a Rule, and delete a * RegexMatchSet from AWS WAF.

RegexMatchSetId is * returned by CreateRegexMatchSet and by ListRegexMatchSets.

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

The RegexMatchSetId for a RegexMatchSet. You use * RegexMatchSetId to get information about a * RegexMatchSet, update a RegexMatchSet, remove a * RegexMatchSet from a Rule, and delete a * RegexMatchSet from AWS WAF.

RegexMatchSetId is * returned by CreateRegexMatchSet and by ListRegexMatchSets.

*/ inline RegexMatchSetSummary& WithRegexMatchSetId(const char* value) { SetRegexMatchSetId(value); return *this;} /** *

A friendly name or description of the RegexMatchSet. You can't change * Name after you create a RegexMatchSet.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

A friendly name or description of the RegexMatchSet. You can't change * Name after you create a RegexMatchSet.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

A friendly name or description of the RegexMatchSet. You can't change * Name after you create a RegexMatchSet.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

A friendly name or description of the RegexMatchSet. You can't change * Name after you create a RegexMatchSet.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

A friendly name or description of the RegexMatchSet. You can't change * Name after you create a RegexMatchSet.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

A friendly name or description of the RegexMatchSet. You can't change * Name after you create a RegexMatchSet.

*/ inline RegexMatchSetSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

A friendly name or description of the RegexMatchSet. You can't change * Name after you create a RegexMatchSet.

*/ inline RegexMatchSetSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

A friendly name or description of the RegexMatchSet. You can't change * Name after you create a RegexMatchSet.

*/ inline RegexMatchSetSummary& WithName(const char* value) { SetName(value); return *this;} private: Aws::String m_regexMatchSetId; bool m_regexMatchSetIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; }; } // namespace Model } // namespace WAF } // namespace Aws