AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
37
38
40
43 inline const Aws::String& GetName() const{ return m_name; }
44 inline void SetName(const Aws::String& value) { m_name = value; }
45 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
46 inline void SetName(const char* value) { m_name.assign(value); }
47 inline DescribeRulesetResult& WithName(const Aws::String& value) { SetName(value); return *this;}
48 inline DescribeRulesetResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
49 inline DescribeRulesetResult& WithName(const char* value) { SetName(value); return *this;}
51
53
56 inline const Aws::String& GetDescription() const{ return m_description; }
57 inline void SetDescription(const Aws::String& value) { m_description = value; }
58 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
59 inline void SetDescription(const char* value) { m_description.assign(value); }
60 inline DescribeRulesetResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
61 inline DescribeRulesetResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
62 inline DescribeRulesetResult& WithDescription(const char* value) { SetDescription(value); return *this;}
64
66
70 inline const Aws::String& GetTargetArn() const{ return m_targetArn; }
71 inline void SetTargetArn(const Aws::String& value) { m_targetArn = value; }
72 inline void SetTargetArn(Aws::String&& value) { m_targetArn = std::move(value); }
73 inline void SetTargetArn(const char* value) { m_targetArn.assign(value); }
74 inline DescribeRulesetResult& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;}
75 inline DescribeRulesetResult& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;}
76 inline DescribeRulesetResult& WithTargetArn(const char* value) { SetTargetArn(value); return *this;}
78
80
84 inline const Aws::Vector<Rule>& GetRules() const{ return m_rules; }
85 inline void SetRules(const Aws::Vector<Rule>& value) { m_rules = value; }
86 inline void SetRules(Aws::Vector<Rule>&& value) { m_rules = std::move(value); }
87 inline DescribeRulesetResult& WithRules(const Aws::Vector<Rule>& value) { SetRules(value); return *this;}
88 inline DescribeRulesetResult& WithRules(Aws::Vector<Rule>&& value) { SetRules(std::move(value)); return *this;}
89 inline DescribeRulesetResult& AddRules(const Rule& value) { m_rules.push_back(value); return *this; }
90 inline DescribeRulesetResult& AddRules(Rule&& value) { m_rules.push_back(std::move(value)); return *this; }
92
94
97 inline const Aws::Utils::DateTime& GetCreateDate() const{ return m_createDate; }
98 inline void SetCreateDate(const Aws::Utils::DateTime& value) { m_createDate = value; }
99 inline void SetCreateDate(Aws::Utils::DateTime&& value) { m_createDate = std::move(value); }
100 inline DescribeRulesetResult& WithCreateDate(const Aws::Utils::DateTime& value) { SetCreateDate(value); return *this;}
101 inline DescribeRulesetResult& WithCreateDate(Aws::Utils::DateTime&& value) { SetCreateDate(std::move(value)); return *this;}
103
105
108 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
109 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
110 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
111 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
112 inline DescribeRulesetResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
113 inline DescribeRulesetResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
114 inline DescribeRulesetResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
116
118
121 inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; }
122 inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedBy = value; }
123 inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedBy = std::move(value); }
124 inline void SetLastModifiedBy(const char* value) { m_lastModifiedBy.assign(value); }
125 inline DescribeRulesetResult& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;}
126 inline DescribeRulesetResult& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;}
127 inline DescribeRulesetResult& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;}
129
131
134 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
135 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDate = value; }
136 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDate = std::move(value); }
138 inline DescribeRulesetResult& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
140
142
145 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
146 inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; }
147 inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); }
148 inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); }
149 inline DescribeRulesetResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
150 inline DescribeRulesetResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
151 inline DescribeRulesetResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
153
155
158 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
159 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
160 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
161 inline DescribeRulesetResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
162 inline DescribeRulesetResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
163 inline DescribeRulesetResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
164 inline DescribeRulesetResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
165 inline DescribeRulesetResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
166 inline DescribeRulesetResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
167 inline DescribeRulesetResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
168 inline DescribeRulesetResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
169 inline DescribeRulesetResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
171
173
174 inline const Aws::String& GetRequestId() const{ return m_requestId; }
175 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
176 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
177 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
178 inline DescribeRulesetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
179 inline DescribeRulesetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
180 inline DescribeRulesetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
182 private:
183
184 Aws::String m_name;
185
186 Aws::String m_description;
187
188 Aws::String m_targetArn;
189
190 Aws::Vector<Rule> m_rules;
191
192 Aws::Utils::DateTime m_createDate;
193
194 Aws::String m_createdBy;
195
196 Aws::String m_lastModifiedBy;
197
198 Aws::Utils::DateTime m_lastModifiedDate;
199
200 Aws::String m_resourceArn;
201
203
204 Aws::String m_requestId;
205 };
206
207} // namespace Model
208} // namespace GlueDataBrew
209} // namespace Aws
DescribeRulesetResult & WithTargetArn(Aws::String &&value)
DescribeRulesetResult & WithRequestId(Aws::String &&value)
void SetCreateDate(Aws::Utils::DateTime &&value)
DescribeRulesetResult & AddTags(Aws::String &&key, Aws::String &&value)
DescribeRulesetResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetRules(const Aws::Vector< Rule > &value)
DescribeRulesetResult & WithCreatedBy(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeRulesetResult & WithName(Aws::String &&value)
DescribeRulesetResult & WithDescription(const Aws::String &value)
DescribeRulesetResult & AddRules(const Rule &value)
DescribeRulesetResult & AddTags(Aws::String &&key, const Aws::String &value)
void SetCreateDate(const Aws::Utils::DateTime &value)
DescribeRulesetResult & WithLastModifiedDate(Aws::Utils::DateTime &&value)
DescribeRulesetResult & WithName(const Aws::String &value)
DescribeRulesetResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeRulesetResult & WithDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetCreateDate() const
DescribeRulesetResult & WithRules(Aws::Vector< Rule > &&value)
DescribeRulesetResult & WithRequestId(const char *value)
DescribeRulesetResult & WithTargetArn(const Aws::String &value)
AWS_GLUEDATABREW_API DescribeRulesetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeRulesetResult & WithLastModifiedBy(Aws::String &&value)
DescribeRulesetResult & WithResourceArn(const char *value)
DescribeRulesetResult & AddRules(Rule &&value)
DescribeRulesetResult & WithRules(const Aws::Vector< Rule > &value)
DescribeRulesetResult & WithCreateDate(Aws::Utils::DateTime &&value)
DescribeRulesetResult & WithLastModifiedBy(const char *value)
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
DescribeRulesetResult & AddTags(const char *key, const char *value)
DescribeRulesetResult & AddTags(const char *key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeRulesetResult & WithRequestId(const Aws::String &value)
DescribeRulesetResult & WithResourceArn(Aws::String &&value)
DescribeRulesetResult & AddTags(const Aws::String &key, Aws::String &&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
DescribeRulesetResult & WithLastModifiedBy(const Aws::String &value)
DescribeRulesetResult & WithName(const char *value)
DescribeRulesetResult & WithCreateDate(const Aws::Utils::DateTime &value)
DescribeRulesetResult & WithTargetArn(const char *value)
DescribeRulesetResult & WithLastModifiedDate(const Aws::Utils::DateTime &value)
DescribeRulesetResult & WithDescription(const char *value)
DescribeRulesetResult & AddTags(Aws::String &&key, const char *value)
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
DescribeRulesetResult & WithCreatedBy(const char *value)
DescribeRulesetResult & WithResourceArn(const Aws::String &value)
DescribeRulesetResult & WithCreatedBy(const Aws::String &value)
DescribeRulesetResult & AddTags(const Aws::String &key, const Aws::String &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