AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
ScheduleConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9#include <aws/datazone/model/Timezone.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DataZone {
21namespace Model {
22
30 public:
31 AWS_DATAZONE_API ScheduleConfiguration() = default;
34 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline Timezone GetTimezone() const { return m_timezone; }
41 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
42 inline void SetTimezone(Timezone value) {
43 m_timezoneHasBeenSet = true;
44 m_timezone = value;
45 }
47 SetTimezone(value);
48 return *this;
49 }
51
53
56 inline const Aws::String& GetSchedule() const { return m_schedule; }
57 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
58 template <typename ScheduleT = Aws::String>
59 void SetSchedule(ScheduleT&& value) {
60 m_scheduleHasBeenSet = true;
61 m_schedule = std::forward<ScheduleT>(value);
62 }
63 template <typename ScheduleT = Aws::String>
64 ScheduleConfiguration& WithSchedule(ScheduleT&& value) {
65 SetSchedule(std::forward<ScheduleT>(value));
66 return *this;
67 }
69 private:
70 Timezone m_timezone{Timezone::NOT_SET};
71
72 Aws::String m_schedule;
73 bool m_timezoneHasBeenSet = false;
74 bool m_scheduleHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace DataZone
79} // namespace Aws
AWS_DATAZONE_API ScheduleConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DATAZONE_API ScheduleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ScheduleConfiguration & WithTimezone(Timezone value)
AWS_DATAZONE_API ScheduleConfiguration()=default
ScheduleConfiguration & WithSchedule(ScheduleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue