AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
IPSetSummary.h
1
6#pragma once
7#include <aws/waf-regional/WAFRegional_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 WAFRegional
22{
23namespace Model
24{
25
40 {
41 public:
42 AWS_WAFREGIONAL_API IPSetSummary() = default;
43 AWS_WAFREGIONAL_API IPSetSummary(Aws::Utils::Json::JsonView jsonValue);
44 AWS_WAFREGIONAL_API IPSetSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
54 inline const Aws::String& GetIPSetId() const { return m_iPSetId; }
55 inline bool IPSetIdHasBeenSet() const { return m_iPSetIdHasBeenSet; }
56 template<typename IPSetIdT = Aws::String>
57 void SetIPSetId(IPSetIdT&& value) { m_iPSetIdHasBeenSet = true; m_iPSetId = std::forward<IPSetIdT>(value); }
58 template<typename IPSetIdT = Aws::String>
59 IPSetSummary& WithIPSetId(IPSetIdT&& value) { SetIPSetId(std::forward<IPSetIdT>(value)); return *this;}
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) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
71 template<typename NameT = Aws::String>
72 IPSetSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
74 private:
75
76 Aws::String m_iPSetId;
77 bool m_iPSetIdHasBeenSet = false;
78
79 Aws::String m_name;
80 bool m_nameHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace WAFRegional
85} // namespace Aws
void SetIPSetId(IPSetIdT &&value)
IPSetSummary & WithIPSetId(IPSetIdT &&value)
AWS_WAFREGIONAL_API IPSetSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFREGIONAL_API IPSetSummary()=default
const Aws::String & GetName() const
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAFREGIONAL_API IPSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
IPSetSummary & WithName(NameT &&value)
const Aws::String & GetIPSetId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue