AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
CreateByteMatchSetResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/waf/WAF_EXPORTS.h>
9#include <aws/waf/model/ByteMatchSet.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace WAF {
23namespace Model {
25 public:
26 AWS_WAF_API CreateByteMatchSetResult() = default;
29
31
35 inline const ByteMatchSet& GetByteMatchSet() const { return m_byteMatchSet; }
36 template <typename ByteMatchSetT = ByteMatchSet>
37 void SetByteMatchSet(ByteMatchSetT&& value) {
38 m_byteMatchSetHasBeenSet = true;
39 m_byteMatchSet = std::forward<ByteMatchSetT>(value);
40 }
41 template <typename ByteMatchSetT = ByteMatchSet>
43 SetByteMatchSet(std::forward<ByteMatchSetT>(value));
44 return *this;
45 }
47
49
55 inline const Aws::String& GetChangeToken() const { return m_changeToken; }
56 template <typename ChangeTokenT = Aws::String>
57 void SetChangeToken(ChangeTokenT&& value) {
58 m_changeTokenHasBeenSet = true;
59 m_changeToken = std::forward<ChangeTokenT>(value);
60 }
61 template <typename ChangeTokenT = Aws::String>
63 SetChangeToken(std::forward<ChangeTokenT>(value));
64 return *this;
65 }
67
69
70 inline const Aws::String& GetRequestId() const { return m_requestId; }
71 template <typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) {
73 m_requestIdHasBeenSet = true;
74 m_requestId = std::forward<RequestIdT>(value);
75 }
76 template <typename RequestIdT = Aws::String>
78 SetRequestId(std::forward<RequestIdT>(value));
79 return *this;
80 }
82 private:
83 ByteMatchSet m_byteMatchSet;
84
85 Aws::String m_changeToken;
86
87 Aws::String m_requestId;
88 bool m_byteMatchSetHasBeenSet = false;
89 bool m_changeTokenHasBeenSet = false;
90 bool m_requestIdHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace WAF
95} // namespace Aws
AWS_WAF_API CreateByteMatchSetResult()=default
CreateByteMatchSetResult & WithByteMatchSet(ByteMatchSetT &&value)
AWS_WAF_API CreateByteMatchSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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