AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename AccountIdT = Aws::String>
51 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
52 template<typename AccountIdT = Aws::String>
53 Schedule& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
61 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
62 template<typename CreatedByT = Aws::String>
63 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
64 template<typename CreatedByT = Aws::String>
65 Schedule& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
67
69
72 inline const Aws::Utils::DateTime& GetCreateDate() const { return m_createDate; }
73 inline bool CreateDateHasBeenSet() const { return m_createDateHasBeenSet; }
74 template<typename CreateDateT = Aws::Utils::DateTime>
75 void SetCreateDate(CreateDateT&& value) { m_createDateHasBeenSet = true; m_createDate = std::forward<CreateDateT>(value); }
76 template<typename CreateDateT = Aws::Utils::DateTime>
77 Schedule& WithCreateDate(CreateDateT&& value) { SetCreateDate(std::forward<CreateDateT>(value)); return *this;}
79
81
84 inline const Aws::Vector<Aws::String>& GetJobNames() const { return m_jobNames; }
85 inline bool JobNamesHasBeenSet() const { return m_jobNamesHasBeenSet; }
86 template<typename JobNamesT = Aws::Vector<Aws::String>>
87 void SetJobNames(JobNamesT&& value) { m_jobNamesHasBeenSet = true; m_jobNames = std::forward<JobNamesT>(value); }
88 template<typename JobNamesT = Aws::Vector<Aws::String>>
89 Schedule& WithJobNames(JobNamesT&& value) { SetJobNames(std::forward<JobNamesT>(value)); return *this;}
90 template<typename JobNamesT = Aws::String>
91 Schedule& AddJobNames(JobNamesT&& value) { m_jobNamesHasBeenSet = true; m_jobNames.emplace_back(std::forward<JobNamesT>(value)); return *this; }
93
95
99 inline const Aws::String& GetLastModifiedBy() const { return m_lastModifiedBy; }
100 inline bool LastModifiedByHasBeenSet() const { return m_lastModifiedByHasBeenSet; }
101 template<typename LastModifiedByT = Aws::String>
102 void SetLastModifiedBy(LastModifiedByT&& value) { m_lastModifiedByHasBeenSet = true; m_lastModifiedBy = std::forward<LastModifiedByT>(value); }
103 template<typename LastModifiedByT = Aws::String>
104 Schedule& WithLastModifiedBy(LastModifiedByT&& value) { SetLastModifiedBy(std::forward<LastModifiedByT>(value)); return *this;}
106
108
111 inline const Aws::Utils::DateTime& GetLastModifiedDate() const { return m_lastModifiedDate; }
112 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
113 template<typename LastModifiedDateT = Aws::Utils::DateTime>
114 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
115 template<typename LastModifiedDateT = Aws::Utils::DateTime>
116 Schedule& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
118
120
123 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
124 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
125 template<typename ResourceArnT = Aws::String>
126 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::forward<ResourceArnT>(value); }
127 template<typename ResourceArnT = Aws::String>
128 Schedule& WithResourceArn(ResourceArnT&& value) { SetResourceArn(std::forward<ResourceArnT>(value)); return *this;}
130
132
137 inline const Aws::String& GetCronExpression() const { return m_cronExpression; }
138 inline bool CronExpressionHasBeenSet() const { return m_cronExpressionHasBeenSet; }
139 template<typename CronExpressionT = Aws::String>
140 void SetCronExpression(CronExpressionT&& value) { m_cronExpressionHasBeenSet = true; m_cronExpression = std::forward<CronExpressionT>(value); }
141 template<typename CronExpressionT = Aws::String>
142 Schedule& WithCronExpression(CronExpressionT&& value) { SetCronExpression(std::forward<CronExpressionT>(value)); return *this;}
144
146
149 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
150 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
151 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
152 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
153 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
154 Schedule& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
155 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
156 Schedule& AddTags(TagsKeyT&& key, TagsValueT&& value) {
157 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
158 }
160
162
165 inline const Aws::String& GetName() const { return m_name; }
166 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
167 template<typename NameT = Aws::String>
168 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
169 template<typename NameT = Aws::String>
170 Schedule& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
172 private:
173
174 Aws::String m_accountId;
175 bool m_accountIdHasBeenSet = false;
176
177 Aws::String m_createdBy;
178 bool m_createdByHasBeenSet = false;
179
180 Aws::Utils::DateTime m_createDate{};
181 bool m_createDateHasBeenSet = false;
182
183 Aws::Vector<Aws::String> m_jobNames;
184 bool m_jobNamesHasBeenSet = false;
185
186 Aws::String m_lastModifiedBy;
187 bool m_lastModifiedByHasBeenSet = false;
188
189 Aws::Utils::DateTime m_lastModifiedDate{};
190 bool m_lastModifiedDateHasBeenSet = false;
191
192 Aws::String m_resourceArn;
193 bool m_resourceArnHasBeenSet = false;
194
195 Aws::String m_cronExpression;
196 bool m_cronExpressionHasBeenSet = false;
197
199 bool m_tagsHasBeenSet = false;
200
201 Aws::String m_name;
202 bool m_nameHasBeenSet = false;
203 };
204
205} // namespace Model
206} // namespace GlueDataBrew
207} // namespace Aws
AWS_GLUEDATABREW_API Schedule()=default
const Aws::String & GetName() const
Definition Schedule.h:165
const Aws::Vector< Aws::String > & GetJobNames() const
Definition Schedule.h:84
void SetName(NameT &&value)
Definition Schedule.h:168
Schedule & AddJobNames(JobNamesT &&value)
Definition Schedule.h:91
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Schedule.h:149
Schedule & WithLastModifiedBy(LastModifiedByT &&value)
Definition Schedule.h:104
Schedule & WithTags(TagsT &&value)
Definition Schedule.h:154
void SetLastModifiedDate(LastModifiedDateT &&value)
Definition Schedule.h:114
Schedule & WithAccountId(AccountIdT &&value)
Definition Schedule.h:53
Schedule & WithCreatedBy(CreatedByT &&value)
Definition Schedule.h:65
AWS_GLUEDATABREW_API Schedule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCronExpression(CronExpressionT &&value)
Definition Schedule.h:140
void SetTags(TagsT &&value)
Definition Schedule.h:152
Schedule & WithLastModifiedDate(LastModifiedDateT &&value)
Definition Schedule.h:116
Schedule & WithCronExpression(CronExpressionT &&value)
Definition Schedule.h:142
Schedule & WithResourceArn(ResourceArnT &&value)
Definition Schedule.h:128
Schedule & WithCreateDate(CreateDateT &&value)
Definition Schedule.h:77
const Aws::Utils::DateTime & GetCreateDate() const
Definition Schedule.h:72
const Aws::String & GetResourceArn() const
Definition Schedule.h:123
Schedule & WithJobNames(JobNamesT &&value)
Definition Schedule.h:89
Schedule & WithName(NameT &&value)
Definition Schedule.h:170
AWS_GLUEDATABREW_API Schedule(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAccountId() const
Definition Schedule.h:48
void SetResourceArn(ResourceArnT &&value)
Definition Schedule.h:126
void SetAccountId(AccountIdT &&value)
Definition Schedule.h:51
const Aws::String & GetLastModifiedBy() const
Definition Schedule.h:99
void SetJobNames(JobNamesT &&value)
Definition Schedule.h:87
Schedule & AddTags(TagsKeyT &&key, TagsValueT &&value)
Definition Schedule.h:156
void SetLastModifiedBy(LastModifiedByT &&value)
Definition Schedule.h:102
void SetCreatedBy(CreatedByT &&value)
Definition Schedule.h:63
const Aws::Utils::DateTime & GetLastModifiedDate() const
Definition Schedule.h:111
const Aws::String & GetCronExpression() const
Definition Schedule.h:137
void SetCreateDate(CreateDateT &&value)
Definition Schedule.h:75
const Aws::String & GetCreatedBy() const
Definition Schedule.h:60
AWS_GLUEDATABREW_API Aws::Utils::Json::JsonValue Jsonize() const
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