AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateXssMatchSetResult.h
1
6#pragma once
7#include <aws/waf-regional/WAFRegional_EXPORTS.h>
8#include <aws/waf-regional/model/XssMatchSet.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 WAFRegional
25{
26namespace Model
27{
35 {
36 public:
37 AWS_WAFREGIONAL_API CreateXssMatchSetResult() = default;
40
41
43
46 inline const XssMatchSet& GetXssMatchSet() const { return m_xssMatchSet; }
47 template<typename XssMatchSetT = XssMatchSet>
48 void SetXssMatchSet(XssMatchSetT&& value) { m_xssMatchSetHasBeenSet = true; m_xssMatchSet = std::forward<XssMatchSetT>(value); }
49 template<typename XssMatchSetT = XssMatchSet>
50 CreateXssMatchSetResult& WithXssMatchSet(XssMatchSetT&& value) { SetXssMatchSet(std::forward<XssMatchSetT>(value)); return *this;}
52
54
60 inline const Aws::String& GetChangeToken() const { return m_changeToken; }
61 template<typename ChangeTokenT = Aws::String>
62 void SetChangeToken(ChangeTokenT&& value) { m_changeTokenHasBeenSet = true; m_changeToken = std::forward<ChangeTokenT>(value); }
63 template<typename ChangeTokenT = Aws::String>
64 CreateXssMatchSetResult& WithChangeToken(ChangeTokenT&& value) { SetChangeToken(std::forward<ChangeTokenT>(value)); return *this;}
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template<typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
72 template<typename RequestIdT = Aws::String>
73 CreateXssMatchSetResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
75 private:
76
77 XssMatchSet m_xssMatchSet;
78 bool m_xssMatchSetHasBeenSet = false;
79
80 Aws::String m_changeToken;
81 bool m_changeTokenHasBeenSet = false;
82
83 Aws::String m_requestId;
84 bool m_requestIdHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace WAFRegional
89} // namespace Aws
CreateXssMatchSetResult & WithChangeToken(ChangeTokenT &&value)
AWS_WAFREGIONAL_API CreateXssMatchSetResult()=default
CreateXssMatchSetResult & WithXssMatchSet(XssMatchSetT &&value)
CreateXssMatchSetResult & WithRequestId(RequestIdT &&value)
AWS_WAFREGIONAL_API CreateXssMatchSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_WAFREGIONAL_API CreateXssMatchSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue