AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScheduledTriggerProperties.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/customer-profiles/model/DataPullMode.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace CustomerProfiles
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_CUSTOMERPROFILES_API ScheduledTriggerProperties();
39 AWS_CUSTOMERPROFILES_API ScheduledTriggerProperties(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetScheduleExpression() const{ return m_scheduleExpression; }
50 inline bool ScheduleExpressionHasBeenSet() const { return m_scheduleExpressionHasBeenSet; }
51 inline void SetScheduleExpression(const Aws::String& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = value; }
52 inline void SetScheduleExpression(Aws::String&& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = std::move(value); }
53 inline void SetScheduleExpression(const char* value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression.assign(value); }
55 inline ScheduledTriggerProperties& WithScheduleExpression(Aws::String&& value) { SetScheduleExpression(std::move(value)); return *this;}
56 inline ScheduledTriggerProperties& WithScheduleExpression(const char* value) { SetScheduleExpression(value); return *this;}
58
60
64 inline const DataPullMode& GetDataPullMode() const{ return m_dataPullMode; }
65 inline bool DataPullModeHasBeenSet() const { return m_dataPullModeHasBeenSet; }
66 inline void SetDataPullMode(const DataPullMode& value) { m_dataPullModeHasBeenSet = true; m_dataPullMode = value; }
67 inline void SetDataPullMode(DataPullMode&& value) { m_dataPullModeHasBeenSet = true; m_dataPullMode = std::move(value); }
68 inline ScheduledTriggerProperties& WithDataPullMode(const DataPullMode& value) { SetDataPullMode(value); return *this;}
69 inline ScheduledTriggerProperties& WithDataPullMode(DataPullMode&& value) { SetDataPullMode(std::move(value)); return *this;}
71
73
76 inline const Aws::Utils::DateTime& GetScheduleStartTime() const{ return m_scheduleStartTime; }
77 inline bool ScheduleStartTimeHasBeenSet() const { return m_scheduleStartTimeHasBeenSet; }
78 inline void SetScheduleStartTime(const Aws::Utils::DateTime& value) { m_scheduleStartTimeHasBeenSet = true; m_scheduleStartTime = value; }
79 inline void SetScheduleStartTime(Aws::Utils::DateTime&& value) { m_scheduleStartTimeHasBeenSet = true; m_scheduleStartTime = std::move(value); }
83
85
88 inline const Aws::Utils::DateTime& GetScheduleEndTime() const{ return m_scheduleEndTime; }
89 inline bool ScheduleEndTimeHasBeenSet() const { return m_scheduleEndTimeHasBeenSet; }
90 inline void SetScheduleEndTime(const Aws::Utils::DateTime& value) { m_scheduleEndTimeHasBeenSet = true; m_scheduleEndTime = value; }
91 inline void SetScheduleEndTime(Aws::Utils::DateTime&& value) { m_scheduleEndTimeHasBeenSet = true; m_scheduleEndTime = std::move(value); }
95
97
101 inline const Aws::String& GetTimezone() const{ return m_timezone; }
102 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
103 inline void SetTimezone(const Aws::String& value) { m_timezoneHasBeenSet = true; m_timezone = value; }
104 inline void SetTimezone(Aws::String&& value) { m_timezoneHasBeenSet = true; m_timezone = std::move(value); }
105 inline void SetTimezone(const char* value) { m_timezoneHasBeenSet = true; m_timezone.assign(value); }
106 inline ScheduledTriggerProperties& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;}
107 inline ScheduledTriggerProperties& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;}
108 inline ScheduledTriggerProperties& WithTimezone(const char* value) { SetTimezone(value); return *this;}
110
112
116 inline long long GetScheduleOffset() const{ return m_scheduleOffset; }
117 inline bool ScheduleOffsetHasBeenSet() const { return m_scheduleOffsetHasBeenSet; }
118 inline void SetScheduleOffset(long long value) { m_scheduleOffsetHasBeenSet = true; m_scheduleOffset = value; }
119 inline ScheduledTriggerProperties& WithScheduleOffset(long long value) { SetScheduleOffset(value); return *this;}
121
123
127 inline const Aws::Utils::DateTime& GetFirstExecutionFrom() const{ return m_firstExecutionFrom; }
128 inline bool FirstExecutionFromHasBeenSet() const { return m_firstExecutionFromHasBeenSet; }
129 inline void SetFirstExecutionFrom(const Aws::Utils::DateTime& value) { m_firstExecutionFromHasBeenSet = true; m_firstExecutionFrom = value; }
130 inline void SetFirstExecutionFrom(Aws::Utils::DateTime&& value) { m_firstExecutionFromHasBeenSet = true; m_firstExecutionFrom = std::move(value); }
134 private:
135
136 Aws::String m_scheduleExpression;
137 bool m_scheduleExpressionHasBeenSet = false;
138
139 DataPullMode m_dataPullMode;
140 bool m_dataPullModeHasBeenSet = false;
141
142 Aws::Utils::DateTime m_scheduleStartTime;
143 bool m_scheduleStartTimeHasBeenSet = false;
144
145 Aws::Utils::DateTime m_scheduleEndTime;
146 bool m_scheduleEndTimeHasBeenSet = false;
147
148 Aws::String m_timezone;
149 bool m_timezoneHasBeenSet = false;
150
151 long long m_scheduleOffset;
152 bool m_scheduleOffsetHasBeenSet = false;
153
154 Aws::Utils::DateTime m_firstExecutionFrom;
155 bool m_firstExecutionFromHasBeenSet = false;
156 };
157
158} // namespace Model
159} // namespace CustomerProfiles
160} // namespace Aws
ScheduledTriggerProperties & WithScheduleStartTime(Aws::Utils::DateTime &&value)
ScheduledTriggerProperties & WithScheduleExpression(Aws::String &&value)
ScheduledTriggerProperties & WithFirstExecutionFrom(Aws::Utils::DateTime &&value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
ScheduledTriggerProperties & WithScheduleOffset(long long value)
ScheduledTriggerProperties & WithScheduleEndTime(Aws::Utils::DateTime &&value)
AWS_CUSTOMERPROFILES_API ScheduledTriggerProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
ScheduledTriggerProperties & WithScheduleStartTime(const Aws::Utils::DateTime &value)
AWS_CUSTOMERPROFILES_API ScheduledTriggerProperties(Aws::Utils::Json::JsonView jsonValue)
ScheduledTriggerProperties & WithScheduleEndTime(const Aws::Utils::DateTime &value)
ScheduledTriggerProperties & WithDataPullMode(const DataPullMode &value)
ScheduledTriggerProperties & WithScheduleExpression(const char *value)
ScheduledTriggerProperties & WithScheduleExpression(const Aws::String &value)
ScheduledTriggerProperties & WithFirstExecutionFrom(const Aws::Utils::DateTime &value)
ScheduledTriggerProperties & WithTimezone(Aws::String &&value)
ScheduledTriggerProperties & WithTimezone(const char *value)
ScheduledTriggerProperties & WithDataPullMode(DataPullMode &&value)
ScheduledTriggerProperties & WithTimezone(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue