AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
DescribeRulesetResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/databrew/GlueDataBrew_EXPORTS.h>
13#include <aws/databrew/model/Rule.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace GlueDataBrew {
27namespace Model {
29 public:
30 AWS_GLUEDATABREW_API DescribeRulesetResult() = default;
33
35
38 inline const Aws::String& GetName() const { return m_name; }
39 template <typename NameT = Aws::String>
40 void SetName(NameT&& value) {
41 m_nameHasBeenSet = true;
42 m_name = std::forward<NameT>(value);
43 }
44 template <typename NameT = Aws::String>
46 SetName(std::forward<NameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetDescription() const { return m_description; }
56 template <typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) {
58 m_descriptionHasBeenSet = true;
59 m_description = std::forward<DescriptionT>(value);
60 }
61 template <typename DescriptionT = Aws::String>
62 DescribeRulesetResult& WithDescription(DescriptionT&& value) {
63 SetDescription(std::forward<DescriptionT>(value));
64 return *this;
65 }
67
69
73 inline const Aws::String& GetTargetArn() const { return m_targetArn; }
74 template <typename TargetArnT = Aws::String>
75 void SetTargetArn(TargetArnT&& value) {
76 m_targetArnHasBeenSet = true;
77 m_targetArn = std::forward<TargetArnT>(value);
78 }
79 template <typename TargetArnT = Aws::String>
80 DescribeRulesetResult& WithTargetArn(TargetArnT&& value) {
81 SetTargetArn(std::forward<TargetArnT>(value));
82 return *this;
83 }
85
87
91 inline const Aws::Vector<Rule>& GetRules() const { return m_rules; }
92 template <typename RulesT = Aws::Vector<Rule>>
93 void SetRules(RulesT&& value) {
94 m_rulesHasBeenSet = true;
95 m_rules = std::forward<RulesT>(value);
96 }
97 template <typename RulesT = Aws::Vector<Rule>>
99 SetRules(std::forward<RulesT>(value));
100 return *this;
101 }
102 template <typename RulesT = Rule>
104 m_rulesHasBeenSet = true;
105 m_rules.emplace_back(std::forward<RulesT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::Utils::DateTime& GetCreateDate() const { return m_createDate; }
115 template <typename CreateDateT = Aws::Utils::DateTime>
116 void SetCreateDate(CreateDateT&& value) {
117 m_createDateHasBeenSet = true;
118 m_createDate = std::forward<CreateDateT>(value);
119 }
120 template <typename CreateDateT = Aws::Utils::DateTime>
121 DescribeRulesetResult& WithCreateDate(CreateDateT&& value) {
122 SetCreateDate(std::forward<CreateDateT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
132 template <typename CreatedByT = Aws::String>
133 void SetCreatedBy(CreatedByT&& value) {
134 m_createdByHasBeenSet = true;
135 m_createdBy = std::forward<CreatedByT>(value);
136 }
137 template <typename CreatedByT = Aws::String>
139 SetCreatedBy(std::forward<CreatedByT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
149 template <typename LastModifiedByT = Aws::String>
150 void SetLastModifiedBy(LastModifiedByT&& value) {
151 m_lastModifiedByHasBeenSet = true;
152 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
153 }
154 template <typename LastModifiedByT = Aws::String>
155 DescribeRulesetResult& WithLastModifiedBy(LastModifiedByT&& value) {
156 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
157 return *this;
158 }
160
162
165 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
166 template <typename LastModifiedDateT = Aws::Utils::DateTime>
167 void SetLastModifiedDate(LastModifiedDateT&& value) {
168 m_lastModifiedDateHasBeenSet = true;
169 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
170 }
171 template <typename LastModifiedDateT = Aws::Utils::DateTime>
172 DescribeRulesetResult& WithLastModifiedDate(LastModifiedDateT&& value) {
173 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
174 return *this;
175 }
177
179
182 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
183 template <typename ResourceArnT = Aws::String>
184 void SetResourceArn(ResourceArnT&& value) {
185 m_resourceArnHasBeenSet = true;
186 m_resourceArn = std::forward<ResourceArnT>(value);
187 }
188 template <typename ResourceArnT = Aws::String>
189 DescribeRulesetResult& WithResourceArn(ResourceArnT&& value) {
190 SetResourceArn(std::forward<ResourceArnT>(value));
191 return *this;
192 }
194
196
199 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
200 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
201 void SetTags(TagsT&& value) {
202 m_tagsHasBeenSet = true;
203 m_tags = std::forward<TagsT>(value);
204 }
205 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
207 SetTags(std::forward<TagsT>(value));
208 return *this;
209 }
210 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
211 DescribeRulesetResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
212 m_tagsHasBeenSet = true;
213 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
214 return *this;
215 }
217
219
220 inline const Aws::String& GetRequestId() const { return m_requestId; }
221 template <typename RequestIdT = Aws::String>
222 void SetRequestId(RequestIdT&& value) {
223 m_requestIdHasBeenSet = true;
224 m_requestId = std::forward<RequestIdT>(value);
225 }
226 template <typename RequestIdT = Aws::String>
228 SetRequestId(std::forward<RequestIdT>(value));
229 return *this;
230 }
232 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
233
234 private:
235 Aws::String m_name;
236
237 Aws::String m_description;
238
239 Aws::String m_targetArn;
240
241 Aws::Vector<Rule> m_rules;
242
243 Aws::Utils::DateTime m_createDate{};
244
245 Aws::String m_createdBy;
246
247 Aws::String m_lastModifiedBy;
248
249 Aws::Utils::DateTime m_lastModifiedDate{};
250
251 Aws::String m_resourceArn;
252
254
255 Aws::String m_requestId;
256 Aws::Http::HttpResponseCode m_HttpResponseCode;
257 bool m_nameHasBeenSet = false;
258 bool m_descriptionHasBeenSet = false;
259 bool m_targetArnHasBeenSet = false;
260 bool m_rulesHasBeenSet = false;
261 bool m_createDateHasBeenSet = false;
262 bool m_createdByHasBeenSet = false;
263 bool m_lastModifiedByHasBeenSet = false;
264 bool m_lastModifiedDateHasBeenSet = false;
265 bool m_resourceArnHasBeenSet = false;
266 bool m_tagsHasBeenSet = false;
267 bool m_requestIdHasBeenSet = false;
268};
269
270} // namespace Model
271} // namespace GlueDataBrew
272} // 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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