AWS SDK for C++

AWS SDK for C++ Version 1.11.894

Loading...
Searching...
No Matches
ScheduledExecutions.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CustomerProfiles {
20namespace Model {
21
29 public:
30 AWS_CUSTOMERPROFILES_API ScheduledExecutions() = default;
31 AWS_CUSTOMERPROFILES_API ScheduledExecutions(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CUSTOMERPROFILES_API ScheduledExecutions& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::Utils::DateTime& GetNextExecutedAt() const { return m_nextExecutedAt; }
40 inline bool NextExecutedAtHasBeenSet() const { return m_nextExecutedAtHasBeenSet; }
41 template <typename NextExecutedAtT = Aws::Utils::DateTime>
42 void SetNextExecutedAt(NextExecutedAtT&& value) {
43 m_nextExecutedAtHasBeenSet = true;
44 m_nextExecutedAt = std::forward<NextExecutedAtT>(value);
45 }
46 template <typename NextExecutedAtT = Aws::Utils::DateTime>
47 ScheduledExecutions& WithNextExecutedAt(NextExecutedAtT&& value) {
48 SetNextExecutedAt(std::forward<NextExecutedAtT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::Utils::DateTime& GetLastExecutedAt() const { return m_lastExecutedAt; }
58 inline bool LastExecutedAtHasBeenSet() const { return m_lastExecutedAtHasBeenSet; }
59 template <typename LastExecutedAtT = Aws::Utils::DateTime>
60 void SetLastExecutedAt(LastExecutedAtT&& value) {
61 m_lastExecutedAtHasBeenSet = true;
62 m_lastExecutedAt = std::forward<LastExecutedAtT>(value);
63 }
64 template <typename LastExecutedAtT = Aws::Utils::DateTime>
65 ScheduledExecutions& WithLastExecutedAt(LastExecutedAtT&& value) {
66 SetLastExecutedAt(std::forward<LastExecutedAtT>(value));
67 return *this;
68 }
70 private:
71 Aws::Utils::DateTime m_nextExecutedAt{};
72
73 Aws::Utils::DateTime m_lastExecutedAt{};
74 bool m_nextExecutedAtHasBeenSet = false;
75 bool m_lastExecutedAtHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace CustomerProfiles
80} // namespace Aws
ScheduledExecutions & WithNextExecutedAt(NextExecutedAtT &&value)
ScheduledExecutions & WithLastExecutedAt(LastExecutedAtT &&value)
const Aws::Utils::DateTime & GetNextExecutedAt() const
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CUSTOMERPROFILES_API ScheduledExecutions(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API ScheduledExecutions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CUSTOMERPROFILES_API ScheduledExecutions()=default
const Aws::Utils::DateTime & GetLastExecutedAt() const
Aws::Utils::Json::JsonValue JsonValue