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

Contains the identifier * and the name or description of the WebACL.

See Also:

AWS * API Reference

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

A unique identifier for a WebACL. You use WebACLId * to get information about a WebACL (see GetWebACL), update a * WebACL (see UpdateWebACL), and delete a WebACL * from AWS WAF (see DeleteWebACL).

WebACLId is * returned by CreateWebACL and by ListWebACLs.

*/ inline const Aws::String& GetWebACLId() const{ return m_webACLId; } /** *

A unique identifier for a WebACL. You use WebACLId * to get information about a WebACL (see GetWebACL), update a * WebACL (see UpdateWebACL), and delete a WebACL * from AWS WAF (see DeleteWebACL).

WebACLId is * returned by CreateWebACL and by ListWebACLs.

*/ inline bool WebACLIdHasBeenSet() const { return m_webACLIdHasBeenSet; } /** *

A unique identifier for a WebACL. You use WebACLId * to get information about a WebACL (see GetWebACL), update a * WebACL (see UpdateWebACL), and delete a WebACL * from AWS WAF (see DeleteWebACL).

WebACLId is * returned by CreateWebACL and by ListWebACLs.

*/ inline void SetWebACLId(const Aws::String& value) { m_webACLIdHasBeenSet = true; m_webACLId = value; } /** *

A unique identifier for a WebACL. You use WebACLId * to get information about a WebACL (see GetWebACL), update a * WebACL (see UpdateWebACL), and delete a WebACL * from AWS WAF (see DeleteWebACL).

WebACLId is * returned by CreateWebACL and by ListWebACLs.

*/ inline void SetWebACLId(Aws::String&& value) { m_webACLIdHasBeenSet = true; m_webACLId = std::move(value); } /** *

A unique identifier for a WebACL. You use WebACLId * to get information about a WebACL (see GetWebACL), update a * WebACL (see UpdateWebACL), and delete a WebACL * from AWS WAF (see DeleteWebACL).

WebACLId is * returned by CreateWebACL and by ListWebACLs.

*/ inline void SetWebACLId(const char* value) { m_webACLIdHasBeenSet = true; m_webACLId.assign(value); } /** *

A unique identifier for a WebACL. You use WebACLId * to get information about a WebACL (see GetWebACL), update a * WebACL (see UpdateWebACL), and delete a WebACL * from AWS WAF (see DeleteWebACL).

WebACLId is * returned by CreateWebACL and by ListWebACLs.

*/ inline WebACLSummary& WithWebACLId(const Aws::String& value) { SetWebACLId(value); return *this;} /** *

A unique identifier for a WebACL. You use WebACLId * to get information about a WebACL (see GetWebACL), update a * WebACL (see UpdateWebACL), and delete a WebACL * from AWS WAF (see DeleteWebACL).

WebACLId is * returned by CreateWebACL and by ListWebACLs.

*/ inline WebACLSummary& WithWebACLId(Aws::String&& value) { SetWebACLId(std::move(value)); return *this;} /** *

A unique identifier for a WebACL. You use WebACLId * to get information about a WebACL (see GetWebACL), update a * WebACL (see UpdateWebACL), and delete a WebACL * from AWS WAF (see DeleteWebACL).

WebACLId is * returned by CreateWebACL and by ListWebACLs.

*/ inline WebACLSummary& WithWebACLId(const char* value) { SetWebACLId(value); return *this;} /** *

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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