/** * 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 { /** *

The response to a CreateSqlInjectionMatchSet * request.

See Also:

AWS * API Reference

*/ class AWS_WAF_API CreateSqlInjectionMatchSetResult { public: CreateSqlInjectionMatchSetResult(); CreateSqlInjectionMatchSetResult(const Aws::AmazonWebServiceResult& result); CreateSqlInjectionMatchSetResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A SqlInjectionMatchSet.

*/ inline const SqlInjectionMatchSet& GetSqlInjectionMatchSet() const{ return m_sqlInjectionMatchSet; } /** *

A SqlInjectionMatchSet.

*/ inline void SetSqlInjectionMatchSet(const SqlInjectionMatchSet& value) { m_sqlInjectionMatchSet = value; } /** *

A SqlInjectionMatchSet.

*/ inline void SetSqlInjectionMatchSet(SqlInjectionMatchSet&& value) { m_sqlInjectionMatchSet = std::move(value); } /** *

A SqlInjectionMatchSet.

*/ inline CreateSqlInjectionMatchSetResult& WithSqlInjectionMatchSet(const SqlInjectionMatchSet& value) { SetSqlInjectionMatchSet(value); return *this;} /** *

A SqlInjectionMatchSet.

*/ inline CreateSqlInjectionMatchSetResult& WithSqlInjectionMatchSet(SqlInjectionMatchSet&& value) { SetSqlInjectionMatchSet(std::move(value)); return *this;} /** *

The ChangeToken that you used to submit the * CreateSqlInjectionMatchSet 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 * CreateSqlInjectionMatchSet 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 * CreateSqlInjectionMatchSet 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 * CreateSqlInjectionMatchSet 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 * CreateSqlInjectionMatchSet request. You can also use this value to * query the status of the request. For more information, see * GetChangeTokenStatus.

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

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

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

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

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