AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateGeoMatchSetResult.h
1
6#pragma once
7#include <aws/waf-regional/WAFRegional_EXPORTS.h>
8#include <aws/waf-regional/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 WAFRegional
25{
26namespace Model
27{
29 {
30 public:
31 AWS_WAFREGIONAL_API CreateGeoMatchSetResult();
34
35
37
42 inline const GeoMatchSet& GetGeoMatchSet() const{ return m_geoMatchSet; }
43 inline void SetGeoMatchSet(const GeoMatchSet& value) { m_geoMatchSet = value; }
44 inline void SetGeoMatchSet(GeoMatchSet&& value) { m_geoMatchSet = std::move(value); }
45 inline CreateGeoMatchSetResult& WithGeoMatchSet(const GeoMatchSet& value) { SetGeoMatchSet(value); return *this;}
46 inline CreateGeoMatchSetResult& WithGeoMatchSet(GeoMatchSet&& value) { SetGeoMatchSet(std::move(value)); return *this;}
48
50
56 inline const Aws::String& GetChangeToken() const{ return m_changeToken; }
57 inline void SetChangeToken(const Aws::String& value) { m_changeToken = value; }
58 inline void SetChangeToken(Aws::String&& value) { m_changeToken = std::move(value); }
59 inline void SetChangeToken(const char* value) { m_changeToken.assign(value); }
60 inline CreateGeoMatchSetResult& WithChangeToken(const Aws::String& value) { SetChangeToken(value); return *this;}
61 inline CreateGeoMatchSetResult& WithChangeToken(Aws::String&& value) { SetChangeToken(std::move(value)); return *this;}
62 inline CreateGeoMatchSetResult& WithChangeToken(const char* value) { SetChangeToken(value); return *this;}
64
66
67 inline const Aws::String& GetRequestId() const{ return m_requestId; }
68 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
69 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
70 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
71 inline CreateGeoMatchSetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
72 inline CreateGeoMatchSetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
73 inline CreateGeoMatchSetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
75 private:
76
77 GeoMatchSet m_geoMatchSet;
78
79 Aws::String m_changeToken;
80
81 Aws::String m_requestId;
82 };
83
84} // namespace Model
85} // namespace WAFRegional
86} // namespace Aws
AWS_WAFREGIONAL_API CreateGeoMatchSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGeoMatchSetResult & WithRequestId(Aws::String &&value)
CreateGeoMatchSetResult & WithChangeToken(const char *value)
CreateGeoMatchSetResult & WithChangeToken(const Aws::String &value)
CreateGeoMatchSetResult & WithChangeToken(Aws::String &&value)
CreateGeoMatchSetResult & WithRequestId(const char *value)
AWS_WAFREGIONAL_API CreateGeoMatchSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateGeoMatchSetResult & WithRequestId(const Aws::String &value)
CreateGeoMatchSetResult & WithGeoMatchSet(const GeoMatchSet &value)
CreateGeoMatchSetResult & WithGeoMatchSet(GeoMatchSet &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue