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

The IPSetId of the IPSet that you want to get. * IPSetId is returned by CreateIPSet and by * ListIPSets.

*/ inline const Aws::String& GetIPSetId() const{ return m_iPSetId; } /** *

The IPSetId of the IPSet that you want to get. * IPSetId is returned by CreateIPSet and by * ListIPSets.

*/ inline bool IPSetIdHasBeenSet() const { return m_iPSetIdHasBeenSet; } /** *

The IPSetId of the IPSet that you want to get. * IPSetId is returned by CreateIPSet and by * ListIPSets.

*/ inline void SetIPSetId(const Aws::String& value) { m_iPSetIdHasBeenSet = true; m_iPSetId = value; } /** *

The IPSetId of the IPSet that you want to get. * IPSetId is returned by CreateIPSet and by * ListIPSets.

*/ inline void SetIPSetId(Aws::String&& value) { m_iPSetIdHasBeenSet = true; m_iPSetId = std::move(value); } /** *

The IPSetId of the IPSet that you want to get. * IPSetId is returned by CreateIPSet and by * ListIPSets.

*/ inline void SetIPSetId(const char* value) { m_iPSetIdHasBeenSet = true; m_iPSetId.assign(value); } /** *

The IPSetId of the IPSet that you want to get. * IPSetId is returned by CreateIPSet and by * ListIPSets.

*/ inline GetIPSetRequest& WithIPSetId(const Aws::String& value) { SetIPSetId(value); return *this;} /** *

The IPSetId of the IPSet that you want to get. * IPSetId is returned by CreateIPSet and by * ListIPSets.

*/ inline GetIPSetRequest& WithIPSetId(Aws::String&& value) { SetIPSetId(std::move(value)); return *this;} /** *

The IPSetId of the IPSet that you want to get. * IPSetId is returned by CreateIPSet and by * ListIPSets.

*/ inline GetIPSetRequest& WithIPSetId(const char* value) { SetIPSetId(value); return *this;} private: Aws::String m_iPSetId; bool m_iPSetIdHasBeenSet = false; }; } // namespace Model } // namespace WAF } // namespace Aws