AWS SDK for C++  1.9.72
AWS SDK for C++
GetXssMatchSetRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/waf/WAF_EXPORTS.h>
8 #include <aws/waf/WAFRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace WAF
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "GetXssMatchSet"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
45  inline const Aws::String& GetXssMatchSetId() const{ return m_xssMatchSetId; }
46 
52  inline bool XssMatchSetIdHasBeenSet() const { return m_xssMatchSetIdHasBeenSet; }
53 
59  inline void SetXssMatchSetId(const Aws::String& value) { m_xssMatchSetIdHasBeenSet = true; m_xssMatchSetId = value; }
60 
66  inline void SetXssMatchSetId(Aws::String&& value) { m_xssMatchSetIdHasBeenSet = true; m_xssMatchSetId = std::move(value); }
67 
73  inline void SetXssMatchSetId(const char* value) { m_xssMatchSetIdHasBeenSet = true; m_xssMatchSetId.assign(value); }
74 
80  inline GetXssMatchSetRequest& WithXssMatchSetId(const Aws::String& value) { SetXssMatchSetId(value); return *this;}
81 
87  inline GetXssMatchSetRequest& WithXssMatchSetId(Aws::String&& value) { SetXssMatchSetId(std::move(value)); return *this;}
88 
94  inline GetXssMatchSetRequest& WithXssMatchSetId(const char* value) { SetXssMatchSetId(value); return *this;}
95 
96  private:
97 
98  Aws::String m_xssMatchSetId;
99  bool m_xssMatchSetIdHasBeenSet;
100  };
101 
102 } // namespace Model
103 } // namespace WAF
104 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WAF::Model::GetXssMatchSetRequest::WithXssMatchSetId
GetXssMatchSetRequest & WithXssMatchSetId(const Aws::String &value)
Definition: GetXssMatchSetRequest.h:80
Aws::WAF::Model::GetXssMatchSetRequest::XssMatchSetIdHasBeenSet
bool XssMatchSetIdHasBeenSet() const
Definition: GetXssMatchSetRequest.h:52
Aws::WAF::Model::GetXssMatchSetRequest::WithXssMatchSetId
GetXssMatchSetRequest & WithXssMatchSetId(Aws::String &&value)
Definition: GetXssMatchSetRequest.h:87
Aws::WAF::Model::GetXssMatchSetRequest::SetXssMatchSetId
void SetXssMatchSetId(Aws::String &&value)
Definition: GetXssMatchSetRequest.h:66
Aws::WAF::Model::GetXssMatchSetRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_WAF_API
#define AWS_WAF_API
Definition: WAF_EXPORTS.h:28
Aws::WAF::Model::GetXssMatchSetRequest::SetXssMatchSetId
void SetXssMatchSetId(const char *value)
Definition: GetXssMatchSetRequest.h:73
Aws::WAF::Model::GetXssMatchSetRequest::GetXssMatchSetRequest
GetXssMatchSetRequest()
Aws::WAF::Model::GetXssMatchSetRequest::SetXssMatchSetId
void SetXssMatchSetId(const Aws::String &value)
Definition: GetXssMatchSetRequest.h:59
Aws::WAF::Model::GetXssMatchSetRequest
Definition: GetXssMatchSetRequest.h:25
Aws::WAF::Model::GetXssMatchSetRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::WAF::Model::GetXssMatchSetRequest::GetXssMatchSetId
const Aws::String & GetXssMatchSetId() const
Definition: GetXssMatchSetRequest.h:45
AWSString.h
WAF_EXPORTS.h
Aws::WAF::Model::GetXssMatchSetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetXssMatchSetRequest.h:33
WAFRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::WAF::Model::GetXssMatchSetRequest::WithXssMatchSetId
GetXssMatchSetRequest & WithXssMatchSetId(const char *value)
Definition: GetXssMatchSetRequest.h:94
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAF::WAFRequest
Definition: WAFRequest.h:17