AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateXssMatchSetRequest.h
1
6#pragma once
7#include <aws/waf-regional/WAFRegional_EXPORTS.h>
8#include <aws/waf-regional/WAFRegionalRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace WAFRegional
15{
16namespace Model
17{
18
25 {
26 public:
27 AWS_WAFREGIONAL_API CreateXssMatchSetRequest();
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 "CreateXssMatchSet"; }
34
35 AWS_WAFREGIONAL_API Aws::String SerializePayload() const override;
36
37 AWS_WAFREGIONAL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline CreateXssMatchSetRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline CreateXssMatchSetRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline CreateXssMatchSetRequest& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::String& GetChangeToken() const{ return m_changeToken; }
61 inline bool ChangeTokenHasBeenSet() const { return m_changeTokenHasBeenSet; }
62 inline void SetChangeToken(const Aws::String& value) { m_changeTokenHasBeenSet = true; m_changeToken = value; }
63 inline void SetChangeToken(Aws::String&& value) { m_changeTokenHasBeenSet = true; m_changeToken = std::move(value); }
64 inline void SetChangeToken(const char* value) { m_changeTokenHasBeenSet = true; m_changeToken.assign(value); }
65 inline CreateXssMatchSetRequest& WithChangeToken(const Aws::String& value) { SetChangeToken(value); return *this;}
66 inline CreateXssMatchSetRequest& WithChangeToken(Aws::String&& value) { SetChangeToken(std::move(value)); return *this;}
67 inline CreateXssMatchSetRequest& WithChangeToken(const char* value) { SetChangeToken(value); return *this;}
69 private:
70
71 Aws::String m_name;
72 bool m_nameHasBeenSet = false;
73
74 Aws::String m_changeToken;
75 bool m_changeTokenHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace WAFRegional
80} // namespace Aws
CreateXssMatchSetRequest & WithName(const char *value)
CreateXssMatchSetRequest & WithName(const Aws::String &value)
CreateXssMatchSetRequest & WithChangeToken(Aws::String &&value)
AWS_WAFREGIONAL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_WAFREGIONAL_API Aws::String SerializePayload() const override
CreateXssMatchSetRequest & WithName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateXssMatchSetRequest & WithChangeToken(const char *value)
CreateXssMatchSetRequest & WithChangeToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String