/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace WAFV2 { namespace Model { class AWS_WAFV2_API CreateRuleGroupResult { public: CreateRuleGroupResult(); CreateRuleGroupResult(const Aws::AmazonWebServiceResult& result); CreateRuleGroupResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

High-level information about a RuleGroup, returned by operations like * create and list. This provides information like the ID, that you can use to * retrieve and manage a RuleGroup, and the ARN, that you provide to * the RuleGroupReferenceStatement to use the rule group in a * Rule.

*/ inline const RuleGroupSummary& GetSummary() const{ return m_summary; } /** *

High-level information about a RuleGroup, returned by operations like * create and list. This provides information like the ID, that you can use to * retrieve and manage a RuleGroup, and the ARN, that you provide to * the RuleGroupReferenceStatement to use the rule group in a * Rule.

*/ inline void SetSummary(const RuleGroupSummary& value) { m_summary = value; } /** *

High-level information about a RuleGroup, returned by operations like * create and list. This provides information like the ID, that you can use to * retrieve and manage a RuleGroup, and the ARN, that you provide to * the RuleGroupReferenceStatement to use the rule group in a * Rule.

*/ inline void SetSummary(RuleGroupSummary&& value) { m_summary = std::move(value); } /** *

High-level information about a RuleGroup, returned by operations like * create and list. This provides information like the ID, that you can use to * retrieve and manage a RuleGroup, and the ARN, that you provide to * the RuleGroupReferenceStatement to use the rule group in a * Rule.

*/ inline CreateRuleGroupResult& WithSummary(const RuleGroupSummary& value) { SetSummary(value); return *this;} /** *

High-level information about a RuleGroup, returned by operations like * create and list. This provides information like the ID, that you can use to * retrieve and manage a RuleGroup, and the ARN, that you provide to * the RuleGroupReferenceStatement to use the rule group in a * Rule.

*/ inline CreateRuleGroupResult& WithSummary(RuleGroupSummary&& value) { SetSummary(std::move(value)); return *this;} private: RuleGroupSummary m_summary; }; } // namespace Model } // namespace WAFV2 } // namespace Aws