AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetWebACLRequest.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 GetWebACLRequest() = default;
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 "GetWebACL"; }
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 template<typename NameT = Aws::String>
46 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
47 template<typename NameT = Aws::String>
48 GetWebACLRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
50
52
61 inline Scope GetScope() const { return m_scope; }
62 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
63 inline void SetScope(Scope value) { m_scopeHasBeenSet = true; m_scope = value; }
64 inline GetWebACLRequest& WithScope(Scope value) { SetScope(value); return *this;}
66
68
73 inline const Aws::String& GetId() const { return m_id; }
74 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
75 template<typename IdT = Aws::String>
76 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
77 template<typename IdT = Aws::String>
78 GetWebACLRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
80
82
85 inline const Aws::String& GetARN() const { return m_aRN; }
86 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
87 template<typename ARNT = Aws::String>
88 void SetARN(ARNT&& value) { m_aRNHasBeenSet = true; m_aRN = std::forward<ARNT>(value); }
89 template<typename ARNT = Aws::String>
90 GetWebACLRequest& WithARN(ARNT&& value) { SetARN(std::forward<ARNT>(value)); return *this;}
92 private:
93
94 Aws::String m_name;
95 bool m_nameHasBeenSet = false;
96
97 Scope m_scope{Scope::NOT_SET};
98 bool m_scopeHasBeenSet = false;
99
100 Aws::String m_id;
101 bool m_idHasBeenSet = false;
102
103 Aws::String m_aRN;
104 bool m_aRNHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace WAFV2
109} // namespace Aws
GetWebACLRequest & WithARN(ARNT &&value)
const Aws::String & GetId() const
GetWebACLRequest & WithName(NameT &&value)
AWS_WAFV2_API GetWebACLRequest()=default
const Aws::String & GetName() const
GetWebACLRequest & WithId(IdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_WAFV2_API Aws::String SerializePayload() const override
const Aws::String & GetARN() const
GetWebACLRequest & WithScope(Scope value)
AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String