AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
GetGeoMatchSetResult.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 GetGeoMatchSetResult() = default;
30
32
38 inline const GeoMatchSet& GetGeoMatchSet() const { return m_geoMatchSet; }
39 template <typename GeoMatchSetT = GeoMatchSet>
40 void SetGeoMatchSet(GeoMatchSetT&& value) {
41 m_geoMatchSetHasBeenSet = true;
42 m_geoMatchSet = std::forward<GeoMatchSetT>(value);
43 }
44 template <typename GeoMatchSetT = GeoMatchSet>
45 GetGeoMatchSetResult& WithGeoMatchSet(GeoMatchSetT&& value) {
46 SetGeoMatchSet(std::forward<GeoMatchSetT>(value));
47 return *this;
48 }
50
52
53 inline const Aws::String& GetRequestId() const { return m_requestId; }
54 template <typename RequestIdT = Aws::String>
55 void SetRequestId(RequestIdT&& value) {
56 m_requestIdHasBeenSet = true;
57 m_requestId = std::forward<RequestIdT>(value);
58 }
59 template <typename RequestIdT = Aws::String>
60 GetGeoMatchSetResult& WithRequestId(RequestIdT&& value) {
61 SetRequestId(std::forward<RequestIdT>(value));
62 return *this;
63 }
65 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
66
67 private:
68 GeoMatchSet m_geoMatchSet;
69
70 Aws::String m_requestId;
71 Aws::Http::HttpResponseCode m_HttpResponseCode;
72 bool m_geoMatchSetHasBeenSet = false;
73 bool m_requestIdHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace WAF
78} // namespace Aws
AWS_WAF_API GetGeoMatchSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGeoMatchSetResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
AWS_WAF_API GetGeoMatchSetResult()=default
AWS_WAF_API GetGeoMatchSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetGeoMatchSetResult & WithGeoMatchSet(GeoMatchSetT &&value)
const GeoMatchSet & GetGeoMatchSet() const
void SetGeoMatchSet(GeoMatchSetT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue