AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateGeoMatchSetResult.h
1
6#pragma once
7#include <aws/waf/WAF_EXPORTS.h>
8#include <aws/waf/model/GeoMatchSet.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace WAF
25{
26namespace Model
27{
29 {
30 public:
31 AWS_WAF_API CreateGeoMatchSetResult() = default;
34
35
37
42 inline const GeoMatchSet& GetGeoMatchSet() const { return m_geoMatchSet; }
43 template<typename GeoMatchSetT = GeoMatchSet>
44 void SetGeoMatchSet(GeoMatchSetT&& value) { m_geoMatchSetHasBeenSet = true; m_geoMatchSet = std::forward<GeoMatchSetT>(value); }
45 template<typename GeoMatchSetT = GeoMatchSet>
46 CreateGeoMatchSetResult& WithGeoMatchSet(GeoMatchSetT&& value) { SetGeoMatchSet(std::forward<GeoMatchSetT>(value)); return *this;}
48
50
56 inline const Aws::String& GetChangeToken() const { return m_changeToken; }
57 template<typename ChangeTokenT = Aws::String>
58 void SetChangeToken(ChangeTokenT&& value) { m_changeTokenHasBeenSet = true; m_changeToken = std::forward<ChangeTokenT>(value); }
59 template<typename ChangeTokenT = Aws::String>
60 CreateGeoMatchSetResult& WithChangeToken(ChangeTokenT&& value) { SetChangeToken(std::forward<ChangeTokenT>(value)); return *this;}
62
64
65 inline const Aws::String& GetRequestId() const { return m_requestId; }
66 template<typename RequestIdT = Aws::String>
67 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
68 template<typename RequestIdT = Aws::String>
69 CreateGeoMatchSetResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
71 private:
72
73 GeoMatchSet m_geoMatchSet;
74 bool m_geoMatchSetHasBeenSet = false;
75
76 Aws::String m_changeToken;
77 bool m_changeTokenHasBeenSet = false;
78
79 Aws::String m_requestId;
80 bool m_requestIdHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace WAF
85} // 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)
CreateGeoMatchSetResult & WithGeoMatchSet(GeoMatchSetT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue