AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RulesetItem.h
1
6#pragma once
7#include <aws/databrew/GlueDataBrew_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GlueDataBrew
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_GLUEDATABREW_API RulesetItem();
37 AWS_GLUEDATABREW_API RulesetItem(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GLUEDATABREW_API RulesetItem& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAccountId() const{ return m_accountId; }
47 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
48 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
49 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
50 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
51 inline RulesetItem& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
52 inline RulesetItem& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
53 inline RulesetItem& WithAccountId(const char* value) { SetAccountId(value); return *this;}
55
57
60 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
61 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
62 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
63 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
64 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
65 inline RulesetItem& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
66 inline RulesetItem& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
67 inline RulesetItem& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetCreateDate() const{ return m_createDate; }
75 inline bool CreateDateHasBeenSet() const { return m_createDateHasBeenSet; }
76 inline void SetCreateDate(const Aws::Utils::DateTime& value) { m_createDateHasBeenSet = true; m_createDate = value; }
77 inline void SetCreateDate(Aws::Utils::DateTime&& value) { m_createDateHasBeenSet = true; m_createDate = std::move(value); }
78 inline RulesetItem& WithCreateDate(const Aws::Utils::DateTime& value) { SetCreateDate(value); return *this;}
79 inline RulesetItem& WithCreateDate(Aws::Utils::DateTime&& value) { SetCreateDate(std::move(value)); return *this;}
81
83
86 inline const Aws::String& GetDescription() const{ return m_description; }
87 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
88 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
89 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
90 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
91 inline RulesetItem& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
92 inline RulesetItem& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
93 inline RulesetItem& WithDescription(const char* value) { SetDescription(value); return *this;}
95
97
100 inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; }
101 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
102 inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
103 inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
104 inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); }
105 inline RulesetItem& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;}
106 inline RulesetItem& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;}
107 inline RulesetItem& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;}
109
111
114 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
115 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
116 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
117 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
118 inline RulesetItem& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;}
119 inline RulesetItem& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
121
123
126 inline const Aws::String& GetName() const{ return m_name; }
127 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
128 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
129 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
130 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
131 inline RulesetItem& WithName(const Aws::String& value) { SetName(value); return *this;}
132 inline RulesetItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
133 inline RulesetItem& WithName(const char* value) { SetName(value); return *this;}
135
137
140 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
141 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
142 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
143 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
144 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
145 inline RulesetItem& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
146 inline RulesetItem& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
147 inline RulesetItem& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
149
151
154 inline int GetRuleCount() const{ return m_ruleCount; }
155 inline bool RuleCountHasBeenSet() const { return m_ruleCountHasBeenSet; }
156 inline void SetRuleCount(int value) { m_ruleCountHasBeenSet = true; m_ruleCount = value; }
157 inline RulesetItem& WithRuleCount(int value) { SetRuleCount(value); return *this;}
159
161
164 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
165 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
166 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
167 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
168 inline RulesetItem& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
169 inline RulesetItem& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
170 inline RulesetItem& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
171 inline RulesetItem& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
172 inline RulesetItem& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
173 inline RulesetItem& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
174 inline RulesetItem& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
175 inline RulesetItem& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
176 inline RulesetItem& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
178
180
184 inline const Aws::String& GetTargetArn() const{ return m_targetArn; }
185 inline bool TargetArnHasBeenSet() const { return m_targetArnHasBeenSet; }
186 inline void SetTargetArn(const Aws::String& value) { m_targetArnHasBeenSet = true; m_targetArn = value; }
187 inline void SetTargetArn(Aws::String&& value) { m_targetArnHasBeenSet = true; m_targetArn = std::move(value); }
188 inline void SetTargetArn(const char* value) { m_targetArnHasBeenSet = true; m_targetArn.assign(value); }
189 inline RulesetItem& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;}
190 inline RulesetItem& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;}
191 inline RulesetItem& WithTargetArn(const char* value) { SetTargetArn(value); return *this;}
193 private:
194
195 Aws::String m_accountId;
196 bool m_accountIdHasBeenSet = false;
197
198 Aws::String m_createdBy;
199 bool m_createdByHasBeenSet = false;
200
201 Aws::Utils::DateTime m_createDate;
202 bool m_createDateHasBeenSet = false;
203
204 Aws::String m_description;
205 bool m_descriptionHasBeenSet = false;
206
207 Aws::String m_lastModifiedBy;
208 bool m_lastModifiedByHasBeenSet = false;
209
210 Aws::Utils::DateTime m_lastModifiedDate;
211 bool m_lastModifiedDateHasBeenSet = false;
212
213 Aws::String m_name;
214 bool m_nameHasBeenSet = false;
215
216 Aws::String m_resourceArn;
217 bool m_resourceArnHasBeenSet = false;
218
219 int m_ruleCount;
220 bool m_ruleCountHasBeenSet = false;
221
223 bool m_tagsHasBeenSet = false;
224
225 Aws::String m_targetArn;
226 bool m_targetArnHasBeenSet = false;
227 };
228
229} // namespace Model
230} // namespace GlueDataBrew
231} // namespace Aws
RulesetItem & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetName(Aws::String &&value)
RulesetItem & WithName(Aws::String &&value)
const Aws::String & GetAccountId() const
Definition RulesetItem.h:46
AWS_GLUEDATABREW_API RulesetItem(Aws::Utils::Json::JsonView jsonValue)
RulesetItem & WithDescription(const Aws::String &value)
Definition RulesetItem.h:91
RulesetItem & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::Utils::DateTime & GetCreateDate() const
Definition RulesetItem.h:74
RulesetItem & WithRuleCount(int value)
void SetCreateDate(Aws::Utils::DateTime &&value)
Definition RulesetItem.h:77
RulesetItem & WithCreatedBy(const char *value)
Definition RulesetItem.h:67
void SetTargetArn(const char *value)
RulesetItem & WithResourceArn(const Aws::String &value)
RulesetItem & AddTags(Aws::String &&key, const char *value)
RulesetItem & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
RulesetItem & WithDescription(const char *value)
Definition RulesetItem.h:93
void SetCreatedBy(Aws::String &&value)
Definition RulesetItem.h:63
AWS_GLUEDATABREW_API RulesetItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetCreatedBy() const
Definition RulesetItem.h:60
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
RulesetItem & WithLastModifiedDate(Aws::Utils::DateTime &&value)
RulesetItem & WithName(const Aws::String &value)
RulesetItem & WithName(const char *value)
void SetTargetArn(const Aws::String &value)
const Aws::String & GetResourceArn() const
const Aws::String & GetTargetArn() const
RulesetItem & AddTags(const char *key, const char *value)
void SetResourceArn(const Aws::String &value)
void SetCreateDate(const Aws::Utils::DateTime &value)
Definition RulesetItem.h:76
RulesetItem & WithLastModifiedBy(const Aws::String &value)
RulesetItem & WithLastModifiedDate(const Aws::Utils::DateTime &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetResourceArn(Aws::String &&value)
void SetAccountId(Aws::String &&value)
Definition RulesetItem.h:49
RulesetItem & WithLastModifiedBy(Aws::String &&value)
RulesetItem & WithAccountId(const char *value)
Definition RulesetItem.h:53
AWS_GLUEDATABREW_API RulesetItem()
RulesetItem & AddTags(const Aws::String &key, const Aws::String &value)
RulesetItem & WithTargetArn(const Aws::String &value)
RulesetItem & WithDescription(Aws::String &&value)
Definition RulesetItem.h:92
void SetDescription(const Aws::String &value)
Definition RulesetItem.h:88
RulesetItem & WithAccountId(Aws::String &&value)
Definition RulesetItem.h:52
void SetName(const char *value)
void SetCreatedBy(const char *value)
Definition RulesetItem.h:64
void SetResourceArn(const char *value)
const Aws::String & GetLastModifiedBy() const
RulesetItem & WithResourceArn(const char *value)
RulesetItem & AddTags(const Aws::String &key, Aws::String &&value)
RulesetItem & WithCreatedBy(Aws::String &&value)
Definition RulesetItem.h:66
RulesetItem & AddTags(Aws::String &&key, const Aws::String &value)
void SetAccountId(const Aws::String &value)
Definition RulesetItem.h:48
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
RulesetItem & WithLastModifiedBy(const char *value)
void SetLastModifiedBy(Aws::String &&value)
RulesetItem & AddTags(const char *key, Aws::String &&value)
RulesetItem & WithCreatedBy(const Aws::String &value)
Definition RulesetItem.h:65
void SetDescription(Aws::String &&value)
Definition RulesetItem.h:89
void SetDescription(const char *value)
Definition RulesetItem.h:90
RulesetItem & WithTargetArn(Aws::String &&value)
RulesetItem & WithAccountId(const Aws::String &value)
Definition RulesetItem.h:51
RulesetItem & WithResourceArn(Aws::String &&value)
RulesetItem & WithCreateDate(Aws::Utils::DateTime &&value)
Definition RulesetItem.h:79
void SetTargetArn(Aws::String &&value)
void SetLastModifiedBy(const Aws::String &value)
void SetLastModifiedBy(const char *value)
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
void SetName(const Aws::String &value)
RulesetItem & WithCreateDate(const Aws::Utils::DateTime &value)
Definition RulesetItem.h:78
const Aws::Utils::DateTime & GetLastModifiedDate() const
const Aws::String & GetName() const
RulesetItem & WithTargetArn(const char *value)
void SetAccountId(const char *value)
Definition RulesetItem.h:50
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDescription() const
Definition RulesetItem.h:86
void SetCreatedBy(const Aws::String &value)
Definition RulesetItem.h:62
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue