AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRuleGroupRequest.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/WAFV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/wafv2/model/Scope.h>
11#include <utility>
12
13namespace Aws
14{
15namespace WAFV2
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_WAFV2_API GetRuleGroupRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetRuleGroup"; }
32
33 AWS_WAFV2_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetName() const{ return m_name; }
44 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
45 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
46 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
47 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
48 inline GetRuleGroupRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
49 inline GetRuleGroupRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
50 inline GetRuleGroupRequest& WithName(const char* value) { SetName(value); return *this;}
52
54
65 inline const Scope& GetScope() const{ return m_scope; }
66 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
67 inline void SetScope(const Scope& value) { m_scopeHasBeenSet = true; m_scope = value; }
68 inline void SetScope(Scope&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
69 inline GetRuleGroupRequest& WithScope(const Scope& value) { SetScope(value); return *this;}
70 inline GetRuleGroupRequest& WithScope(Scope&& value) { SetScope(std::move(value)); return *this;}
72
74
79 inline const Aws::String& GetId() const{ return m_id; }
80 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
81 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
82 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
83 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
84 inline GetRuleGroupRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
85 inline GetRuleGroupRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
86 inline GetRuleGroupRequest& WithId(const char* value) { SetId(value); return *this;}
88
90
93 inline const Aws::String& GetARN() const{ return m_aRN; }
94 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
95 inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
96 inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
97 inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
98 inline GetRuleGroupRequest& WithARN(const Aws::String& value) { SetARN(value); return *this;}
99 inline GetRuleGroupRequest& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
100 inline GetRuleGroupRequest& WithARN(const char* value) { SetARN(value); return *this;}
102 private:
103
104 Aws::String m_name;
105 bool m_nameHasBeenSet = false;
106
107 Scope m_scope;
108 bool m_scopeHasBeenSet = false;
109
110 Aws::String m_id;
111 bool m_idHasBeenSet = false;
112
113 Aws::String m_aRN;
114 bool m_aRNHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace WAFV2
119} // namespace Aws
GetRuleGroupRequest & WithARN(Aws::String &&value)
GetRuleGroupRequest & WithARN(const char *value)
GetRuleGroupRequest & WithScope(const Scope &value)
GetRuleGroupRequest & WithARN(const Aws::String &value)
void SetARN(const Aws::String &value)
void SetId(const Aws::String &value)
GetRuleGroupRequest & WithId(Aws::String &&value)
GetRuleGroupRequest & WithName(const Aws::String &value)
GetRuleGroupRequest & WithId(const char *value)
GetRuleGroupRequest & WithId(const Aws::String &value)
AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_WAFV2_API Aws::String SerializePayload() const override
void SetName(const Aws::String &value)
GetRuleGroupRequest & WithScope(Scope &&value)
virtual const char * GetServiceRequestName() const override
GetRuleGroupRequest & WithName(Aws::String &&value)
GetRuleGroupRequest & WithName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String