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

The WebACLId of the WebACL that you want to get. * WebACLId is returned by CreateWebACL and by * ListWebACLs.

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

The WebACLId of the WebACL that you want to get. * WebACLId is returned by CreateWebACL and by * ListWebACLs.

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

The WebACLId of the WebACL that you want to get. * WebACLId is returned by CreateWebACL and by * ListWebACLs.

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

The WebACLId of the WebACL that you want to get. * WebACLId is returned by CreateWebACL and by * ListWebACLs.

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

The WebACLId of the WebACL that you want to get. * WebACLId is returned by CreateWebACL and by * ListWebACLs.

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

The WebACLId of the WebACL that you want to get. * WebACLId is returned by CreateWebACL and by * ListWebACLs.

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

The WebACLId of the WebACL that you want to get. * WebACLId is returned by CreateWebACL and by * ListWebACLs.

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

The WebACLId of the WebACL that you want to get. * WebACLId is returned by CreateWebACL and by * ListWebACLs.

*/ inline GetWebACLRequest& WithWebACLId(const char* value) { SetWebACLId(value); return *this;} private: Aws::String m_webACLId; bool m_webACLIdHasBeenSet = false; }; } // namespace Model } // namespace WAF } // namespace Aws