AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScheduleConfiguration.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/model/Timezone.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 DataZone
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DATAZONE_API ScheduleConfiguration();
39 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetSchedule() const{ return m_schedule; }
47 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
48 inline void SetSchedule(const Aws::String& value) { m_scheduleHasBeenSet = true; m_schedule = value; }
49 inline void SetSchedule(Aws::String&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); }
50 inline void SetSchedule(const char* value) { m_scheduleHasBeenSet = true; m_schedule.assign(value); }
51 inline ScheduleConfiguration& WithSchedule(const Aws::String& value) { SetSchedule(value); return *this;}
52 inline ScheduleConfiguration& WithSchedule(Aws::String&& value) { SetSchedule(std::move(value)); return *this;}
53 inline ScheduleConfiguration& WithSchedule(const char* value) { SetSchedule(value); return *this;}
55
57
60 inline const Timezone& GetTimezone() const{ return m_timezone; }
61 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
62 inline void SetTimezone(const Timezone& value) { m_timezoneHasBeenSet = true; m_timezone = value; }
63 inline void SetTimezone(Timezone&& value) { m_timezoneHasBeenSet = true; m_timezone = std::move(value); }
64 inline ScheduleConfiguration& WithTimezone(const Timezone& value) { SetTimezone(value); return *this;}
65 inline ScheduleConfiguration& WithTimezone(Timezone&& value) { SetTimezone(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_schedule;
70 bool m_scheduleHasBeenSet = false;
71
72 Timezone m_timezone;
73 bool m_timezoneHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace DataZone
78} // namespace Aws
AWS_DATAZONE_API ScheduleConfiguration(Aws::Utils::Json::JsonView jsonValue)
ScheduleConfiguration & WithTimezone(const Timezone &value)
ScheduleConfiguration & WithSchedule(Aws::String &&value)
ScheduleConfiguration & WithSchedule(const Aws::String &value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
ScheduleConfiguration & WithTimezone(Timezone &&value)
ScheduleConfiguration & WithSchedule(const char *value)
AWS_DATAZONE_API ScheduleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue