AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JourneySchedule.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Pinpoint
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_PINPOINT_API JourneySchedule();
36 AWS_PINPOINT_API JourneySchedule(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
47 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
48 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
49 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
50 inline JourneySchedule& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
51 inline JourneySchedule& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
53
55
59 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
60 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
61 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
62 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
63 inline JourneySchedule& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
64 inline JourneySchedule& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
66
68
82 inline const Aws::String& GetTimezone() const{ return m_timezone; }
83 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
84 inline void SetTimezone(const Aws::String& value) { m_timezoneHasBeenSet = true; m_timezone = value; }
85 inline void SetTimezone(Aws::String&& value) { m_timezoneHasBeenSet = true; m_timezone = std::move(value); }
86 inline void SetTimezone(const char* value) { m_timezoneHasBeenSet = true; m_timezone.assign(value); }
87 inline JourneySchedule& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;}
88 inline JourneySchedule& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;}
89 inline JourneySchedule& WithTimezone(const char* value) { SetTimezone(value); return *this;}
91 private:
92
93 Aws::Utils::DateTime m_endTime;
94 bool m_endTimeHasBeenSet = false;
95
96 Aws::Utils::DateTime m_startTime;
97 bool m_startTimeHasBeenSet = false;
98
99 Aws::String m_timezone;
100 bool m_timezoneHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace Pinpoint
105} // namespace Aws
void SetStartTime(const Aws::Utils::DateTime &value)
JourneySchedule & WithTimezone(const Aws::String &value)
const Aws::Utils::DateTime & GetEndTime() const
JourneySchedule & WithStartTime(Aws::Utils::DateTime &&value)
const Aws::String & GetTimezone() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEndTime(Aws::Utils::DateTime &&value)
void SetStartTime(Aws::Utils::DateTime &&value)
JourneySchedule & WithTimezone(Aws::String &&value)
AWS_PINPOINT_API JourneySchedule(Aws::Utils::Json::JsonView jsonValue)
JourneySchedule & WithStartTime(const Aws::Utils::DateTime &value)
void SetTimezone(const Aws::String &value)
JourneySchedule & WithEndTime(const Aws::Utils::DateTime &value)
void SetEndTime(const Aws::Utils::DateTime &value)
void SetTimezone(Aws::String &&value)
JourneySchedule & WithEndTime(Aws::Utils::DateTime &&value)
AWS_PINPOINT_API JourneySchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetStartTime() const
JourneySchedule & WithTimezone(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue