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/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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
54 inline IPSetSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline IPSetSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline IPSetSummary& WithName(const char* value) { SetName(value); return *this;}
58
60
65 inline const Aws::String& GetId() const{ return m_id; }
66 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
67 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
68 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
69 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
70 inline IPSetSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
71 inline IPSetSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
72 inline IPSetSummary& WithId(const char* value) { SetId(value); return *this;}
74
76
79 inline const Aws::String& GetDescription() const{ return m_description; }
80 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
81 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
82 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
83 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
84 inline IPSetSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
85 inline IPSetSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
86 inline IPSetSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
88
90
100 inline const Aws::String& GetLockToken() const{ return m_lockToken; }
101 inline bool LockTokenHasBeenSet() const { return m_lockTokenHasBeenSet; }
102 inline void SetLockToken(const Aws::String& value) { m_lockTokenHasBeenSet = true; m_lockToken = value; }
103 inline void SetLockToken(Aws::String&& value) { m_lockTokenHasBeenSet = true; m_lockToken = std::move(value); }
104 inline void SetLockToken(const char* value) { m_lockTokenHasBeenSet = true; m_lockToken.assign(value); }
105 inline IPSetSummary& WithLockToken(const Aws::String& value) { SetLockToken(value); return *this;}
106 inline IPSetSummary& WithLockToken(Aws::String&& value) { SetLockToken(std::move(value)); return *this;}
107 inline IPSetSummary& WithLockToken(const char* value) { SetLockToken(value); return *this;}
109
111
114 inline const Aws::String& GetARN() const{ return m_aRN; }
115 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
116 inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; }
117 inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); }
118 inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); }
119 inline IPSetSummary& WithARN(const Aws::String& value) { SetARN(value); return *this;}
120 inline IPSetSummary& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;}
121 inline IPSetSummary& WithARN(const char* value) { SetARN(value); return *this;}
123 private:
124
125 Aws::String m_name;
126 bool m_nameHasBeenSet = false;
127
128 Aws::String m_id;
129 bool m_idHasBeenSet = false;
130
131 Aws::String m_description;
132 bool m_descriptionHasBeenSet = false;
133
134 Aws::String m_lockToken;
135 bool m_lockTokenHasBeenSet = false;
136
137 Aws::String m_aRN;
138 bool m_aRNHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace WAFV2
143} // namespace Aws
IPSetSummary & WithARN(const char *value)
void SetId(const char *value)
IPSetSummary & WithARN(const Aws::String &value)
const Aws::String & GetId() const
IPSetSummary & WithDescription(const Aws::String &value)
AWS_WAFV2_API IPSetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
IPSetSummary & WithId(Aws::String &&value)
void SetARN(const Aws::String &value)
const Aws::String & GetLockToken() const
const Aws::String & GetName() const
IPSetSummary & WithId(const char *value)
void SetLockToken(Aws::String &&value)
IPSetSummary & WithLockToken(const char *value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(Aws::String &&value)
IPSetSummary & WithName(const char *value)
void SetDescription(const Aws::String &value)
void SetLockToken(const char *value)
void SetId(Aws::String &&value)
IPSetSummary & WithARN(Aws::String &&value)
IPSetSummary & WithId(const Aws::String &value)
void SetARN(const char *value)
IPSetSummary & WithLockToken(Aws::String &&value)
const Aws::String & GetARN() const
void SetDescription(const char *value)
AWS_WAFV2_API IPSetSummary(Aws::Utils::Json::JsonView jsonValue)
void SetName(const char *value)
IPSetSummary & WithName(const Aws::String &value)
IPSetSummary & WithName(Aws::String &&value)
const Aws::String & GetDescription() const
void SetDescription(Aws::String &&value)
IPSetSummary & WithLockToken(const Aws::String &value)
void SetName(const Aws::String &value)
void SetARN(Aws::String &&value)
IPSetSummary & WithDescription(Aws::String &&value)
void SetId(const Aws::String &value)
void SetLockToken(const Aws::String &value)
IPSetSummary & WithDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue