AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Schedule.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/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace GlueDataBrew
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_GLUEDATABREW_API Schedule();
39 AWS_GLUEDATABREW_API Schedule(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GLUEDATABREW_API Schedule& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetAccountId() const{ return m_accountId; }
49 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
50 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
51 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
52 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
53 inline Schedule& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
54 inline Schedule& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
55 inline Schedule& WithAccountId(const char* value) { SetAccountId(value); return *this;}
57
59
62 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
63 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
64 inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
65 inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
66 inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); }
67 inline Schedule& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
68 inline Schedule& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
69 inline Schedule& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
71
73
76 inline const Aws::Utils::DateTime& GetCreateDate() const{ return m_createDate; }
77 inline bool CreateDateHasBeenSet() const { return m_createDateHasBeenSet; }
78 inline void SetCreateDate(const Aws::Utils::DateTime& value) { m_createDateHasBeenSet = true; m_createDate = value; }
79 inline void SetCreateDate(Aws::Utils::DateTime&& value) { m_createDateHasBeenSet = true; m_createDate = std::move(value); }
80 inline Schedule& WithCreateDate(const Aws::Utils::DateTime& value) { SetCreateDate(value); return *this;}
81 inline Schedule& WithCreateDate(Aws::Utils::DateTime&& value) { SetCreateDate(std::move(value)); return *this;}
83
85
88 inline const Aws::Vector<Aws::String>& GetJobNames() const{ return m_jobNames; }
89 inline bool JobNamesHasBeenSet() const { return m_jobNamesHasBeenSet; }
90 inline void SetJobNames(const Aws::Vector<Aws::String>& value) { m_jobNamesHasBeenSet = true; m_jobNames = value; }
91 inline void SetJobNames(Aws::Vector<Aws::String>&& value) { m_jobNamesHasBeenSet = true; m_jobNames = std::move(value); }
92 inline Schedule& WithJobNames(const Aws::Vector<Aws::String>& value) { SetJobNames(value); return *this;}
93 inline Schedule& WithJobNames(Aws::Vector<Aws::String>&& value) { SetJobNames(std::move(value)); return *this;}
94 inline Schedule& AddJobNames(const Aws::String& value) { m_jobNamesHasBeenSet = true; m_jobNames.push_back(value); return *this; }
95 inline Schedule& AddJobNames(Aws::String&& value) { m_jobNamesHasBeenSet = true; m_jobNames.push_back(std::move(value)); return *this; }
96 inline Schedule& AddJobNames(const char* value) { m_jobNamesHasBeenSet = true; m_jobNames.push_back(value); return *this; }
98
100
104 inline const Aws::String& GetLastModifiedBy() const{ return m_lastModifiedBy; }
105 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
106 inline void SetLastModifiedBy(const Aws::String& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = value; }
107 inline void SetLastModifiedBy(Aws::String&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::move(value); }
108 inline void SetLastModifiedBy(const char* value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy.assign(value); }
109 inline Schedule& WithLastModifiedBy(const Aws::String& value) { SetLastModifiedBy(value); return *this;}
110 inline Schedule& WithLastModifiedBy(Aws::String&& value) { SetLastModifiedBy(std::move(value)); return *this;}
111 inline Schedule& WithLastModifiedBy(const char* value) { SetLastModifiedBy(value); return *this;}
113
115
118 inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; }
119 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
120 inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
121 inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
122 inline Schedule& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;}
123 inline Schedule& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;}
125
127
130 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
131 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
132 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
133 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
134 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
135 inline Schedule& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
136 inline Schedule& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
137 inline Schedule& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
139
141
146 inline const Aws::String& GetCronExpression() const{ return m_cronExpression; }
147 inline bool CronExpressionHasBeenSet() const { return m_cronExpressionHasBeenSet; }
148 inline void SetCronExpression(const Aws::String& value) { m_cronExpressionHasBeenSet = true; m_cronExpression = value; }
149 inline void SetCronExpression(Aws::String&& value) { m_cronExpressionHasBeenSet = true; m_cronExpression = std::move(value); }
150 inline void SetCronExpression(const char* value) { m_cronExpressionHasBeenSet = true; m_cronExpression.assign(value); }
151 inline Schedule& WithCronExpression(const Aws::String& value) { SetCronExpression(value); return *this;}
152 inline Schedule& WithCronExpression(Aws::String&& value) { SetCronExpression(std::move(value)); return *this;}
153 inline Schedule& WithCronExpression(const char* value) { SetCronExpression(value); return *this;}
155
157
160 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
161 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
162 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
163 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
164 inline Schedule& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
165 inline Schedule& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
166 inline Schedule& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
167 inline Schedule& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
168 inline Schedule& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
169 inline Schedule& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
170 inline Schedule& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
171 inline Schedule& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
172 inline Schedule& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
174
176
179 inline const Aws::String& GetName() const{ return m_name; }
180 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
181 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
182 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
183 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
184 inline Schedule& WithName(const Aws::String& value) { SetName(value); return *this;}
185 inline Schedule& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
186 inline Schedule& WithName(const char* value) { SetName(value); return *this;}
188 private:
189
190 Aws::String m_accountId;
191 bool m_accountIdHasBeenSet = false;
192
193 Aws::String m_createdBy;
194 bool m_createdByHasBeenSet = false;
195
196 Aws::Utils::DateTime m_createDate;
197 bool m_createDateHasBeenSet = false;
198
199 Aws::Vector<Aws::String> m_jobNames;
200 bool m_jobNamesHasBeenSet = false;
201
202 Aws::String m_lastModifiedBy;
203 bool m_lastModifiedByHasBeenSet = false;
204
205 Aws::Utils::DateTime m_lastModifiedDate;
206 bool m_lastModifiedDateHasBeenSet = false;
207
208 Aws::String m_resourceArn;
209 bool m_resourceArnHasBeenSet = false;
210
211 Aws::String m_cronExpression;
212 bool m_cronExpressionHasBeenSet = false;
213
215 bool m_tagsHasBeenSet = false;
216
217 Aws::String m_name;
218 bool m_nameHasBeenSet = false;
219 };
220
221} // namespace Model
222} // namespace GlueDataBrew
223} // namespace Aws
Schedule & WithLastModifiedBy(const Aws::String &value)
Definition Schedule.h:109
const Aws::String & GetName() const
Definition Schedule.h:179
void SetResourceArn(const char *value)
Definition Schedule.h:134
const Aws::Vector< Aws::String > & GetJobNames() const
Definition Schedule.h:88
Schedule & WithLastModifiedDate(const Aws::Utils::DateTime &value)
Definition Schedule.h:122
void SetName(const Aws::String &value)
Definition Schedule.h:181
Schedule & AddTags(Aws::String &&key, const Aws::String &value)
Definition Schedule.h:167
Schedule & AddJobNames(Aws::String &&value)
Definition Schedule.h:95
void SetLastModifiedDate(Aws::Utils::DateTime &&value)
Definition Schedule.h:121
void SetLastModifiedBy(Aws::String &&value)
Definition Schedule.h:107
void SetName(const char *value)
Definition Schedule.h:183
Schedule & WithCronExpression(Aws::String &&value)
Definition Schedule.h:152
void SetAccountId(const char *value)
Definition Schedule.h:52
void SetCronExpression(Aws::String &&value)
Definition Schedule.h:149
Schedule & WithResourceArn(Aws::String &&value)
Definition Schedule.h:136
Schedule & AddTags(const char *key, const char *value)
Definition Schedule.h:172
Schedule & WithJobNames(Aws::Vector< Aws::String > &&value)
Definition Schedule.h:93
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Schedule.h:160
Schedule & WithCronExpression(const Aws::String &value)
Definition Schedule.h:151
Schedule & WithCreateDate(const Aws::Utils::DateTime &value)
Definition Schedule.h:80
Schedule & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Schedule.h:164
Schedule & WithLastModifiedDate(Aws::Utils::DateTime &&value)
Definition Schedule.h:123
AWS_GLUEDATABREW_API Schedule()
Schedule & WithAccountId(const Aws::String &value)
Definition Schedule.h:53
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Schedule.h:163
Schedule & AddTags(const Aws::String &key, const Aws::String &value)
Definition Schedule.h:166
Schedule & AddTags(Aws::String &&key, const char *value)
Definition Schedule.h:171
Schedule & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Schedule.h:165
Schedule & AddTags(const char *key, Aws::String &&value)
Definition Schedule.h:170
Schedule & WithLastModifiedBy(const char *value)
Definition Schedule.h:111
Schedule & WithName(Aws::String &&value)
Definition Schedule.h:185
void SetResourceArn(const Aws::String &value)
Definition Schedule.h:132
void SetCreateDate(Aws::Utils::DateTime &&value)
Definition Schedule.h:79
Schedule & WithAccountId(Aws::String &&value)
Definition Schedule.h:54
AWS_GLUEDATABREW_API Schedule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedBy(const char *value)
Definition Schedule.h:108
Schedule & AddJobNames(const Aws::String &value)
Definition Schedule.h:94
void SetLastModifiedBy(const Aws::String &value)
Definition Schedule.h:106
void SetAccountId(const Aws::String &value)
Definition Schedule.h:50
const Aws::Utils::DateTime & GetCreateDate() const
Definition Schedule.h:76
void SetJobNames(Aws::Vector< Aws::String > &&value)
Definition Schedule.h:91
const Aws::String & GetResourceArn() const
Definition Schedule.h:130
Schedule & WithResourceArn(const char *value)
Definition Schedule.h:137
Schedule & WithCronExpression(const char *value)
Definition Schedule.h:153
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Schedule.h:162
void SetCreatedBy(const Aws::String &value)
Definition Schedule.h:64
Schedule & WithName(const char *value)
Definition Schedule.h:186
AWS_GLUEDATABREW_API Schedule(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAccountId() const
Definition Schedule.h:48
void SetJobNames(const Aws::Vector< Aws::String > &value)
Definition Schedule.h:90
void SetCreateDate(const Aws::Utils::DateTime &value)
Definition Schedule.h:78
const Aws::String & GetLastModifiedBy() const
Definition Schedule.h:104
Schedule & WithCreatedBy(const Aws::String &value)
Definition Schedule.h:67
Schedule & WithCreatedBy(const char *value)
Definition Schedule.h:69
Schedule & AddJobNames(const char *value)
Definition Schedule.h:96
Schedule & AddTags(const Aws::String &key, Aws::String &&value)
Definition Schedule.h:168
void SetCreatedBy(Aws::String &&value)
Definition Schedule.h:65
Schedule & WithResourceArn(const Aws::String &value)
Definition Schedule.h:135
void SetName(Aws::String &&value)
Definition Schedule.h:182
void SetCreatedBy(const char *value)
Definition Schedule.h:66
void SetAccountId(Aws::String &&value)
Definition Schedule.h:51
Schedule & WithAccountId(const char *value)
Definition Schedule.h:55
Schedule & WithCreateDate(Aws::Utils::DateTime &&value)
Definition Schedule.h:81
Schedule & WithCreatedBy(Aws::String &&value)
Definition Schedule.h:68
Schedule & WithJobNames(const Aws::Vector< Aws::String > &value)
Definition Schedule.h:92
const Aws::Utils::DateTime & GetLastModifiedDate() const
Definition Schedule.h:118
Schedule & WithLastModifiedBy(Aws::String &&value)
Definition Schedule.h:110
Schedule & AddTags(Aws::String &&key, Aws::String &&value)
Definition Schedule.h:169
const Aws::String & GetCronExpression() const
Definition Schedule.h:146
void SetCronExpression(const char *value)
Definition Schedule.h:150
void SetLastModifiedDate(const Aws::Utils::DateTime &value)
Definition Schedule.h:120
const Aws::String & GetCreatedBy() const
Definition Schedule.h:62
void SetResourceArn(Aws::String &&value)
Definition Schedule.h:133
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCronExpression(const Aws::String &value)
Definition Schedule.h:148
Schedule & WithName(const Aws::String &value)
Definition Schedule.h:184
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