AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ScheduleSummary.h
Go to the documentation of this file.
1
6#pragma once
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 Scheduler
25{
26namespace Model
27{
28
35 {
36 public:
41
42
46 inline const Aws::String& GetArn() const{ return m_arn; }
47
51 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
52
56 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
57
61 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
62
66 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
67
71 inline ScheduleSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
72
76 inline ScheduleSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
77
81 inline ScheduleSummary& WithArn(const char* value) { SetArn(value); return *this;}
82
83
87 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
88
92 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
93
97 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
98
102 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
103
107 inline ScheduleSummary& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
108
112 inline ScheduleSummary& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
113
114
118 inline const Aws::String& GetGroupName() const{ return m_groupName; }
119
123 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
124
128 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
129
133 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
134
138 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
139
143 inline ScheduleSummary& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
144
148 inline ScheduleSummary& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
149
153 inline ScheduleSummary& WithGroupName(const char* value) { SetGroupName(value); return *this;}
154
155
159 inline const Aws::Utils::DateTime& GetLastModificationDate() const{ return m_lastModificationDate; }
160
164 inline bool LastModificationDateHasBeenSet() const { return m_lastModificationDateHasBeenSet; }
165
169 inline void SetLastModificationDate(const Aws::Utils::DateTime& value) { m_lastModificationDateHasBeenSet = true; m_lastModificationDate = value; }
170
174 inline void SetLastModificationDate(Aws::Utils::DateTime&& value) { m_lastModificationDateHasBeenSet = true; m_lastModificationDate = std::move(value); }
175
180
185
186
190 inline const Aws::String& GetName() const{ return m_name; }
191
195 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
196
200 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
201
205 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
206
210 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
211
215 inline ScheduleSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
216
220 inline ScheduleSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
221
225 inline ScheduleSummary& WithName(const char* value) { SetName(value); return *this;}
226
227
231 inline const ScheduleState& GetState() const{ return m_state; }
232
236 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
237
241 inline void SetState(const ScheduleState& value) { m_stateHasBeenSet = true; m_state = value; }
242
246 inline void SetState(ScheduleState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
247
251 inline ScheduleSummary& WithState(const ScheduleState& value) { SetState(value); return *this;}
252
256 inline ScheduleSummary& WithState(ScheduleState&& value) { SetState(std::move(value)); return *this;}
257
258
262 inline const TargetSummary& GetTarget() const{ return m_target; }
263
267 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
268
272 inline void SetTarget(const TargetSummary& value) { m_targetHasBeenSet = true; m_target = value; }
273
277 inline void SetTarget(TargetSummary&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
278
282 inline ScheduleSummary& WithTarget(const TargetSummary& value) { SetTarget(value); return *this;}
283
287 inline ScheduleSummary& WithTarget(TargetSummary&& value) { SetTarget(std::move(value)); return *this;}
288
289 private:
290
291 Aws::String m_arn;
292 bool m_arnHasBeenSet = false;
293
294 Aws::Utils::DateTime m_creationDate;
295 bool m_creationDateHasBeenSet = false;
296
297 Aws::String m_groupName;
298 bool m_groupNameHasBeenSet = false;
299
300 Aws::Utils::DateTime m_lastModificationDate;
301 bool m_lastModificationDateHasBeenSet = false;
302
303 Aws::String m_name;
304 bool m_nameHasBeenSet = false;
305
306 ScheduleState m_state;
307 bool m_stateHasBeenSet = false;
308
309 TargetSummary m_target;
310 bool m_targetHasBeenSet = false;
311 };
312
313} // namespace Model
314} // namespace Scheduler
315} // namespace Aws
#define AWS_SCHEDULER_API
void SetState(ScheduleState &&value)
ScheduleSummary & WithTarget(TargetSummary &&value)
void SetLastModificationDate(const Aws::Utils::DateTime &value)
const TargetSummary & GetTarget() const
ScheduleSummary & WithArn(const Aws::String &value)
void SetArn(const Aws::String &value)
void SetTarget(TargetSummary &&value)
AWS_SCHEDULER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SCHEDULER_API ScheduleSummary(Aws::Utils::Json::JsonView jsonValue)
void SetTarget(const TargetSummary &value)
ScheduleSummary & WithName(const char *value)
ScheduleSummary & WithCreationDate(const Aws::Utils::DateTime &value)
ScheduleSummary & WithState(ScheduleState &&value)
ScheduleSummary & WithName(const Aws::String &value)
ScheduleSummary & WithTarget(const TargetSummary &value)
ScheduleSummary & WithCreationDate(Aws::Utils::DateTime &&value)
ScheduleSummary & WithGroupName(const char *value)
void SetState(const ScheduleState &value)
void SetName(const Aws::String &value)
ScheduleSummary & WithGroupName(Aws::String &&value)
void SetGroupName(Aws::String &&value)
void SetArn(Aws::String &&value)
ScheduleSummary & WithLastModificationDate(Aws::Utils::DateTime &&value)
void SetCreationDate(Aws::Utils::DateTime &&value)
void SetGroupName(const Aws::String &value)
const Aws::String & GetName() const
ScheduleSummary & WithArn(Aws::String &&value)
void SetCreationDate(const Aws::Utils::DateTime &value)
ScheduleSummary & WithName(Aws::String &&value)
const Aws::String & GetArn() const
const Aws::Utils::DateTime & GetLastModificationDate() const
ScheduleSummary & WithGroupName(const Aws::String &value)
ScheduleSummary & WithState(const ScheduleState &value)
void SetLastModificationDate(Aws::Utils::DateTime &&value)
ScheduleSummary & WithArn(const char *value)
const ScheduleState & GetState() const
ScheduleSummary & WithLastModificationDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationDate() const
const Aws::String & GetGroupName() const
AWS_SCHEDULER_API ScheduleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String