AWS SDK for C++

AWS SDK for C++ Version 1.11.769

Loading...
Searching...
No Matches
GetByteMatchSetResult.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 GetByteMatchSetResult() = default;
30
32
44 inline const ByteMatchSet& GetByteMatchSet() const { return m_byteMatchSet; }
45 template <typename ByteMatchSetT = ByteMatchSet>
46 void SetByteMatchSet(ByteMatchSetT&& value) {
47 m_byteMatchSetHasBeenSet = true;
48 m_byteMatchSet = std::forward<ByteMatchSetT>(value);
49 }
50 template <typename ByteMatchSetT = ByteMatchSet>
51 GetByteMatchSetResult& WithByteMatchSet(ByteMatchSetT&& value) {
52 SetByteMatchSet(std::forward<ByteMatchSetT>(value));
53 return *this;
54 }
56
58
59 inline const Aws::String& GetRequestId() const { return m_requestId; }
60 template <typename RequestIdT = Aws::String>
61 void SetRequestId(RequestIdT&& value) {
62 m_requestIdHasBeenSet = true;
63 m_requestId = std::forward<RequestIdT>(value);
64 }
65 template <typename RequestIdT = Aws::String>
66 GetByteMatchSetResult& WithRequestId(RequestIdT&& value) {
67 SetRequestId(std::forward<RequestIdT>(value));
68 return *this;
69 }
71 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
72
73 private:
74 ByteMatchSet m_byteMatchSet;
75
76 Aws::String m_requestId;
77 Aws::Http::HttpResponseCode m_HttpResponseCode;
78 bool m_byteMatchSetHasBeenSet = false;
79 bool m_requestIdHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace WAF
84} // namespace Aws
void SetByteMatchSet(ByteMatchSetT &&value)
AWS_WAF_API GetByteMatchSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetByteMatchSetResult & WithRequestId(RequestIdT &&value)
GetByteMatchSetResult & WithByteMatchSet(ByteMatchSetT &&value)
AWS_WAF_API GetByteMatchSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_WAF_API GetByteMatchSetResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const ByteMatchSet & GetByteMatchSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue