AWS SDK for C++  1.9.105
AWS SDK for C++
CreateRuleGroupResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace WAFV2
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
42  inline const RuleGroupSummary& GetSummary() const{ return m_summary; }
43 
51  inline void SetSummary(const RuleGroupSummary& value) { m_summary = value; }
52 
60  inline void SetSummary(RuleGroupSummary&& value) { m_summary = std::move(value); }
61 
69  inline CreateRuleGroupResult& WithSummary(const RuleGroupSummary& value) { SetSummary(value); return *this;}
70 
78  inline CreateRuleGroupResult& WithSummary(RuleGroupSummary&& value) { SetSummary(std::move(value)); return *this;}
79 
80  private:
81 
82  RuleGroupSummary m_summary;
83  };
84 
85 } // namespace Model
86 } // namespace WAFV2
87 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::WAFV2::Model::CreateRuleGroupResult::operator=
CreateRuleGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::WAFV2::Model::RuleGroupSummary
Definition: RuleGroupSummary.h:36
Aws::WAFV2::Model::CreateRuleGroupResult::WithSummary
CreateRuleGroupResult & WithSummary(RuleGroupSummary &&value)
Definition: CreateRuleGroupResult.h:78
AWS_WAFV2_API
#define AWS_WAFV2_API
Definition: WAFV2_EXPORTS.h:28
Aws::WAFV2::Model::CreateRuleGroupResult::SetSummary
void SetSummary(RuleGroupSummary &&value)
Definition: CreateRuleGroupResult.h:60
Aws::WAFV2::Model::CreateRuleGroupResult
Definition: CreateRuleGroupResult.h:28
Aws::WAFV2::Model::CreateRuleGroupResult::GetSummary
const RuleGroupSummary & GetSummary() const
Definition: CreateRuleGroupResult.h:42
WAFV2_EXPORTS.h
Aws::WAFV2::Model::CreateRuleGroupResult::SetSummary
void SetSummary(const RuleGroupSummary &value)
Definition: CreateRuleGroupResult.h:51
RuleGroupSummary.h
Aws::WAFV2::Model::CreateRuleGroupResult::CreateRuleGroupResult
CreateRuleGroupResult()
Aws
Definition: AccessManagementClient.h:15
Aws::WAFV2::Model::CreateRuleGroupResult::CreateRuleGroupResult
CreateRuleGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::WAFV2::Model::CreateRuleGroupResult::WithSummary
CreateRuleGroupResult & WithSummary(const RuleGroupSummary &value)
Definition: CreateRuleGroupResult.h:69