AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScheduleRefreshOnEntity.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/DayOfWeek.h>
9#include <aws/core/utils/memory/stl/AWSString.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 QuickSight
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QUICKSIGHT_API ScheduleRefreshOnEntity();
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const DayOfWeek& GetDayOfWeek() const{ return m_dayOfWeek; }
47 inline bool DayOfWeekHasBeenSet() const { return m_dayOfWeekHasBeenSet; }
48 inline void SetDayOfWeek(const DayOfWeek& value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = value; }
49 inline void SetDayOfWeek(DayOfWeek&& value) { m_dayOfWeekHasBeenSet = true; m_dayOfWeek = std::move(value); }
50 inline ScheduleRefreshOnEntity& WithDayOfWeek(const DayOfWeek& value) { SetDayOfWeek(value); return *this;}
51 inline ScheduleRefreshOnEntity& WithDayOfWeek(DayOfWeek&& value) { SetDayOfWeek(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetDayOfMonth() const{ return m_dayOfMonth; }
59 inline bool DayOfMonthHasBeenSet() const { return m_dayOfMonthHasBeenSet; }
60 inline void SetDayOfMonth(const Aws::String& value) { m_dayOfMonthHasBeenSet = true; m_dayOfMonth = value; }
61 inline void SetDayOfMonth(Aws::String&& value) { m_dayOfMonthHasBeenSet = true; m_dayOfMonth = std::move(value); }
62 inline void SetDayOfMonth(const char* value) { m_dayOfMonthHasBeenSet = true; m_dayOfMonth.assign(value); }
63 inline ScheduleRefreshOnEntity& WithDayOfMonth(const Aws::String& value) { SetDayOfMonth(value); return *this;}
64 inline ScheduleRefreshOnEntity& WithDayOfMonth(Aws::String&& value) { SetDayOfMonth(std::move(value)); return *this;}
65 inline ScheduleRefreshOnEntity& WithDayOfMonth(const char* value) { SetDayOfMonth(value); return *this;}
67 private:
68
69 DayOfWeek m_dayOfWeek;
70 bool m_dayOfWeekHasBeenSet = false;
71
72 Aws::String m_dayOfMonth;
73 bool m_dayOfMonthHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace QuickSight
78} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API ScheduleRefreshOnEntity(Aws::Utils::Json::JsonView jsonValue)
ScheduleRefreshOnEntity & WithDayOfWeek(const DayOfWeek &value)
ScheduleRefreshOnEntity & WithDayOfMonth(const char *value)
AWS_QUICKSIGHT_API ScheduleRefreshOnEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
ScheduleRefreshOnEntity & WithDayOfMonth(const Aws::String &value)
ScheduleRefreshOnEntity & WithDayOfWeek(DayOfWeek &&value)
ScheduleRefreshOnEntity & WithDayOfMonth(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue