AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeRulesetResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/databrew/GlueDataBrew_EXPORTS.h>
12#include <aws/databrew/model/Rule.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace GlueDataBrew {
26namespace Model {
28 public:
29 AWS_GLUEDATABREW_API DescribeRulesetResult() = default;
32
34
37 inline const Aws::String& GetName() const { return m_name; }
38 template <typename NameT = Aws::String>
39 void SetName(NameT&& value) {
40 m_nameHasBeenSet = true;
41 m_name = std::forward<NameT>(value);
42 }
43 template <typename NameT = Aws::String>
45 SetName(std::forward<NameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 template <typename DescriptionT = Aws::String>
56 void SetDescription(DescriptionT&& value) {
57 m_descriptionHasBeenSet = true;
58 m_description = std::forward<DescriptionT>(value);
59 }
60 template <typename DescriptionT = Aws::String>
61 DescribeRulesetResult& WithDescription(DescriptionT&& value) {
62 SetDescription(std::forward<DescriptionT>(value));
63 return *this;
64 }
66
68
72 inline const Aws::String& GetTargetArn() const { return m_targetArn; }
73 template <typename TargetArnT = Aws::String>
74 void SetTargetArn(TargetArnT&& value) {
75 m_targetArnHasBeenSet = true;
76 m_targetArn = std::forward<TargetArnT>(value);
77 }
78 template <typename TargetArnT = Aws::String>
79 DescribeRulesetResult& WithTargetArn(TargetArnT&& value) {
80 SetTargetArn(std::forward<TargetArnT>(value));
81 return *this;
82 }
84
86
90 inline const Aws::Vector<Rule>& GetRules() const { return m_rules; }
91 template <typename RulesT = Aws::Vector<Rule>>
92 void SetRules(RulesT&& value) {
93 m_rulesHasBeenSet = true;
94 m_rules = std::forward<RulesT>(value);
95 }
96 template <typename RulesT = Aws::Vector<Rule>>
98 SetRules(std::forward<RulesT>(value));
99 return *this;
100 }
101 template <typename RulesT = Rule>
103 m_rulesHasBeenSet = true;
104 m_rules.emplace_back(std::forward<RulesT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::Utils::DateTime& GetCreateDate() const { return m_createDate; }
114 template <typename CreateDateT = Aws::Utils::DateTime>
115 void SetCreateDate(CreateDateT&& value) {
116 m_createDateHasBeenSet = true;
117 m_createDate = std::forward<CreateDateT>(value);
118 }
119 template <typename CreateDateT = Aws::Utils::DateTime>
120 DescribeRulesetResult& WithCreateDate(CreateDateT&& value) {
121 SetCreateDate(std::forward<CreateDateT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
131 template <typename CreatedByT = Aws::String>
132 void SetCreatedBy(CreatedByT&& value) {
133 m_createdByHasBeenSet = true;
134 m_createdBy = std::forward<CreatedByT>(value);
135 }
136 template <typename CreatedByT = Aws::String>
138 SetCreatedBy(std::forward<CreatedByT>(value));
139 return *this;
140 }
142
144
147 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
148 template <typename LastModifiedByT = Aws::String>
149 void SetLastModifiedBy(LastModifiedByT&& value) {
150 m_lastModifiedByHasBeenSet = true;
151 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
152 }
153 template <typename LastModifiedByT = Aws::String>
154 DescribeRulesetResult& WithLastModifiedBy(LastModifiedByT&& value) {
155 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
156 return *this;
157 }
159
161
164 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
165 template <typename LastModifiedDateT = Aws::Utils::DateTime>
166 void SetLastModifiedDate(LastModifiedDateT&& value) {
167 m_lastModifiedDateHasBeenSet = true;
168 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
169 }
170 template <typename LastModifiedDateT = Aws::Utils::DateTime>
171 DescribeRulesetResult& WithLastModifiedDate(LastModifiedDateT&& value) {
172 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
173 return *this;
174 }
176
178
181 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
182 template <typename ResourceArnT = Aws::String>
183 void SetResourceArn(ResourceArnT&& value) {
184 m_resourceArnHasBeenSet = true;
185 m_resourceArn = std::forward<ResourceArnT>(value);
186 }
187 template <typename ResourceArnT = Aws::String>
188 DescribeRulesetResult& WithResourceArn(ResourceArnT&& value) {
189 SetResourceArn(std::forward<ResourceArnT>(value));
190 return *this;
191 }
193
195
198 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
199 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
200 void SetTags(TagsT&& value) {
201 m_tagsHasBeenSet = true;
202 m_tags = std::forward<TagsT>(value);
203 }
204 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
206 SetTags(std::forward<TagsT>(value));
207 return *this;
208 }
209 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
210 DescribeRulesetResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
211 m_tagsHasBeenSet = true;
212 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
213 return *this;
214 }
216
218
219 inline const Aws::String& GetRequestId() const { return m_requestId; }
220 template <typename RequestIdT = Aws::String>
221 void SetRequestId(RequestIdT&& value) {
222 m_requestIdHasBeenSet = true;
223 m_requestId = std::forward<RequestIdT>(value);
224 }
225 template <typename RequestIdT = Aws::String>
227 SetRequestId(std::forward<RequestIdT>(value));
228 return *this;
229 }
231 private:
232 Aws::String m_name;
233
234 Aws::String m_description;
235
236 Aws::String m_targetArn;
237
238 Aws::Vector<Rule> m_rules;
239
240 Aws::Utils::DateTime m_createDate{};
241
242 Aws::String m_createdBy;
243
244 Aws::String m_lastModifiedBy;
245
246 Aws::Utils::DateTime m_lastModifiedDate{};
247
248 Aws::String m_resourceArn;
249
251
252 Aws::String m_requestId;
253 bool m_nameHasBeenSet = false;
254 bool m_descriptionHasBeenSet = false;
255 bool m_targetArnHasBeenSet = false;
256 bool m_rulesHasBeenSet = false;
257 bool m_createDateHasBeenSet = false;
258 bool m_createdByHasBeenSet = false;
259 bool m_lastModifiedByHasBeenSet = false;
260 bool m_lastModifiedDateHasBeenSet = false;
261 bool m_resourceArnHasBeenSet = false;
262 bool m_tagsHasBeenSet = false;
263 bool m_requestIdHasBeenSet = false;
264};
265
266} // namespace Model
267} // namespace GlueDataBrew
268} // namespace Aws
DescribeRulesetResult & WithLastModifiedBy(LastModifiedByT &&value)
DescribeRulesetResult & WithTargetArn(TargetArnT &&value)
DescribeRulesetResult & WithRequestId(RequestIdT &&value)
DescribeRulesetResult & WithName(NameT &&value)
DescribeRulesetResult & WithCreateDate(CreateDateT &&value)
DescribeRulesetResult & WithTags(TagsT &&value)
DescribeRulesetResult & WithCreatedBy(CreatedByT &&value)
DescribeRulesetResult & AddRules(RulesT &&value)
const Aws::Utils::DateTime & GetCreateDate() const
AWS_GLUEDATABREW_API DescribeRulesetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeRulesetResult & WithDescription(DescriptionT &&value)
DescribeRulesetResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
DescribeRulesetResult & WithRules(RulesT &&value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
AWS_GLUEDATABREW_API DescribeRulesetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_GLUEDATABREW_API DescribeRulesetResult()=default
DescribeRulesetResult & WithLastModifiedDate(LastModifiedDateT &&value)
DescribeRulesetResult & WithResourceArn(ResourceArnT &&value)
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue