AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RefreshFrequency.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/RefreshInterval.h>
9#include <aws/quicksight/model/ScheduleRefreshOnEntity.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QUICKSIGHT_API RefreshFrequency();
38 AWS_QUICKSIGHT_API RefreshFrequency(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
58 inline const RefreshInterval& GetInterval() const{ return m_interval; }
59 inline bool IntervalHasBeenSet() const { return m_intervalHasBeenSet; }
60 inline void SetInterval(const RefreshInterval& value) { m_intervalHasBeenSet = true; m_interval = value; }
61 inline void SetInterval(RefreshInterval&& value) { m_intervalHasBeenSet = true; m_interval = std::move(value); }
62 inline RefreshFrequency& WithInterval(const RefreshInterval& value) { SetInterval(value); return *this;}
63 inline RefreshFrequency& WithInterval(RefreshInterval&& value) { SetInterval(std::move(value)); return *this;}
65
67
71 inline const ScheduleRefreshOnEntity& GetRefreshOnDay() const{ return m_refreshOnDay; }
72 inline bool RefreshOnDayHasBeenSet() const { return m_refreshOnDayHasBeenSet; }
73 inline void SetRefreshOnDay(const ScheduleRefreshOnEntity& value) { m_refreshOnDayHasBeenSet = true; m_refreshOnDay = value; }
74 inline void SetRefreshOnDay(ScheduleRefreshOnEntity&& value) { m_refreshOnDayHasBeenSet = true; m_refreshOnDay = std::move(value); }
75 inline RefreshFrequency& WithRefreshOnDay(const ScheduleRefreshOnEntity& value) { SetRefreshOnDay(value); return *this;}
76 inline RefreshFrequency& WithRefreshOnDay(ScheduleRefreshOnEntity&& value) { SetRefreshOnDay(std::move(value)); return *this;}
78
80
85 inline const Aws::String& GetTimezone() const{ return m_timezone; }
86 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
87 inline void SetTimezone(const Aws::String& value) { m_timezoneHasBeenSet = true; m_timezone = value; }
88 inline void SetTimezone(Aws::String&& value) { m_timezoneHasBeenSet = true; m_timezone = std::move(value); }
89 inline void SetTimezone(const char* value) { m_timezoneHasBeenSet = true; m_timezone.assign(value); }
90 inline RefreshFrequency& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;}
91 inline RefreshFrequency& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;}
92 inline RefreshFrequency& WithTimezone(const char* value) { SetTimezone(value); return *this;}
94
96
101 inline const Aws::String& GetTimeOfTheDay() const{ return m_timeOfTheDay; }
102 inline bool TimeOfTheDayHasBeenSet() const { return m_timeOfTheDayHasBeenSet; }
103 inline void SetTimeOfTheDay(const Aws::String& value) { m_timeOfTheDayHasBeenSet = true; m_timeOfTheDay = value; }
104 inline void SetTimeOfTheDay(Aws::String&& value) { m_timeOfTheDayHasBeenSet = true; m_timeOfTheDay = std::move(value); }
105 inline void SetTimeOfTheDay(const char* value) { m_timeOfTheDayHasBeenSet = true; m_timeOfTheDay.assign(value); }
106 inline RefreshFrequency& WithTimeOfTheDay(const Aws::String& value) { SetTimeOfTheDay(value); return *this;}
107 inline RefreshFrequency& WithTimeOfTheDay(Aws::String&& value) { SetTimeOfTheDay(std::move(value)); return *this;}
108 inline RefreshFrequency& WithTimeOfTheDay(const char* value) { SetTimeOfTheDay(value); return *this;}
110 private:
111
112 RefreshInterval m_interval;
113 bool m_intervalHasBeenSet = false;
114
115 ScheduleRefreshOnEntity m_refreshOnDay;
116 bool m_refreshOnDayHasBeenSet = false;
117
118 Aws::String m_timezone;
119 bool m_timezoneHasBeenSet = false;
120
121 Aws::String m_timeOfTheDay;
122 bool m_timeOfTheDayHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace QuickSight
127} // namespace Aws
void SetInterval(RefreshInterval &&value)
RefreshFrequency & WithTimezone(const char *value)
const ScheduleRefreshOnEntity & GetRefreshOnDay() const
const RefreshInterval & GetInterval() const
RefreshFrequency & WithTimeOfTheDay(Aws::String &&value)
RefreshFrequency & WithTimezone(const Aws::String &value)
RefreshFrequency & WithInterval(const RefreshInterval &value)
void SetTimeOfTheDay(const Aws::String &value)
RefreshFrequency & WithRefreshOnDay(const ScheduleRefreshOnEntity &value)
RefreshFrequency & WithRefreshOnDay(ScheduleRefreshOnEntity &&value)
RefreshFrequency & WithTimeOfTheDay(const Aws::String &value)
RefreshFrequency & WithInterval(RefreshInterval &&value)
AWS_QUICKSIGHT_API RefreshFrequency(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API RefreshFrequency & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRefreshOnDay(const ScheduleRefreshOnEntity &value)
const Aws::String & GetTimeOfTheDay() const
RefreshFrequency & WithTimeOfTheDay(const char *value)
const Aws::String & GetTimezone() const
RefreshFrequency & WithTimezone(Aws::String &&value)
void SetRefreshOnDay(ScheduleRefreshOnEntity &&value)
void SetInterval(const RefreshInterval &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTimezone(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue