AWS SDK for C++  1.9.103
AWS SDK for C++
GeoMatchSetSummary.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/waf/WAF_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace WAF
22 {
23 namespace Model
24 {
25 
40  {
41  public:
46 
47 
53  inline const Aws::String& GetGeoMatchSetId() const{ return m_geoMatchSetId; }
54 
60  inline bool GeoMatchSetIdHasBeenSet() const { return m_geoMatchSetIdHasBeenSet; }
61 
67  inline void SetGeoMatchSetId(const Aws::String& value) { m_geoMatchSetIdHasBeenSet = true; m_geoMatchSetId = value; }
68 
74  inline void SetGeoMatchSetId(Aws::String&& value) { m_geoMatchSetIdHasBeenSet = true; m_geoMatchSetId = std::move(value); }
75 
81  inline void SetGeoMatchSetId(const char* value) { m_geoMatchSetIdHasBeenSet = true; m_geoMatchSetId.assign(value); }
82 
88  inline GeoMatchSetSummary& WithGeoMatchSetId(const Aws::String& value) { SetGeoMatchSetId(value); return *this;}
89 
95  inline GeoMatchSetSummary& WithGeoMatchSetId(Aws::String&& value) { SetGeoMatchSetId(std::move(value)); return *this;}
96 
102  inline GeoMatchSetSummary& WithGeoMatchSetId(const char* value) { SetGeoMatchSetId(value); return *this;}
103 
104 
109  inline const Aws::String& GetName() const{ return m_name; }
110 
115  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
116 
121  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
122 
127  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
128 
133  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
134 
139  inline GeoMatchSetSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
140 
145  inline GeoMatchSetSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
146 
151  inline GeoMatchSetSummary& WithName(const char* value) { SetName(value); return *this;}
152 
153  private:
154 
155  Aws::String m_geoMatchSetId;
156  bool m_geoMatchSetIdHasBeenSet;
157 
158  Aws::String m_name;
159  bool m_nameHasBeenSet;
160  };
161 
162 } // namespace Model
163 } // namespace WAF
164 } // namespace Aws
Aws::WAF::Model::GeoMatchSetSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::WAF::Model::GeoMatchSetSummary::WithGeoMatchSetId
GeoMatchSetSummary & WithGeoMatchSetId(Aws::String &&value)
Definition: GeoMatchSetSummary.h:95
Aws::WAF::Model::GeoMatchSetSummary::GetName
const Aws::String & GetName() const
Definition: GeoMatchSetSummary.h:109
AWS_WAF_API
#define AWS_WAF_API
Definition: WAF_EXPORTS.h:28
Aws::WAF::Model::GeoMatchSetSummary::WithGeoMatchSetId
GeoMatchSetSummary & WithGeoMatchSetId(const Aws::String &value)
Definition: GeoMatchSetSummary.h:88
Aws::WAF::Model::GeoMatchSetSummary::GetGeoMatchSetId
const Aws::String & GetGeoMatchSetId() const
Definition: GeoMatchSetSummary.h:53
Aws::WAF::Model::GeoMatchSetSummary::WithName
GeoMatchSetSummary & WithName(const char *value)
Definition: GeoMatchSetSummary.h:151
Aws::WAF::Model::GeoMatchSetSummary::GeoMatchSetIdHasBeenSet
bool GeoMatchSetIdHasBeenSet() const
Definition: GeoMatchSetSummary.h:60
Aws::WAF::Model::GeoMatchSetSummary::WithName
GeoMatchSetSummary & WithName(const Aws::String &value)
Definition: GeoMatchSetSummary.h:139
Aws::WAF::Model::GeoMatchSetSummary::SetName
void SetName(Aws::String &&value)
Definition: GeoMatchSetSummary.h:127
Aws::WAF::Model::GeoMatchSetSummary
Definition: GeoMatchSetSummary.h:40
Aws::WAF::Model::GeoMatchSetSummary::SetGeoMatchSetId
void SetGeoMatchSetId(const Aws::String &value)
Definition: GeoMatchSetSummary.h:67
Aws::WAF::Model::GeoMatchSetSummary::operator=
GeoMatchSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::WAF::Model::GeoMatchSetSummary::GeoMatchSetSummary
GeoMatchSetSummary()
Aws::WAF::Model::GeoMatchSetSummary::WithGeoMatchSetId
GeoMatchSetSummary & WithGeoMatchSetId(const char *value)
Definition: GeoMatchSetSummary.h:102
Aws::WAF::Model::GeoMatchSetSummary::SetGeoMatchSetId
void SetGeoMatchSetId(const char *value)
Definition: GeoMatchSetSummary.h:81
Aws::WAF::Model::GeoMatchSetSummary::WithName
GeoMatchSetSummary & WithName(Aws::String &&value)
Definition: GeoMatchSetSummary.h:145
WAF_EXPORTS.h
Aws::WAF::Model::GeoMatchSetSummary::SetName
void SetName(const char *value)
Definition: GeoMatchSetSummary.h:133
Aws::WAF::Model::GeoMatchSetSummary::SetName
void SetName(const Aws::String &value)
Definition: GeoMatchSetSummary.h:121
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAF::Model::GeoMatchSetSummary::SetGeoMatchSetId
void SetGeoMatchSetId(Aws::String &&value)
Definition: GeoMatchSetSummary.h:74
Aws::WAF::Model::GeoMatchSetSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: GeoMatchSetSummary.h:115
Aws::WAF::Model::GeoMatchSetSummary::GeoMatchSetSummary
GeoMatchSetSummary(Aws::Utils::Json::JsonView jsonValue)