/** * 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 WAFRegional { namespace Model { /** */ class GetGeoMatchSetRequest : public WAFRegionalRequest { public: AWS_WAFREGIONAL_API GetGeoMatchSetRequest(); // 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 "GetGeoMatchSet"; } AWS_WAFREGIONAL_API Aws::String SerializePayload() const override; AWS_WAFREGIONAL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The GeoMatchSetId of the GeoMatchSet that you want to * get. GeoMatchSetId is returned by CreateGeoMatchSet and by * ListGeoMatchSets.

*/ inline const Aws::String& GetGeoMatchSetId() const{ return m_geoMatchSetId; } /** *

The GeoMatchSetId of the GeoMatchSet that you want to * get. GeoMatchSetId is returned by CreateGeoMatchSet and by * ListGeoMatchSets.

*/ inline bool GeoMatchSetIdHasBeenSet() const { return m_geoMatchSetIdHasBeenSet; } /** *

The GeoMatchSetId of the GeoMatchSet that you want to * get. GeoMatchSetId is returned by CreateGeoMatchSet and by * ListGeoMatchSets.

*/ inline void SetGeoMatchSetId(const Aws::String& value) { m_geoMatchSetIdHasBeenSet = true; m_geoMatchSetId = value; } /** *

The GeoMatchSetId of the GeoMatchSet that you want to * get. GeoMatchSetId is returned by CreateGeoMatchSet and by * ListGeoMatchSets.

*/ inline void SetGeoMatchSetId(Aws::String&& value) { m_geoMatchSetIdHasBeenSet = true; m_geoMatchSetId = std::move(value); } /** *

The GeoMatchSetId of the GeoMatchSet that you want to * get. GeoMatchSetId is returned by CreateGeoMatchSet and by * ListGeoMatchSets.

*/ inline void SetGeoMatchSetId(const char* value) { m_geoMatchSetIdHasBeenSet = true; m_geoMatchSetId.assign(value); } /** *

The GeoMatchSetId of the GeoMatchSet that you want to * get. GeoMatchSetId is returned by CreateGeoMatchSet and by * ListGeoMatchSets.

*/ inline GetGeoMatchSetRequest& WithGeoMatchSetId(const Aws::String& value) { SetGeoMatchSetId(value); return *this;} /** *

The GeoMatchSetId of the GeoMatchSet that you want to * get. GeoMatchSetId is returned by CreateGeoMatchSet and by * ListGeoMatchSets.

*/ inline GetGeoMatchSetRequest& WithGeoMatchSetId(Aws::String&& value) { SetGeoMatchSetId(std::move(value)); return *this;} /** *

The GeoMatchSetId of the GeoMatchSet that you want to * get. GeoMatchSetId is returned by CreateGeoMatchSet and by * ListGeoMatchSets.

*/ inline GetGeoMatchSetRequest& WithGeoMatchSetId(const char* value) { SetGeoMatchSetId(value); return *this;} private: Aws::String m_geoMatchSetId; bool m_geoMatchSetIdHasBeenSet = false; }; } // namespace Model } // namespace WAFRegional } // namespace Aws