/** * 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.

The Id and * Name of an XssMatchSet.

See Also:

AWS * API Reference

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

A unique identifier for an XssMatchSet. You use * XssMatchSetId to get information about a XssMatchSet * (see GetXssMatchSet), update an XssMatchSet (see * UpdateXssMatchSet), insert an XssMatchSet into a * Rule or delete one from a Rule (see * UpdateRule), and delete an XssMatchSet from AWS WAF (see * DeleteXssMatchSet).

XssMatchSetId is returned by * CreateXssMatchSet and by ListXssMatchSets.

*/ inline const Aws::String& GetXssMatchSetId() const{ return m_xssMatchSetId; } /** *

A unique identifier for an XssMatchSet. You use * XssMatchSetId to get information about a XssMatchSet * (see GetXssMatchSet), update an XssMatchSet (see * UpdateXssMatchSet), insert an XssMatchSet into a * Rule or delete one from a Rule (see * UpdateRule), and delete an XssMatchSet from AWS WAF (see * DeleteXssMatchSet).

XssMatchSetId is returned by * CreateXssMatchSet and by ListXssMatchSets.

*/ inline bool XssMatchSetIdHasBeenSet() const { return m_xssMatchSetIdHasBeenSet; } /** *

A unique identifier for an XssMatchSet. You use * XssMatchSetId to get information about a XssMatchSet * (see GetXssMatchSet), update an XssMatchSet (see * UpdateXssMatchSet), insert an XssMatchSet into a * Rule or delete one from a Rule (see * UpdateRule), and delete an XssMatchSet from AWS WAF (see * DeleteXssMatchSet).

XssMatchSetId is returned by * CreateXssMatchSet and by ListXssMatchSets.

*/ inline void SetXssMatchSetId(const Aws::String& value) { m_xssMatchSetIdHasBeenSet = true; m_xssMatchSetId = value; } /** *

A unique identifier for an XssMatchSet. You use * XssMatchSetId to get information about a XssMatchSet * (see GetXssMatchSet), update an XssMatchSet (see * UpdateXssMatchSet), insert an XssMatchSet into a * Rule or delete one from a Rule (see * UpdateRule), and delete an XssMatchSet from AWS WAF (see * DeleteXssMatchSet).

XssMatchSetId is returned by * CreateXssMatchSet and by ListXssMatchSets.

*/ inline void SetXssMatchSetId(Aws::String&& value) { m_xssMatchSetIdHasBeenSet = true; m_xssMatchSetId = std::move(value); } /** *

A unique identifier for an XssMatchSet. You use * XssMatchSetId to get information about a XssMatchSet * (see GetXssMatchSet), update an XssMatchSet (see * UpdateXssMatchSet), insert an XssMatchSet into a * Rule or delete one from a Rule (see * UpdateRule), and delete an XssMatchSet from AWS WAF (see * DeleteXssMatchSet).

XssMatchSetId is returned by * CreateXssMatchSet and by ListXssMatchSets.

*/ inline void SetXssMatchSetId(const char* value) { m_xssMatchSetIdHasBeenSet = true; m_xssMatchSetId.assign(value); } /** *

A unique identifier for an XssMatchSet. You use * XssMatchSetId to get information about a XssMatchSet * (see GetXssMatchSet), update an XssMatchSet (see * UpdateXssMatchSet), insert an XssMatchSet into a * Rule or delete one from a Rule (see * UpdateRule), and delete an XssMatchSet from AWS WAF (see * DeleteXssMatchSet).

XssMatchSetId is returned by * CreateXssMatchSet and by ListXssMatchSets.

*/ inline XssMatchSetSummary& WithXssMatchSetId(const Aws::String& value) { SetXssMatchSetId(value); return *this;} /** *

A unique identifier for an XssMatchSet. You use * XssMatchSetId to get information about a XssMatchSet * (see GetXssMatchSet), update an XssMatchSet (see * UpdateXssMatchSet), insert an XssMatchSet into a * Rule or delete one from a Rule (see * UpdateRule), and delete an XssMatchSet from AWS WAF (see * DeleteXssMatchSet).

XssMatchSetId is returned by * CreateXssMatchSet and by ListXssMatchSets.

*/ inline XssMatchSetSummary& WithXssMatchSetId(Aws::String&& value) { SetXssMatchSetId(std::move(value)); return *this;} /** *

A unique identifier for an XssMatchSet. You use * XssMatchSetId to get information about a XssMatchSet * (see GetXssMatchSet), update an XssMatchSet (see * UpdateXssMatchSet), insert an XssMatchSet into a * Rule or delete one from a Rule (see * UpdateRule), and delete an XssMatchSet from AWS WAF (see * DeleteXssMatchSet).

XssMatchSetId is returned by * CreateXssMatchSet and by ListXssMatchSets.

*/ inline XssMatchSetSummary& WithXssMatchSetId(const char* value) { SetXssMatchSetId(value); return *this;} /** *

The name of the XssMatchSet, if any, specified by * Id.

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

The name of the XssMatchSet, if any, specified by * Id.

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

The name of the XssMatchSet, if any, specified by * Id.

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

The name of the XssMatchSet, if any, specified by * Id.

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

The name of the XssMatchSet, if any, specified by * Id.

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

The name of the XssMatchSet, if any, specified by * Id.

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

The name of the XssMatchSet, if any, specified by * Id.

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

The name of the XssMatchSet, if any, specified by * Id.

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