AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetIPSetResult.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/model/IPSet.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 WAFV2
25{
26namespace Model
27{
29 {
30 public:
31 AWS_WAFV2_API GetIPSetResult() = default;
34
35
37
40 inline const IPSet& GetIPSet() const { return m_iPSet; }
41 template<typename IPSetT = IPSet>
42 void SetIPSet(IPSetT&& value) { m_iPSetHasBeenSet = true; m_iPSet = std::forward<IPSetT>(value); }
43 template<typename IPSetT = IPSet>
44 GetIPSetResult& WithIPSet(IPSetT&& value) { SetIPSet(std::forward<IPSetT>(value)); return *this;}
46
48
58 inline const Aws::String& GetLockToken() const { return m_lockToken; }
59 template<typename LockTokenT = Aws::String>
60 void SetLockToken(LockTokenT&& value) { m_lockTokenHasBeenSet = true; m_lockToken = std::forward<LockTokenT>(value); }
61 template<typename LockTokenT = Aws::String>
62 GetIPSetResult& WithLockToken(LockTokenT&& value) { SetLockToken(std::forward<LockTokenT>(value)); return *this;}
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template<typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
70 template<typename RequestIdT = Aws::String>
71 GetIPSetResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
73 private:
74
75 IPSet m_iPSet;
76 bool m_iPSetHasBeenSet = false;
77
78 Aws::String m_lockToken;
79 bool m_lockTokenHasBeenSet = false;
80
81 Aws::String m_requestId;
82 bool m_requestIdHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace WAFV2
87} // 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
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