AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GeoMatchSetSummary.h
1
6#pragma once
7#include <aws/waf-regional/WAFRegional_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace WAFRegional
22{
23namespace Model
24{
25
40 {
41 public:
42 AWS_WAFREGIONAL_API GeoMatchSetSummary() = default;
43 AWS_WAFREGIONAL_API GeoMatchSetSummary(Aws::Utils::Json::JsonView jsonValue);
45 AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
54 inline const Aws::String& GetGeoMatchSetId() const { return m_geoMatchSetId; }
55 inline bool GeoMatchSetIdHasBeenSet() const { return m_geoMatchSetIdHasBeenSet; }
56 template<typename GeoMatchSetIdT = Aws::String>
57 void SetGeoMatchSetId(GeoMatchSetIdT&& value) { m_geoMatchSetIdHasBeenSet = true; m_geoMatchSetId = std::forward<GeoMatchSetIdT>(value); }
58 template<typename GeoMatchSetIdT = Aws::String>
59 GeoMatchSetSummary& WithGeoMatchSetId(GeoMatchSetIdT&& value) { SetGeoMatchSetId(std::forward<GeoMatchSetIdT>(value)); return *this;}
61
63
67 inline const Aws::String& GetName() const { return m_name; }
68 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
69 template<typename NameT = Aws::String>
70 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
71 template<typename NameT = Aws::String>
72 GeoMatchSetSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
74 private:
75
76 Aws::String m_geoMatchSetId;
77 bool m_geoMatchSetIdHasBeenSet = false;
78
79 Aws::String m_name;
80 bool m_nameHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace WAFRegional
85} // namespace Aws
void SetGeoMatchSetId(GeoMatchSetIdT &&value)
GeoMatchSetSummary & WithGeoMatchSetId(GeoMatchSetIdT &&value)
AWS_WAFREGIONAL_API GeoMatchSetSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFREGIONAL_API GeoMatchSetSummary()=default
GeoMatchSetSummary & WithName(NameT &&value)
AWS_WAFREGIONAL_API GeoMatchSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue