/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace WAF { namespace Model { class GetGeoMatchSetResult { public: AWS_WAF_API GetGeoMatchSetResult(); AWS_WAF_API GetGeoMatchSetResult(const Aws::AmazonWebServiceResult& result); AWS_WAF_API GetGeoMatchSetResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the GeoMatchSet that you specified in the * GetGeoMatchSet request. This includes the Type, which * for a GeoMatchContraint is always Country, as well as * the Value, which is the identifier for a specific country.

*/ inline const GeoMatchSet& GetGeoMatchSet() const{ return m_geoMatchSet; } /** *

Information about the GeoMatchSet that you specified in the * GetGeoMatchSet request. This includes the Type, which * for a GeoMatchContraint is always Country, as well as * the Value, which is the identifier for a specific country.

*/ inline void SetGeoMatchSet(const GeoMatchSet& value) { m_geoMatchSet = value; } /** *

Information about the GeoMatchSet that you specified in the * GetGeoMatchSet request. This includes the Type, which * for a GeoMatchContraint is always Country, as well as * the Value, which is the identifier for a specific country.

*/ inline void SetGeoMatchSet(GeoMatchSet&& value) { m_geoMatchSet = std::move(value); } /** *

Information about the GeoMatchSet that you specified in the * GetGeoMatchSet request. This includes the Type, which * for a GeoMatchContraint is always Country, as well as * the Value, which is the identifier for a specific country.

*/ inline GetGeoMatchSetResult& WithGeoMatchSet(const GeoMatchSet& value) { SetGeoMatchSet(value); return *this;} /** *

Information about the GeoMatchSet that you specified in the * GetGeoMatchSet request. This includes the Type, which * for a GeoMatchContraint is always Country, as well as * the Value, which is the identifier for a specific country.

*/ inline GetGeoMatchSetResult& WithGeoMatchSet(GeoMatchSet&& value) { SetGeoMatchSet(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetGeoMatchSetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetGeoMatchSetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetGeoMatchSetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: GeoMatchSet m_geoMatchSet; Aws::String m_requestId; }; } // namespace Model } // namespace WAF } // namespace Aws