AWS SDK for C++

AWS SDK for C++ Version 1.11.769

Loading...
Searching...
No Matches
CreateGeoMatchSetResult.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/GeoMatchSet.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 CreateGeoMatchSetResult() = default;
30
32
37 inline const GeoMatchSet& GetGeoMatchSet() const { return m_geoMatchSet; }
38 template <typename GeoMatchSetT = GeoMatchSet>
39 void SetGeoMatchSet(GeoMatchSetT&& value) {
40 m_geoMatchSetHasBeenSet = true;
41 m_geoMatchSet = std::forward<GeoMatchSetT>(value);
42 }
43 template <typename GeoMatchSetT = GeoMatchSet>
45 SetGeoMatchSet(std::forward<GeoMatchSetT>(value));
46 return *this;
47 }
49
51
57 inline const Aws::String& GetChangeToken() const { return m_changeToken; }
58 template <typename ChangeTokenT = Aws::String>
59 void SetChangeToken(ChangeTokenT&& value) {
60 m_changeTokenHasBeenSet = true;
61 m_changeToken = std::forward<ChangeTokenT>(value);
62 }
63 template <typename ChangeTokenT = Aws::String>
65 SetChangeToken(std::forward<ChangeTokenT>(value));
66 return *this;
67 }
69
71
72 inline const Aws::String& GetRequestId() const { return m_requestId; }
73 template <typename RequestIdT = Aws::String>
74 void SetRequestId(RequestIdT&& value) {
75 m_requestIdHasBeenSet = true;
76 m_requestId = std::forward<RequestIdT>(value);
77 }
78 template <typename RequestIdT = Aws::String>
80 SetRequestId(std::forward<RequestIdT>(value));
81 return *this;
82 }
84 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
85
86 private:
87 GeoMatchSet m_geoMatchSet;
88
89 Aws::String m_changeToken;
90
91 Aws::String m_requestId;
92 Aws::Http::HttpResponseCode m_HttpResponseCode;
93 bool m_geoMatchSetHasBeenSet = false;
94 bool m_changeTokenHasBeenSet = false;
95 bool m_requestIdHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace WAF
100} // namespace Aws
AWS_WAF_API CreateGeoMatchSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_WAF_API CreateGeoMatchSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_WAF_API CreateGeoMatchSetResult()=default
CreateGeoMatchSetResult & WithChangeToken(ChangeTokenT &&value)
CreateGeoMatchSetResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateGeoMatchSetResult & WithGeoMatchSet(GeoMatchSetT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue