/** * 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 CreateSqlInjectionMatchSetResult { public: AWS_WAF_API CreateSqlInjectionMatchSetResult(); AWS_WAF_API CreateSqlInjectionMatchSetResult(const Aws::AmazonWebServiceResult& result); AWS_WAF_API 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;} 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 CreateSqlInjectionMatchSetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateSqlInjectionMatchSetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateSqlInjectionMatchSetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: SqlInjectionMatchSet m_sqlInjectionMatchSet; Aws::String m_changeToken; Aws::String m_requestId; }; } // namespace Model } // namespace WAF } // namespace Aws