AWS SDK for C++

AWS SDK for C++ Version 1.11.769

Loading...
Searching...
No Matches
IPSetSummary.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 IPSetSummary() = default;
41
43
48 inline const Aws::String& GetIPSetId() const { return m_iPSetId; }
49 inline bool IPSetIdHasBeenSet() const { return m_iPSetIdHasBeenSet; }
50 template <typename IPSetIdT = Aws::String>
51 void SetIPSetId(IPSetIdT&& value) {
52 m_iPSetIdHasBeenSet = true;
53 m_iPSetId = std::forward<IPSetIdT>(value);
54 }
55 template <typename IPSetIdT = Aws::String>
56 IPSetSummary& WithIPSetId(IPSetIdT&& value) {
57 SetIPSetId(std::forward<IPSetIdT>(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 IPSetSummary& WithName(NameT&& value) {
76 SetName(std::forward<NameT>(value));
77 return *this;
78 }
80 private:
81 Aws::String m_iPSetId;
82
83 Aws::String m_name;
84 bool m_iPSetIdHasBeenSet = false;
85 bool m_nameHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace WAF
90} // namespace Aws
IPSetSummary & WithName(NameT &&value)
void SetName(NameT &&value)
const Aws::String & GetIPSetId() const
AWS_WAF_API IPSetSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIPSetId(IPSetIdT &&value)
const Aws::String & GetName() const
AWS_WAF_API IPSetSummary()=default
IPSetSummary & WithIPSetId(IPSetIdT &&value)
AWS_WAF_API IPSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue