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

A request to get a SqlInjectionMatchSet.

See Also:

AWS * API Reference

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

The SqlInjectionMatchSetId of the SqlInjectionMatchSet * that you want to get. SqlInjectionMatchSetId is returned by * CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.

*/ inline const Aws::String& GetSqlInjectionMatchSetId() const{ return m_sqlInjectionMatchSetId; } /** *

The SqlInjectionMatchSetId of the SqlInjectionMatchSet * that you want to get. SqlInjectionMatchSetId is returned by * CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.

*/ inline bool SqlInjectionMatchSetIdHasBeenSet() const { return m_sqlInjectionMatchSetIdHasBeenSet; } /** *

The SqlInjectionMatchSetId of the SqlInjectionMatchSet * that you want to get. SqlInjectionMatchSetId is returned by * CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.

*/ inline void SetSqlInjectionMatchSetId(const Aws::String& value) { m_sqlInjectionMatchSetIdHasBeenSet = true; m_sqlInjectionMatchSetId = value; } /** *

The SqlInjectionMatchSetId of the SqlInjectionMatchSet * that you want to get. SqlInjectionMatchSetId is returned by * CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.

*/ inline void SetSqlInjectionMatchSetId(Aws::String&& value) { m_sqlInjectionMatchSetIdHasBeenSet = true; m_sqlInjectionMatchSetId = std::move(value); } /** *

The SqlInjectionMatchSetId of the SqlInjectionMatchSet * that you want to get. SqlInjectionMatchSetId is returned by * CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.

*/ inline void SetSqlInjectionMatchSetId(const char* value) { m_sqlInjectionMatchSetIdHasBeenSet = true; m_sqlInjectionMatchSetId.assign(value); } /** *

The SqlInjectionMatchSetId of the SqlInjectionMatchSet * that you want to get. SqlInjectionMatchSetId is returned by * CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.

*/ inline GetSqlInjectionMatchSetRequest& WithSqlInjectionMatchSetId(const Aws::String& value) { SetSqlInjectionMatchSetId(value); return *this;} /** *

The SqlInjectionMatchSetId of the SqlInjectionMatchSet * that you want to get. SqlInjectionMatchSetId is returned by * CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.

*/ inline GetSqlInjectionMatchSetRequest& WithSqlInjectionMatchSetId(Aws::String&& value) { SetSqlInjectionMatchSetId(std::move(value)); return *this;} /** *

The SqlInjectionMatchSetId of the SqlInjectionMatchSet * that you want to get. SqlInjectionMatchSetId is returned by * CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.

*/ inline GetSqlInjectionMatchSetRequest& WithSqlInjectionMatchSetId(const char* value) { SetSqlInjectionMatchSetId(value); return *this;} private: Aws::String m_sqlInjectionMatchSetId; bool m_sqlInjectionMatchSetIdHasBeenSet = false; }; } // namespace Model } // namespace WAF } // namespace Aws