AWS SDK for C++

AWS SDK for C++ Version 1.11.784

Loading...
Searching...
No Matches
CreateIPSetResult.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/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 WAF {
24namespace Model {
26 public:
27 AWS_WAF_API CreateIPSetResult() = 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 CreateIPSetResult& WithIPSet(IPSetT&& value) {
43 SetIPSet(std::forward<IPSetT>(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>
62 CreateIPSetResult& WithChangeToken(ChangeTokenT&& value) {
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>
77 CreateIPSetResult& WithRequestId(RequestIdT&& value) {
78 SetRequestId(std::forward<RequestIdT>(value));
79 return *this;
80 }
82 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
83
84 private:
85 IPSet m_iPSet;
86
87 Aws::String m_changeToken;
88
89 Aws::String m_requestId;
90 Aws::Http::HttpResponseCode m_HttpResponseCode;
91 bool m_iPSetHasBeenSet = false;
92 bool m_changeTokenHasBeenSet = false;
93 bool m_requestIdHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace WAF
98} // namespace Aws
void SetRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
CreateIPSetResult & WithIPSet(IPSetT &&value)
AWS_WAF_API CreateIPSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetChangeToken() const
CreateIPSetResult & WithChangeToken(ChangeTokenT &&value)
AWS_WAF_API CreateIPSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetChangeToken(ChangeTokenT &&value)
AWS_WAF_API CreateIPSetResult()=default
CreateIPSetResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue