AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
GeoMatchSetSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/waf/WAF_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace WAF {
20namespace Model {
21
36 public:
37 AWS_WAF_API GeoMatchSetSummary() = default;
41
43
48 inline const Aws::String& GetGeoMatchSetId() const { return m_geoMatchSetId; }
49 inline bool GeoMatchSetIdHasBeenSet() const { return m_geoMatchSetIdHasBeenSet; }
50 template <typename GeoMatchSetIdT = Aws::String>
51 void SetGeoMatchSetId(GeoMatchSetIdT&& value) {
52 m_geoMatchSetIdHasBeenSet = true;
53 m_geoMatchSetId = std::forward<GeoMatchSetIdT>(value);
54 }
55 template <typename GeoMatchSetIdT = Aws::String>
56 GeoMatchSetSummary& WithGeoMatchSetId(GeoMatchSetIdT&& value) {
57 SetGeoMatchSetId(std::forward<GeoMatchSetIdT>(value));
58 return *this;
59 }
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) {
71 m_nameHasBeenSet = true;
72 m_name = std::forward<NameT>(value);
73 }
74 template <typename NameT = Aws::String>
75 GeoMatchSetSummary& WithName(NameT&& value) {
76 SetName(std::forward<NameT>(value));
77 return *this;
78 }
80 private:
81 Aws::String m_geoMatchSetId;
82
83 Aws::String m_name;
84 bool m_geoMatchSetIdHasBeenSet = false;
85 bool m_nameHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace WAF
90} // namespace Aws
AWS_WAF_API GeoMatchSetSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetGeoMatchSetId() const
const Aws::String & GetName() const
void SetGeoMatchSetId(GeoMatchSetIdT &&value)
AWS_WAF_API GeoMatchSetSummary()=default
GeoMatchSetSummary & WithGeoMatchSetId(GeoMatchSetIdT &&value)
GeoMatchSetSummary & WithName(NameT &&value)
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAF_API GeoMatchSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue