AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IPSetSummary.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 IPSetSummary();
46
47
49
54 inline const Aws::String& GetIPSetId() const{ return m_iPSetId; }
55 inline bool IPSetIdHasBeenSet() const { return m_iPSetIdHasBeenSet; }
56 inline void SetIPSetId(const Aws::String& value) { m_iPSetIdHasBeenSet = true; m_iPSetId = value; }
57 inline void SetIPSetId(Aws::String&& value) { m_iPSetIdHasBeenSet = true; m_iPSetId = std::move(value); }
58 inline void SetIPSetId(const char* value) { m_iPSetIdHasBeenSet = true; m_iPSetId.assign(value); }
59 inline IPSetSummary& WithIPSetId(const Aws::String& value) { SetIPSetId(value); return *this;}
60 inline IPSetSummary& WithIPSetId(Aws::String&& value) { SetIPSetId(std::move(value)); return *this;}
61 inline IPSetSummary& WithIPSetId(const char* value) { SetIPSetId(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 IPSetSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
75 inline IPSetSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 inline IPSetSummary& WithName(const char* value) { SetName(value); return *this;}
78 private:
79
80 Aws::String m_iPSetId;
81 bool m_iPSetIdHasBeenSet = false;
82
83 Aws::String m_name;
84 bool m_nameHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace WAF
89} // namespace Aws
void SetName(Aws::String &&value)
const Aws::String & GetIPSetId() const
IPSetSummary & WithName(const Aws::String &value)
AWS_WAF_API IPSetSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
IPSetSummary & WithIPSetId(const char *value)
void SetIPSetId(const Aws::String &value)
const Aws::String & GetName() const
IPSetSummary & WithIPSetId(Aws::String &&value)
IPSetSummary & WithIPSetId(const Aws::String &value)
IPSetSummary & WithName(const char *value)
void SetIPSetId(Aws::String &&value)
void SetIPSetId(const char *value)
void SetName(const char *value)
IPSetSummary & WithName(Aws::String &&value)
AWS_WAF_API IPSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue