AWS SDK for C++

AWS SDK for C++ Version 1.11.932

Loading...
Searching...
No Matches
GetIPSetResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wafv2/WAFV2_EXPORTS.h>
10#include <aws/wafv2/model/IPSet.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 WAFV2 {
24namespace Model {
26 public:
27 AWS_WAFV2_API GetIPSetResult() = default;
30
32
35 inline const IPSet& GetIPSet() const { return m_iPSet; }
36 template <typename IPSetT = IPSet>
37 void SetIPSet(IPSetT&& value) {
38 m_iPSetHasBeenSet = true;
39 m_iPSet = std::forward<IPSetT>(value);
40 }
41 template <typename IPSetT = IPSet>
42 GetIPSetResult& WithIPSet(IPSetT&& value) {
43 SetIPSet(std::forward<IPSetT>(value));
44 return *this;
45 }
47
49
59 inline const Aws::String& GetLockToken() const { return m_lockToken; }
60 template <typename LockTokenT = Aws::String>
61 void SetLockToken(LockTokenT&& value) {
62 m_lockTokenHasBeenSet = true;
63 m_lockToken = std::forward<LockTokenT>(value);
64 }
65 template <typename LockTokenT = Aws::String>
66 GetIPSetResult& WithLockToken(LockTokenT&& value) {
67 SetLockToken(std::forward<LockTokenT>(value));
68 return *this;
69 }
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template <typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) {
77 m_requestIdHasBeenSet = true;
78 m_requestId = std::forward<RequestIdT>(value);
79 }
80 template <typename RequestIdT = Aws::String>
81 GetIPSetResult& WithRequestId(RequestIdT&& value) {
82 SetRequestId(std::forward<RequestIdT>(value));
83 return *this;
84 }
86 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
87
88 private:
89 IPSet m_iPSet;
90
91 Aws::String m_lockToken;
92
93 Aws::String m_requestId;
94 Aws::Http::HttpResponseCode m_HttpResponseCode;
95 bool m_iPSetHasBeenSet = false;
96 bool m_lockTokenHasBeenSet = false;
97 bool m_requestIdHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace WAFV2
102} // namespace Aws
GetIPSetResult & WithLockToken(LockTokenT &&value)
void SetLockToken(LockTokenT &&value)
AWS_WAFV2_API GetIPSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetRequestId(RequestIdT &&value)
GetIPSetResult & WithIPSet(IPSetT &&value)
GetIPSetResult & WithRequestId(RequestIdT &&value)
AWS_WAFV2_API GetIPSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetLockToken() const
AWS_WAFV2_API GetIPSetResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue