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

An empty RuleGroup.

*/ inline const RuleGroup& GetRuleGroup() const{ return m_ruleGroup; } /** *

An empty RuleGroup.

*/ inline void SetRuleGroup(const RuleGroup& value) { m_ruleGroup = value; } /** *

An empty RuleGroup.

*/ inline void SetRuleGroup(RuleGroup&& value) { m_ruleGroup = std::move(value); } /** *

An empty RuleGroup.

*/ inline CreateRuleGroupResult& WithRuleGroup(const RuleGroup& value) { SetRuleGroup(value); return *this;} /** *

An empty RuleGroup.

*/ inline CreateRuleGroupResult& WithRuleGroup(RuleGroup&& value) { SetRuleGroup(std::move(value)); return *this;} /** *

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

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

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

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

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

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