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/wafv2/WAFV2_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 WAFV2
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_WAFV2_API IPSetSummary() = default;
39 AWS_WAFV2_API IPSetSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetName() const { return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 template<typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
53 template<typename NameT = Aws::String>
54 IPSetSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
56
58
63 inline const Aws::String& GetId() const { return m_id; }
64 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
65 template<typename IdT = Aws::String>
66 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
67 template<typename IdT = Aws::String>
68 IPSetSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 template<typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
79 template<typename DescriptionT = Aws::String>
80 IPSetSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
82
84
94 inline const Aws::String& GetLockToken() const { return m_lockToken; }
95 inline bool LockTokenHasBeenSet() const { return m_lockTokenHasBeenSet; }
96 template<typename LockTokenT = Aws::String>
97 void SetLockToken(LockTokenT&& value) { m_lockTokenHasBeenSet = true; m_lockToken = std::forward<LockTokenT>(value); }
98 template<typename LockTokenT = Aws::String>
99 IPSetSummary& WithLockToken(LockTokenT&& value) { SetLockToken(std::forward<LockTokenT>(value)); return *this;}
101
103
106 inline const Aws::String& GetARN() const { return m_aRN; }
107 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
108 template<typename ARNT = Aws::String>
109 void SetARN(ARNT&& value) { m_aRNHasBeenSet = true; m_aRN = std::forward<ARNT>(value); }
110 template<typename ARNT = Aws::String>
111 IPSetSummary& WithARN(ARNT&& value) { SetARN(std::forward<ARNT>(value)); return *this;}
113 private:
114
115 Aws::String m_name;
116 bool m_nameHasBeenSet = false;
117
118 Aws::String m_id;
119 bool m_idHasBeenSet = false;
120
121 Aws::String m_description;
122 bool m_descriptionHasBeenSet = false;
123
124 Aws::String m_lockToken;
125 bool m_lockTokenHasBeenSet = false;
126
127 Aws::String m_aRN;
128 bool m_aRNHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace WAFV2
133} // namespace Aws
void SetName(NameT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetId() const
AWS_WAFV2_API IPSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
IPSetSummary & WithId(IdT &&value)
IPSetSummary & WithLockToken(LockTokenT &&value)
const Aws::String & GetLockToken() const
const Aws::String & GetName() const
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLockToken(LockTokenT &&value)
const Aws::String & GetARN() const
AWS_WAFV2_API IPSetSummary(Aws::Utils::Json::JsonView jsonValue)
IPSetSummary & WithName(NameT &&value)
IPSetSummary & WithARN(ARNT &&value)
IPSetSummary & WithDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
AWS_WAFV2_API IPSetSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue