AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DescribeScheduleResult.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
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace GlueDataBrew {
25namespace Model {
27 public:
28 AWS_GLUEDATABREW_API DescribeScheduleResult() = default;
31
33
36 inline const Aws::Utils::DateTime& GetCreateDate() const { return m_createDate; }
37 template <typename CreateDateT = Aws::Utils::DateTime>
38 void SetCreateDate(CreateDateT&& value) {
39 m_createDateHasBeenSet = true;
40 m_createDate = std::forward<CreateDateT>(value);
41 }
42 template <typename CreateDateT = Aws::Utils::DateTime>
43 DescribeScheduleResult& WithCreateDate(CreateDateT&& value) {
44 SetCreateDate(std::forward<CreateDateT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
54 template <typename CreatedByT = Aws::String>
55 void SetCreatedBy(CreatedByT&& value) {
56 m_createdByHasBeenSet = true;
57 m_createdBy = std::forward<CreatedByT>(value);
58 }
59 template <typename CreatedByT = Aws::String>
61 SetCreatedBy(std::forward<CreatedByT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::Vector<Aws::String>& GetJobNames() const { return m_jobNames; }
71 template <typename JobNamesT = Aws::Vector<Aws::String>>
72 void SetJobNames(JobNamesT&& value) {
73 m_jobNamesHasBeenSet = true;
74 m_jobNames = std::forward<JobNamesT>(value);
75 }
76 template <typename JobNamesT = Aws::Vector<Aws::String>>
78 SetJobNames(std::forward<JobNamesT>(value));
79 return *this;
80 }
81 template <typename JobNamesT = Aws::String>
82 DescribeScheduleResult& AddJobNames(JobNamesT&& value) {
83 m_jobNamesHasBeenSet = true;
84 m_jobNames.emplace_back(std::forward<JobNamesT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
94 template <typename LastModifiedByT = Aws::String>
95 void SetLastModifiedBy(LastModifiedByT&& value) {
96 m_lastModifiedByHasBeenSet = true;
97 m_lastModifiedBy = std::forward<LastModifiedByT>(value);
98 }
99 template <typename LastModifiedByT = Aws::String>
100 DescribeScheduleResult& WithLastModifiedBy(LastModifiedByT&& value) {
101 SetLastModifiedBy(std::forward<LastModifiedByT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
111 template <typename LastModifiedDateT = Aws::Utils::DateTime>
112 void SetLastModifiedDate(LastModifiedDateT&& value) {
113 m_lastModifiedDateHasBeenSet = true;
114 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
115 }
116 template <typename LastModifiedDateT = Aws::Utils::DateTime>
117 DescribeScheduleResult& WithLastModifiedDate(LastModifiedDateT&& value) {
118 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
119 return *this;
120 }
122
124
127 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
128 template <typename ResourceArnT = Aws::String>
129 void SetResourceArn(ResourceArnT&& value) {
130 m_resourceArnHasBeenSet = true;
131 m_resourceArn = std::forward<ResourceArnT>(value);
132 }
133 template <typename ResourceArnT = Aws::String>
135 SetResourceArn(std::forward<ResourceArnT>(value));
136 return *this;
137 }
139
141
147 inline const Aws::String& GetCronExpression() const { return m_cronExpression; }
148 template <typename CronExpressionT = Aws::String>
149 void SetCronExpression(CronExpressionT&& value) {
150 m_cronExpressionHasBeenSet = true;
151 m_cronExpression = std::forward<CronExpressionT>(value);
152 }
153 template <typename CronExpressionT = Aws::String>
154 DescribeScheduleResult& WithCronExpression(CronExpressionT&& value) {
155 SetCronExpression(std::forward<CronExpressionT>(value));
156 return *this;
157 }
159
161
164 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
165 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
166 void SetTags(TagsT&& value) {
167 m_tagsHasBeenSet = true;
168 m_tags = std::forward<TagsT>(value);
169 }
170 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
172 SetTags(std::forward<TagsT>(value));
173 return *this;
174 }
175 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
176 DescribeScheduleResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
177 m_tagsHasBeenSet = true;
178 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
179 return *this;
180 }
182
184
187 inline const Aws::String& GetName() const { return m_name; }
188 template <typename NameT = Aws::String>
189 void SetName(NameT&& value) {
190 m_nameHasBeenSet = true;
191 m_name = std::forward<NameT>(value);
192 }
193 template <typename NameT = Aws::String>
195 SetName(std::forward<NameT>(value));
196 return *this;
197 }
199
201
202 inline const Aws::String& GetRequestId() const { return m_requestId; }
203 template <typename RequestIdT = Aws::String>
204 void SetRequestId(RequestIdT&& value) {
205 m_requestIdHasBeenSet = true;
206 m_requestId = std::forward<RequestIdT>(value);
207 }
208 template <typename RequestIdT = Aws::String>
210 SetRequestId(std::forward<RequestIdT>(value));
211 return *this;
212 }
214 private:
215 Aws::Utils::DateTime m_createDate{};
216
217 Aws::String m_createdBy;
218
219 Aws::Vector<Aws::String> m_jobNames;
220
221 Aws::String m_lastModifiedBy;
222
223 Aws::Utils::DateTime m_lastModifiedDate{};
224
225 Aws::String m_resourceArn;
226
227 Aws::String m_cronExpression;
228
230
231 Aws::String m_name;
232
233 Aws::String m_requestId;
234 bool m_createDateHasBeenSet = false;
235 bool m_createdByHasBeenSet = false;
236 bool m_jobNamesHasBeenSet = false;
237 bool m_lastModifiedByHasBeenSet = false;
238 bool m_lastModifiedDateHasBeenSet = false;
239 bool m_resourceArnHasBeenSet = false;
240 bool m_cronExpressionHasBeenSet = false;
241 bool m_tagsHasBeenSet = false;
242 bool m_nameHasBeenSet = false;
243 bool m_requestIdHasBeenSet = false;
244};
245
246} // namespace Model
247} // namespace GlueDataBrew
248} // 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)
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