AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
TopicRefreshSchedule.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/TopicScheduleType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
31 public:
32 AWS_QUICKSIGHT_API TopicRefreshSchedule() = default;
33 AWS_QUICKSIGHT_API TopicRefreshSchedule(Aws::Utils::Json::JsonView jsonValue);
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline bool GetIsEnabled() const { return m_isEnabled; }
42 inline bool IsEnabledHasBeenSet() const { return m_isEnabledHasBeenSet; }
43 inline void SetIsEnabled(bool value) {
44 m_isEnabledHasBeenSet = true;
45 m_isEnabled = value;
46 }
47 inline TopicRefreshSchedule& WithIsEnabled(bool value) {
48 SetIsEnabled(value);
49 return *this;
50 }
52
54
58 inline bool GetBasedOnSpiceSchedule() const { return m_basedOnSpiceSchedule; }
59 inline bool BasedOnSpiceScheduleHasBeenSet() const { return m_basedOnSpiceScheduleHasBeenSet; }
60 inline void SetBasedOnSpiceSchedule(bool value) {
61 m_basedOnSpiceScheduleHasBeenSet = true;
62 m_basedOnSpiceSchedule = value;
63 }
66 return *this;
67 }
69
71
74 inline const Aws::Utils::DateTime& GetStartingAt() const { return m_startingAt; }
75 inline bool StartingAtHasBeenSet() const { return m_startingAtHasBeenSet; }
76 template <typename StartingAtT = Aws::Utils::DateTime>
77 void SetStartingAt(StartingAtT&& value) {
78 m_startingAtHasBeenSet = true;
79 m_startingAt = std::forward<StartingAtT>(value);
80 }
81 template <typename StartingAtT = Aws::Utils::DateTime>
82 TopicRefreshSchedule& WithStartingAt(StartingAtT&& value) {
83 SetStartingAt(std::forward<StartingAtT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetTimezone() const { return m_timezone; }
93 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
94 template <typename TimezoneT = Aws::String>
95 void SetTimezone(TimezoneT&& value) {
96 m_timezoneHasBeenSet = true;
97 m_timezone = std::forward<TimezoneT>(value);
98 }
99 template <typename TimezoneT = Aws::String>
100 TopicRefreshSchedule& WithTimezone(TimezoneT&& value) {
101 SetTimezone(std::forward<TimezoneT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetRepeatAt() const { return m_repeatAt; }
111 inline bool RepeatAtHasBeenSet() const { return m_repeatAtHasBeenSet; }
112 template <typename RepeatAtT = Aws::String>
113 void SetRepeatAt(RepeatAtT&& value) {
114 m_repeatAtHasBeenSet = true;
115 m_repeatAt = std::forward<RepeatAtT>(value);
116 }
117 template <typename RepeatAtT = Aws::String>
118 TopicRefreshSchedule& WithRepeatAt(RepeatAtT&& value) {
119 SetRepeatAt(std::forward<RepeatAtT>(value));
120 return *this;
121 }
123
125
130 inline TopicScheduleType GetTopicScheduleType() const { return m_topicScheduleType; }
131 inline bool TopicScheduleTypeHasBeenSet() const { return m_topicScheduleTypeHasBeenSet; }
133 m_topicScheduleTypeHasBeenSet = true;
134 m_topicScheduleType = value;
135 }
138 return *this;
139 }
141 private:
142 bool m_isEnabled{false};
143
144 bool m_basedOnSpiceSchedule{false};
145
146 Aws::Utils::DateTime m_startingAt{};
147
148 Aws::String m_timezone;
149
150 Aws::String m_repeatAt;
151
153 bool m_isEnabledHasBeenSet = false;
154 bool m_basedOnSpiceScheduleHasBeenSet = false;
155 bool m_startingAtHasBeenSet = false;
156 bool m_timezoneHasBeenSet = false;
157 bool m_repeatAtHasBeenSet = false;
158 bool m_topicScheduleTypeHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace QuickSight
163} // namespace Aws
const Aws::Utils::DateTime & GetStartingAt() const
AWS_QUICKSIGHT_API TopicRefreshSchedule()=default
AWS_QUICKSIGHT_API TopicRefreshSchedule(Aws::Utils::Json::JsonView jsonValue)
TopicRefreshSchedule & WithTopicScheduleType(TopicScheduleType value)
TopicRefreshSchedule & WithTimezone(TimezoneT &&value)
TopicRefreshSchedule & WithBasedOnSpiceSchedule(bool value)
TopicRefreshSchedule & WithStartingAt(StartingAtT &&value)
TopicRefreshSchedule & WithIsEnabled(bool value)
TopicRefreshSchedule & WithRepeatAt(RepeatAtT &&value)
AWS_QUICKSIGHT_API TopicRefreshSchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue