AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateRuleGroupResult.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/model/RuleGroupSummary.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace WAFV2
25{
26namespace Model
27{
29 {
30 public:
31 AWS_WAFV2_API CreateRuleGroupResult();
34
35
37
44 inline const RuleGroupSummary& GetSummary() const{ return m_summary; }
45 inline void SetSummary(const RuleGroupSummary& value) { m_summary = value; }
46 inline void SetSummary(RuleGroupSummary&& value) { m_summary = std::move(value); }
47 inline CreateRuleGroupResult& WithSummary(const RuleGroupSummary& value) { SetSummary(value); return *this;}
48 inline CreateRuleGroupResult& WithSummary(RuleGroupSummary&& value) { SetSummary(std::move(value)); return *this;}
50
52
53 inline const Aws::String& GetRequestId() const{ return m_requestId; }
54 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
55 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
56 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
57 inline CreateRuleGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
58 inline CreateRuleGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
59 inline CreateRuleGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
61 private:
62
63 RuleGroupSummary m_summary;
64
65 Aws::String m_requestId;
66 };
67
68} // namespace Model
69} // namespace WAFV2
70} // namespace Aws
AWS_WAFV2_API CreateRuleGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const Aws::String &value)
CreateRuleGroupResult & WithSummary(RuleGroupSummary &&value)
CreateRuleGroupResult & WithRequestId(const Aws::String &value)
const RuleGroupSummary & GetSummary() const
void SetSummary(RuleGroupSummary &&value)
CreateRuleGroupResult & WithSummary(const RuleGroupSummary &value)
AWS_WAFV2_API CreateRuleGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateRuleGroupResult & WithRequestId(Aws::String &&value)
CreateRuleGroupResult & WithRequestId(const char *value)
void SetSummary(const RuleGroupSummary &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue