AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeRulesetResult.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/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/databrew/model/Rule.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace GlueDataBrew
28{
29namespace Model
30{
32 {
33 public:
34 AWS_GLUEDATABREW_API DescribeRulesetResult() = default;
37
38
40
43 inline const Aws::String& GetName() const { return m_name; }
44 template<typename NameT = Aws::String>
45 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
46 template<typename NameT = Aws::String>
47 DescribeRulesetResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 template<typename DescriptionT = Aws::String>
56 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
57 template<typename DescriptionT = Aws::String>
58 DescribeRulesetResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
60
62
66 inline const Aws::String& GetTargetArn() const { return m_targetArn; }
67 template<typename TargetArnT = Aws::String>
68 void SetTargetArn(TargetArnT&& value) { m_targetArnHasBeenSet = true; m_targetArn = std::forward<TargetArnT>(value); }
69 template<typename TargetArnT = Aws::String>
70 DescribeRulesetResult& WithTargetArn(TargetArnT&& value) { SetTargetArn(std::forward<TargetArnT>(value)); return *this;}
72
74
78 inline const Aws::Vector<Rule>& GetRules() const { return m_rules; }
79 template<typename RulesT = Aws::Vector<Rule>>
80 void SetRules(RulesT&& value) { m_rulesHasBeenSet = true; m_rules = std::forward<RulesT>(value); }
81 template<typename RulesT = Aws::Vector<Rule>>
82 DescribeRulesetResult& WithRules(RulesT&& value) { SetRules(std::forward<RulesT>(value)); return *this;}
83 template<typename RulesT = Rule>
84 DescribeRulesetResult& AddRules(RulesT&& value) { m_rulesHasBeenSet = true; m_rules.emplace_back(std::forward<RulesT>(value)); return *this; }
86
88
91 inline const Aws::Utils::DateTime& GetCreateDate() const { return m_createDate; }
92 template<typename CreateDateT = Aws::Utils::DateTime>
93 void SetCreateDate(CreateDateT&& value) { m_createDateHasBeenSet = true; m_createDate = std::forward<CreateDateT>(value); }
94 template<typename CreateDateT = Aws::Utils::DateTime>
95 DescribeRulesetResult& WithCreateDate(CreateDateT&& value) { SetCreateDate(std::forward<CreateDateT>(value)); return *this;}
97
99
102 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
103 template<typename CreatedByT = Aws::String>
104 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
105 template<typename CreatedByT = Aws::String>
106 DescribeRulesetResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
108
110
113 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
114 template<typename LastModifiedByT = Aws::String>
115 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
116 template<typename LastModifiedByT = Aws::String>
117 DescribeRulesetResult& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
119
121
124 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
125 template<typename LastModifiedDateT = Aws::Utils::DateTime>
126 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
127 template<typename LastModifiedDateT = Aws::Utils::DateTime>
128 DescribeRulesetResult& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
130
132
135 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
136 template<typename ResourceArnT = Aws::String>
137 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::forward<ResourceArnT>(value); }
138 template<typename ResourceArnT = Aws::String>
139 DescribeRulesetResult& WithResourceArn(ResourceArnT&& value) { SetResourceArn(std::forward<ResourceArnT>(value)); return *this;}
141
143
146 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
147 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
148 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
149 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
150 DescribeRulesetResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
151 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
152 DescribeRulesetResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
153 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
154 }
156
158
159 inline const Aws::String& GetRequestId() const { return m_requestId; }
160 template<typename RequestIdT = Aws::String>
161 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
162 template<typename RequestIdT = Aws::String>
163 DescribeRulesetResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
165 private:
166
167 Aws::String m_name;
168 bool m_nameHasBeenSet = false;
169
170 Aws::String m_description;
171 bool m_descriptionHasBeenSet = false;
172
173 Aws::String m_targetArn;
174 bool m_targetArnHasBeenSet = false;
175
176 Aws::Vector<Rule> m_rules;
177 bool m_rulesHasBeenSet = false;
178
179 Aws::Utils::DateTime m_createDate{};
180 bool m_createDateHasBeenSet = false;
181
182 Aws::String m_createdBy;
183 bool m_createdByHasBeenSet = false;
184
185 Aws::String m_lastModifiedBy;
186 bool m_lastModifiedByHasBeenSet = false;
187
188 Aws::Utils::DateTime m_lastModifiedDate{};
189 bool m_lastModifiedDateHasBeenSet = false;
190
191 Aws::String m_resourceArn;
192 bool m_resourceArnHasBeenSet = false;
193
195 bool m_tagsHasBeenSet = false;
196
197 Aws::String m_requestId;
198 bool m_requestIdHasBeenSet = false;
199 };
200
201} // namespace Model
202} // namespace GlueDataBrew
203} // 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