AWS SDK for C++

AWS SDK for C++ Version 1.11.932

Loading...
Searching...
No Matches
UpdateIPSetResult.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
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 WAFV2 {
23namespace Model {
25 public:
26 AWS_WAFV2_API UpdateIPSetResult() = default;
29
31
36 inline const Aws::String& GetNextLockToken() const { return m_nextLockToken; }
37 template <typename NextLockTokenT = Aws::String>
38 void SetNextLockToken(NextLockTokenT&& value) {
39 m_nextLockTokenHasBeenSet = true;
40 m_nextLockToken = std::forward<NextLockTokenT>(value);
41 }
42 template <typename NextLockTokenT = Aws::String>
43 UpdateIPSetResult& WithNextLockToken(NextLockTokenT&& value) {
44 SetNextLockToken(std::forward<NextLockTokenT>(value));
45 return *this;
46 }
48
50
51 inline const Aws::String& GetRequestId() const { return m_requestId; }
52 template <typename RequestIdT = Aws::String>
53 void SetRequestId(RequestIdT&& value) {
54 m_requestIdHasBeenSet = true;
55 m_requestId = std::forward<RequestIdT>(value);
56 }
57 template <typename RequestIdT = Aws::String>
58 UpdateIPSetResult& WithRequestId(RequestIdT&& value) {
59 SetRequestId(std::forward<RequestIdT>(value));
60 return *this;
61 }
63 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
64
65 private:
66 Aws::String m_nextLockToken;
67
68 Aws::String m_requestId;
69 Aws::Http::HttpResponseCode m_HttpResponseCode;
70 bool m_nextLockTokenHasBeenSet = false;
71 bool m_requestIdHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace WAFV2
76} // namespace Aws
AWS_WAFV2_API UpdateIPSetResult()=default
UpdateIPSetResult & WithRequestId(RequestIdT &&value)
void SetNextLockToken(NextLockTokenT &&value)
AWS_WAFV2_API UpdateIPSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
const Aws::String & GetNextLockToken() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetRequestId(RequestIdT &&value)
AWS_WAFV2_API UpdateIPSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateIPSetResult & WithNextLockToken(NextLockTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue