AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GeoMatchSetSummary.h
1
6#pragma once
7#include <aws/waf/WAF_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 WAF
22{
23namespace Model
24{
25
40 {
41 public:
42 AWS_WAF_API GeoMatchSetSummary();
46
47
49
54 inline const Aws::String& GetGeoMatchSetId() const{ return m_geoMatchSetId; }
55 inline bool GeoMatchSetIdHasBeenSet() const { return m_geoMatchSetIdHasBeenSet; }
56 inline void SetGeoMatchSetId(const Aws::String& value) { m_geoMatchSetIdHasBeenSet = true; m_geoMatchSetId = value; }
57 inline void SetGeoMatchSetId(Aws::String&& value) { m_geoMatchSetIdHasBeenSet = true; m_geoMatchSetId = std::move(value); }
58 inline void SetGeoMatchSetId(const char* value) { m_geoMatchSetIdHasBeenSet = true; m_geoMatchSetId.assign(value); }
59 inline GeoMatchSetSummary& WithGeoMatchSetId(const Aws::String& value) { SetGeoMatchSetId(value); return *this;}
60 inline GeoMatchSetSummary& WithGeoMatchSetId(Aws::String&& value) { SetGeoMatchSetId(std::move(value)); return *this;}
61 inline GeoMatchSetSummary& WithGeoMatchSetId(const char* value) { SetGeoMatchSetId(value); return *this;}
63
65
69 inline const Aws::String& GetName() const{ return m_name; }
70 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
71 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
72 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
73 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
74 inline GeoMatchSetSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
75 inline GeoMatchSetSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 inline GeoMatchSetSummary& WithName(const char* value) { SetName(value); return *this;}
78 private:
79
80 Aws::String m_geoMatchSetId;
81 bool m_geoMatchSetIdHasBeenSet = false;
82
83 Aws::String m_name;
84 bool m_nameHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace WAF
89} // namespace Aws
void SetGeoMatchSetId(const Aws::String &value)
GeoMatchSetSummary & WithName(const Aws::String &value)
AWS_WAF_API GeoMatchSetSummary(Aws::Utils::Json::JsonView jsonValue)
GeoMatchSetSummary & WithName(Aws::String &&value)
GeoMatchSetSummary & WithGeoMatchSetId(Aws::String &&value)
void SetName(const Aws::String &value)
const Aws::String & GetGeoMatchSetId() const
GeoMatchSetSummary & WithName(const char *value)
const Aws::String & GetName() const
GeoMatchSetSummary & WithGeoMatchSetId(const Aws::String &value)
GeoMatchSetSummary & WithGeoMatchSetId(const char *value)
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGeoMatchSetId(Aws::String &&value)
void SetGeoMatchSetId(const char *value)
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