AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
CreateIPSetResult.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/IPSet.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 CreateIPSetResult() = default;
29
31
34 inline const IPSet& GetIPSet() const { return m_iPSet; }
35 template <typename IPSetT = IPSet>
36 void SetIPSet(IPSetT&& value) {
37 m_iPSetHasBeenSet = true;
38 m_iPSet = std::forward<IPSetT>(value);
39 }
40 template <typename IPSetT = IPSet>
41 CreateIPSetResult& WithIPSet(IPSetT&& value) {
42 SetIPSet(std::forward<IPSetT>(value));
43 return *this;
44 }
46
48
54 inline const Aws::String& GetChangeToken() const { return m_changeToken; }
55 template <typename ChangeTokenT = Aws::String>
56 void SetChangeToken(ChangeTokenT&& value) {
57 m_changeTokenHasBeenSet = true;
58 m_changeToken = std::forward<ChangeTokenT>(value);
59 }
60 template <typename ChangeTokenT = Aws::String>
61 CreateIPSetResult& WithChangeToken(ChangeTokenT&& value) {
62 SetChangeToken(std::forward<ChangeTokenT>(value));
63 return *this;
64 }
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template <typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) {
72 m_requestIdHasBeenSet = true;
73 m_requestId = std::forward<RequestIdT>(value);
74 }
75 template <typename RequestIdT = Aws::String>
76 CreateIPSetResult& WithRequestId(RequestIdT&& value) {
77 SetRequestId(std::forward<RequestIdT>(value));
78 return *this;
79 }
81 private:
82 IPSet m_iPSet;
83
84 Aws::String m_changeToken;
85
86 Aws::String m_requestId;
87 bool m_iPSetHasBeenSet = false;
88 bool m_changeTokenHasBeenSet = false;
89 bool m_requestIdHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace WAF
94} // 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)
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