/** * 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 DeleteRegexPatternSetRequest : public WAFRequest { public: AWS_WAF_API DeleteRegexPatternSetRequest(); // 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 "DeleteRegexPatternSet"; } AWS_WAF_API Aws::String SerializePayload() const override; AWS_WAF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The RegexPatternSetId of the RegexPatternSet that you * want to delete. RegexPatternSetId is returned by * CreateRegexPatternSet and by ListRegexPatternSets.

*/ inline const Aws::String& GetRegexPatternSetId() const{ return m_regexPatternSetId; } /** *

The RegexPatternSetId of the RegexPatternSet that you * want to delete. RegexPatternSetId is returned by * CreateRegexPatternSet and by ListRegexPatternSets.

*/ inline bool RegexPatternSetIdHasBeenSet() const { return m_regexPatternSetIdHasBeenSet; } /** *

The RegexPatternSetId of the RegexPatternSet that you * want to delete. RegexPatternSetId is returned by * CreateRegexPatternSet and by ListRegexPatternSets.

*/ inline void SetRegexPatternSetId(const Aws::String& value) { m_regexPatternSetIdHasBeenSet = true; m_regexPatternSetId = value; } /** *

The RegexPatternSetId of the RegexPatternSet that you * want to delete. RegexPatternSetId is returned by * CreateRegexPatternSet and by ListRegexPatternSets.

*/ inline void SetRegexPatternSetId(Aws::String&& value) { m_regexPatternSetIdHasBeenSet = true; m_regexPatternSetId = std::move(value); } /** *

The RegexPatternSetId of the RegexPatternSet that you * want to delete. RegexPatternSetId is returned by * CreateRegexPatternSet and by ListRegexPatternSets.

*/ inline void SetRegexPatternSetId(const char* value) { m_regexPatternSetIdHasBeenSet = true; m_regexPatternSetId.assign(value); } /** *

The RegexPatternSetId of the RegexPatternSet that you * want to delete. RegexPatternSetId is returned by * CreateRegexPatternSet and by ListRegexPatternSets.

*/ inline DeleteRegexPatternSetRequest& WithRegexPatternSetId(const Aws::String& value) { SetRegexPatternSetId(value); return *this;} /** *

The RegexPatternSetId of the RegexPatternSet that you * want to delete. RegexPatternSetId is returned by * CreateRegexPatternSet and by ListRegexPatternSets.

*/ inline DeleteRegexPatternSetRequest& WithRegexPatternSetId(Aws::String&& value) { SetRegexPatternSetId(std::move(value)); return *this;} /** *

The RegexPatternSetId of the RegexPatternSet that you * want to delete. RegexPatternSetId is returned by * CreateRegexPatternSet and by ListRegexPatternSets.

*/ inline DeleteRegexPatternSetRequest& WithRegexPatternSetId(const char* value) { SetRegexPatternSetId(value); return *this;} /** *

The value returned by the most recent call to GetChangeToken.

*/ inline const Aws::String& GetChangeToken() const{ return m_changeToken; } /** *

The value returned by the most recent call to GetChangeToken.

*/ inline bool ChangeTokenHasBeenSet() const { return m_changeTokenHasBeenSet; } /** *

The value returned by the most recent call to GetChangeToken.

*/ inline void SetChangeToken(const Aws::String& value) { m_changeTokenHasBeenSet = true; m_changeToken = value; } /** *

The value returned by the most recent call to GetChangeToken.

*/ inline void SetChangeToken(Aws::String&& value) { m_changeTokenHasBeenSet = true; m_changeToken = std::move(value); } /** *

The value returned by the most recent call to GetChangeToken.

*/ inline void SetChangeToken(const char* value) { m_changeTokenHasBeenSet = true; m_changeToken.assign(value); } /** *

The value returned by the most recent call to GetChangeToken.

*/ inline DeleteRegexPatternSetRequest& WithChangeToken(const Aws::String& value) { SetChangeToken(value); return *this;} /** *

The value returned by the most recent call to GetChangeToken.

*/ inline DeleteRegexPatternSetRequest& WithChangeToken(Aws::String&& value) { SetChangeToken(std::move(value)); return *this;} /** *

The value returned by the most recent call to GetChangeToken.

*/ inline DeleteRegexPatternSetRequest& WithChangeToken(const char* value) { SetChangeToken(value); return *this;} private: Aws::String m_regexPatternSetId; bool m_regexPatternSetIdHasBeenSet = false; Aws::String m_changeToken; bool m_changeTokenHasBeenSet = false; }; } // namespace Model } // namespace WAF } // namespace Aws