/** * 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 AWS_WAF_API CreateGeoMatchSetResult { public: CreateGeoMatchSetResult(); CreateGeoMatchSetResult(const Aws::AmazonWebServiceResult& result); CreateGeoMatchSetResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The GeoMatchSet returned in the CreateGeoMatchSet * response. The GeoMatchSet contains no * GeoMatchConstraints.

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

The GeoMatchSet returned in the CreateGeoMatchSet * response. The GeoMatchSet contains no * GeoMatchConstraints.

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

The GeoMatchSet returned in the CreateGeoMatchSet * response. The GeoMatchSet contains no * GeoMatchConstraints.

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

The GeoMatchSet returned in the CreateGeoMatchSet * response. The GeoMatchSet contains no * GeoMatchConstraints.

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

The GeoMatchSet returned in the CreateGeoMatchSet * response. The GeoMatchSet contains no * GeoMatchConstraints.

*/ inline CreateGeoMatchSetResult& WithGeoMatchSet(GeoMatchSet&& value) { SetGeoMatchSet(std::move(value)); return *this;} /** *

The ChangeToken that you used to submit the * CreateGeoMatchSet request. You can also use this value to query the * status of the request. For more information, see * GetChangeTokenStatus.

*/ inline const Aws::String& GetChangeToken() const{ return m_changeToken; } /** *

The ChangeToken that you used to submit the * CreateGeoMatchSet request. You can also use this value to query the * status of the request. For more information, see * GetChangeTokenStatus.

*/ inline void SetChangeToken(const Aws::String& value) { m_changeToken = value; } /** *

The ChangeToken that you used to submit the * CreateGeoMatchSet request. You can also use this value to query the * status of the request. For more information, see * GetChangeTokenStatus.

*/ inline void SetChangeToken(Aws::String&& value) { m_changeToken = std::move(value); } /** *

The ChangeToken that you used to submit the * CreateGeoMatchSet request. You can also use this value to query the * status of the request. For more information, see * GetChangeTokenStatus.

*/ inline void SetChangeToken(const char* value) { m_changeToken.assign(value); } /** *

The ChangeToken that you used to submit the * CreateGeoMatchSet request. You can also use this value to query the * status of the request. For more information, see * GetChangeTokenStatus.

*/ inline CreateGeoMatchSetResult& WithChangeToken(const Aws::String& value) { SetChangeToken(value); return *this;} /** *

The ChangeToken that you used to submit the * CreateGeoMatchSet request. You can also use this value to query the * status of the request. For more information, see * GetChangeTokenStatus.

*/ inline CreateGeoMatchSetResult& WithChangeToken(Aws::String&& value) { SetChangeToken(std::move(value)); return *this;} /** *

The ChangeToken that you used to submit the * CreateGeoMatchSet request. You can also use this value to query the * status of the request. For more information, see * GetChangeTokenStatus.

*/ inline CreateGeoMatchSetResult& WithChangeToken(const char* value) { SetChangeToken(value); return *this;} private: GeoMatchSet m_geoMatchSet; Aws::String m_changeToken; }; } // namespace Model } // namespace WAF } // namespace Aws