AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
DescribeScheduleResult.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
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 DescribeScheduleResult() = default;
32
34
37 inline const Aws::Utils::DateTime& GetCreateDate() const { return m_createDate; }
38 template <typename CreateDateT = Aws::Utils::DateTime>
39 void SetCreateDate(CreateDateT&& value) {
40 m_createDateHasBeenSet = true;
41 m_createDate = std::forward<CreateDateT>(value);
42 }
43 template <typename CreateDateT = Aws::Utils::DateTime>
44 DescribeScheduleResult& WithCreateDate(CreateDateT&& value) {
45 SetCreateDate(std::forward<CreateDateT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
55 template <typename CreatedByT = Aws::String>
56 void SetCreatedBy(CreatedByT&& value) {
57 m_createdByHasBeenSet = true;
58 m_createdBy = std::forward<CreatedByT>(value);
59 }
60 template <typename CreatedByT = Aws::String>
62 SetCreatedBy(std::forward<CreatedByT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::Vector<Aws::String>& GetJobNames() const { return m_jobNames; }
72 template <typename JobNamesT = Aws::Vector<Aws::String>>
73 void SetJobNames(JobNamesT&& value) {
74 m_jobNamesHasBeenSet = true;
75 m_jobNames = std::forward<JobNamesT>(value);
76 }
77 template <typename JobNamesT = Aws::Vector<Aws::String>>
79 SetJobNames(std::forward<JobNamesT>(value));
80 return *this;
81 }
82 template <typename JobNamesT = Aws::String>
83 DescribeScheduleResult& AddJobNames(JobNamesT&& value) {
84 m_jobNamesHasBeenSet = true;
85 m_jobNames.emplace_back(std::forward<JobNamesT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
95 template <typename LastModifiedByT = Aws::String>
96 void SetLastModifiedBy(LastModifiedByT&& value) {
97 m_lastModifiedByHasBeenSet = true;
98 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
99 }
100 template <typename LastModifiedByT = Aws::String>
101 DescribeScheduleResult& WithLastModifiedBy(LastModifiedByT&& value) {
102 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
112 template <typename LastModifiedDateT = Aws::Utils::DateTime>
113 void SetLastModifiedDate(LastModifiedDateT&& value) {
114 m_lastModifiedDateHasBeenSet = true;
115 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
116 }
117 template <typename LastModifiedDateT = Aws::Utils::DateTime>
118 DescribeScheduleResult& WithLastModifiedDate(LastModifiedDateT&& value) {
119 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
129 template <typename ResourceArnT = Aws::String>
130 void SetResourceArn(ResourceArnT&& value) {
131 m_resourceArnHasBeenSet = true;
132 m_resourceArn = std::forward<ResourceArnT>(value);
133 }
134 template <typename ResourceArnT = Aws::String>
136 SetResourceArn(std::forward<ResourceArnT>(value));
137 return *this;
138 }
140
142
148 inline const Aws::String& GetCronExpression() const { return m_cronExpression; }
149 template <typename CronExpressionT = Aws::String>
150 void SetCronExpression(CronExpressionT&& value) {
151 m_cronExpressionHasBeenSet = true;
152 m_cronExpression = std::forward<CronExpressionT>(value);
153 }
154 template <typename CronExpressionT = Aws::String>
155 DescribeScheduleResult& WithCronExpression(CronExpressionT&& value) {
156 SetCronExpression(std::forward<CronExpressionT>(value));
157 return *this;
158 }
160
162
165 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
166 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
167 void SetTags(TagsT&& value) {
168 m_tagsHasBeenSet = true;
169 m_tags = std::forward<TagsT>(value);
170 }
171 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
173 SetTags(std::forward<TagsT>(value));
174 return *this;
175 }
176 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
177 DescribeScheduleResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
178 m_tagsHasBeenSet = true;
179 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
180 return *this;
181 }
183
185
188 inline const Aws::String& GetName() const { return m_name; }
189 template <typename NameT = Aws::String>
190 void SetName(NameT&& value) {
191 m_nameHasBeenSet = true;
192 m_name = std::forward<NameT>(value);
193 }
194 template <typename NameT = Aws::String>
196 SetName(std::forward<NameT>(value));
197 return *this;
198 }
200
202
203 inline const Aws::String& GetRequestId() const { return m_requestId; }
204 template <typename RequestIdT = Aws::String>
205 void SetRequestId(RequestIdT&& value) {
206 m_requestIdHasBeenSet = true;
207 m_requestId = std::forward<RequestIdT>(value);
208 }
209 template <typename RequestIdT = Aws::String>
211 SetRequestId(std::forward<RequestIdT>(value));
212 return *this;
213 }
215 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
216
217 private:
218 Aws::Utils::DateTime m_createDate{};
219
220 Aws::String m_createdBy;
221
222 Aws::Vector<Aws::String> m_jobNames;
223
224 Aws::String m_lastModifiedBy;
225
226 Aws::Utils::DateTime m_lastModifiedDate{};
227
228 Aws::String m_resourceArn;
229
230 Aws::String m_cronExpression;
231
233
234 Aws::String m_name;
235
236 Aws::String m_requestId;
237 Aws::Http::HttpResponseCode m_HttpResponseCode;
238 bool m_createDateHasBeenSet = false;
239 bool m_createdByHasBeenSet = false;
240 bool m_jobNamesHasBeenSet = false;
241 bool m_lastModifiedByHasBeenSet = false;
242 bool m_lastModifiedDateHasBeenSet = false;
243 bool m_resourceArnHasBeenSet = false;
244 bool m_cronExpressionHasBeenSet = false;
245 bool m_tagsHasBeenSet = false;
246 bool m_nameHasBeenSet = false;
247 bool m_requestIdHasBeenSet = false;
248};
249
250} // namespace Model
251} // namespace GlueDataBrew
252} // namespace Aws
DescribeScheduleResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
DescribeScheduleResult & AddJobNames(JobNamesT &&value)
const Aws::Utils::DateTime & GetLastModifiedDate() const
DescribeScheduleResult & WithResourceArn(ResourceArnT &&value)
AWS_GLUEDATABREW_API DescribeScheduleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeScheduleResult & WithTags(TagsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Utils::DateTime & GetCreateDate() const
const Aws::Vector< Aws::String > & GetJobNames() const
DescribeScheduleResult & WithJobNames(JobNamesT &&value)
DescribeScheduleResult & WithCronExpression(CronExpressionT &&value)
DescribeScheduleResult & WithCreatedBy(CreatedByT &&value)
DescribeScheduleResult & WithCreateDate(CreateDateT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeScheduleResult & WithName(NameT &&value)
AWS_GLUEDATABREW_API DescribeScheduleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeScheduleResult & WithLastModifiedDate(LastModifiedDateT &&value)
DescribeScheduleResult & WithRequestId(RequestIdT &&value)
DescribeScheduleResult & WithLastModifiedBy(LastModifiedByT &&value)
AWS_GLUEDATABREW_API DescribeScheduleResult()=default
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