/** * 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 * ListByteMatchSets. Each ByteMatchSetSummary object includes * the Name and ByteMatchSetId for one * ByteMatchSet.

See Also:

AWS * API Reference

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

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

ByteMatchSetId is * returned by CreateByteMatchSet and by ListByteMatchSets.

*/ inline const Aws::String& GetByteMatchSetId() const{ return m_byteMatchSetId; } /** *

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

ByteMatchSetId is * returned by CreateByteMatchSet and by ListByteMatchSets.

*/ inline bool ByteMatchSetIdHasBeenSet() const { return m_byteMatchSetIdHasBeenSet; } /** *

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

ByteMatchSetId is * returned by CreateByteMatchSet and by ListByteMatchSets.

*/ inline void SetByteMatchSetId(const Aws::String& value) { m_byteMatchSetIdHasBeenSet = true; m_byteMatchSetId = value; } /** *

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

ByteMatchSetId is * returned by CreateByteMatchSet and by ListByteMatchSets.

*/ inline void SetByteMatchSetId(Aws::String&& value) { m_byteMatchSetIdHasBeenSet = true; m_byteMatchSetId = std::move(value); } /** *

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

ByteMatchSetId is * returned by CreateByteMatchSet and by ListByteMatchSets.

*/ inline void SetByteMatchSetId(const char* value) { m_byteMatchSetIdHasBeenSet = true; m_byteMatchSetId.assign(value); } /** *

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

ByteMatchSetId is * returned by CreateByteMatchSet and by ListByteMatchSets.

*/ inline ByteMatchSetSummary& WithByteMatchSetId(const Aws::String& value) { SetByteMatchSetId(value); return *this;} /** *

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

ByteMatchSetId is * returned by CreateByteMatchSet and by ListByteMatchSets.

*/ inline ByteMatchSetSummary& WithByteMatchSetId(Aws::String&& value) { SetByteMatchSetId(std::move(value)); return *this;} /** *

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

ByteMatchSetId is * returned by CreateByteMatchSet and by ListByteMatchSets.

*/ inline ByteMatchSetSummary& WithByteMatchSetId(const char* value) { SetByteMatchSetId(value); return *this;} /** *

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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