AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
RefreshFrequency.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/RefreshInterval.h>
10#include <aws/quicksight/model/ScheduleRefreshOnEntity.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 RefreshFrequency() = default;
33 AWS_QUICKSIGHT_API RefreshFrequency(Aws::Utils::Json::JsonView jsonValue);
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
52 inline RefreshInterval GetInterval() const { return m_interval; }
53 inline bool IntervalHasBeenSet() const { return m_intervalHasBeenSet; }
54 inline void SetInterval(RefreshInterval value) {
55 m_intervalHasBeenSet = true;
56 m_interval = value;
57 }
59 SetInterval(value);
60 return *this;
61 }
63
65
69 inline const ScheduleRefreshOnEntity& GetRefreshOnDay() const { return m_refreshOnDay; }
70 inline bool RefreshOnDayHasBeenSet() const { return m_refreshOnDayHasBeenSet; }
71 template <typename RefreshOnDayT = ScheduleRefreshOnEntity>
72 void SetRefreshOnDay(RefreshOnDayT&& value) {
73 m_refreshOnDayHasBeenSet = true;
74 m_refreshOnDay = std::forward<RefreshOnDayT>(value);
75 }
76 template <typename RefreshOnDayT = ScheduleRefreshOnEntity>
77 RefreshFrequency& WithRefreshOnDay(RefreshOnDayT&& value) {
78 SetRefreshOnDay(std::forward<RefreshOnDayT>(value));
79 return *this;
80 }
82
84
89 inline const Aws::String& GetTimezone() const { return m_timezone; }
90 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
91 template <typename TimezoneT = Aws::String>
92 void SetTimezone(TimezoneT&& value) {
93 m_timezoneHasBeenSet = true;
94 m_timezone = std::forward<TimezoneT>(value);
95 }
96 template <typename TimezoneT = Aws::String>
97 RefreshFrequency& WithTimezone(TimezoneT&& value) {
98 SetTimezone(std::forward<TimezoneT>(value));
99 return *this;
100 }
102
104
109 inline const Aws::String& GetTimeOfTheDay() const { return m_timeOfTheDay; }
110 inline bool TimeOfTheDayHasBeenSet() const { return m_timeOfTheDayHasBeenSet; }
111 template <typename TimeOfTheDayT = Aws::String>
112 void SetTimeOfTheDay(TimeOfTheDayT&& value) {
113 m_timeOfTheDayHasBeenSet = true;
114 m_timeOfTheDay = std::forward<TimeOfTheDayT>(value);
115 }
116 template <typename TimeOfTheDayT = Aws::String>
117 RefreshFrequency& WithTimeOfTheDay(TimeOfTheDayT&& value) {
118 SetTimeOfTheDay(std::forward<TimeOfTheDayT>(value));
119 return *this;
120 }
122 private:
124
125 ScheduleRefreshOnEntity m_refreshOnDay;
126
127 Aws::String m_timezone;
128
129 Aws::String m_timeOfTheDay;
130 bool m_intervalHasBeenSet = false;
131 bool m_refreshOnDayHasBeenSet = false;
132 bool m_timezoneHasBeenSet = false;
133 bool m_timeOfTheDayHasBeenSet = false;
134};
135
136} // namespace Model
137} // namespace QuickSight
138} // namespace Aws
void SetTimeOfTheDay(TimeOfTheDayT &&value)
void SetInterval(RefreshInterval value)
const ScheduleRefreshOnEntity & GetRefreshOnDay() const
RefreshFrequency & WithInterval(RefreshInterval value)
AWS_QUICKSIGHT_API RefreshFrequency()=default
RefreshFrequency & WithRefreshOnDay(RefreshOnDayT &&value)
RefreshFrequency & WithTimeOfTheDay(TimeOfTheDayT &&value)
AWS_QUICKSIGHT_API RefreshFrequency(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API RefreshFrequency & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTimeOfTheDay() const
const Aws::String & GetTimezone() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
RefreshFrequency & WithTimezone(TimezoneT &&value)
void SetRefreshOnDay(RefreshOnDayT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue