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

Information about the RuleGroup that you specified in the * GetRuleGroup request.

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

Information about the RuleGroup that you specified in the * GetRuleGroup request.

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

Information about the RuleGroup that you specified in the * GetRuleGroup request.

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

Information about the RuleGroup that you specified in the * GetRuleGroup request.

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

Information about the RuleGroup that you specified in the * GetRuleGroup request.

*/ inline GetRuleGroupResult& WithRuleGroup(RuleGroup&& value) { SetRuleGroup(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 GetRuleGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetRuleGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetRuleGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: RuleGroup m_ruleGroup; Aws::String m_requestId; }; } // namespace Model } // namespace WAF } // namespace Aws