AWS SDK for C++

AWS SDK for C++ Version 1.11.780

Loading...
Searching...
No Matches
CreateByteMatchSetResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/waf/WAF_EXPORTS.h>
10#include <aws/waf/model/ByteMatchSet.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace WAF {
24namespace Model {
26 public:
27 AWS_WAF_API CreateByteMatchSetResult() = default;
30
32
36 inline const ByteMatchSet& GetByteMatchSet() const { return m_byteMatchSet; }
37 template <typename ByteMatchSetT = ByteMatchSet>
38 void SetByteMatchSet(ByteMatchSetT&& value) {
39 m_byteMatchSetHasBeenSet = true;
40 m_byteMatchSet = std::forward<ByteMatchSetT>(value);
41 }
42 template <typename ByteMatchSetT = ByteMatchSet>
44 SetByteMatchSet(std::forward<ByteMatchSetT>(value));
45 return *this;
46 }
48
50
56 inline const Aws::String& GetChangeToken() const { return m_changeToken; }
57 template <typename ChangeTokenT = Aws::String>
58 void SetChangeToken(ChangeTokenT&& value) {
59 m_changeTokenHasBeenSet = true;
60 m_changeToken = std::forward<ChangeTokenT>(value);
61 }
62 template <typename ChangeTokenT = Aws::String>
64 SetChangeToken(std::forward<ChangeTokenT>(value));
65 return *this;
66 }
68
70
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template <typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) {
74 m_requestIdHasBeenSet = true;
75 m_requestId = std::forward<RequestIdT>(value);
76 }
77 template <typename RequestIdT = Aws::String>
79 SetRequestId(std::forward<RequestIdT>(value));
80 return *this;
81 }
83 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
84
85 private:
86 ByteMatchSet m_byteMatchSet;
87
88 Aws::String m_changeToken;
89
90 Aws::String m_requestId;
91 Aws::Http::HttpResponseCode m_HttpResponseCode;
92 bool m_byteMatchSetHasBeenSet = false;
93 bool m_changeTokenHasBeenSet = false;
94 bool m_requestIdHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace WAF
99} // namespace Aws
AWS_WAF_API CreateByteMatchSetResult()=default
CreateByteMatchSetResult & WithByteMatchSet(ByteMatchSetT &&value)
AWS_WAF_API CreateByteMatchSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateByteMatchSetResult & WithChangeToken(ChangeTokenT &&value)
AWS_WAF_API CreateByteMatchSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateByteMatchSetResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue