AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RefreshSchedule.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/RefreshFrequency.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/quicksight/model/IngestionType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_QUICKSIGHT_API RefreshSchedule() = default;
38 AWS_QUICKSIGHT_API RefreshSchedule(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetScheduleId() const { return m_scheduleId; }
48 inline bool ScheduleIdHasBeenSet() const { return m_scheduleIdHasBeenSet; }
49 template<typename ScheduleIdT = Aws::String>
50 void SetScheduleId(ScheduleIdT&& value) { m_scheduleIdHasBeenSet = true; m_scheduleId = std::forward<ScheduleIdT>(value); }
51 template<typename ScheduleIdT = Aws::String>
52 RefreshSchedule& WithScheduleId(ScheduleIdT&& value) { SetScheduleId(std::forward<ScheduleIdT>(value)); return *this;}
54
56
59 inline const RefreshFrequency& GetScheduleFrequency() const { return m_scheduleFrequency; }
60 inline bool ScheduleFrequencyHasBeenSet() const { return m_scheduleFrequencyHasBeenSet; }
61 template<typename ScheduleFrequencyT = RefreshFrequency>
62 void SetScheduleFrequency(ScheduleFrequencyT&& value) { m_scheduleFrequencyHasBeenSet = true; m_scheduleFrequency = std::forward<ScheduleFrequencyT>(value); }
63 template<typename ScheduleFrequencyT = RefreshFrequency>
64 RefreshSchedule& WithScheduleFrequency(ScheduleFrequencyT&& value) { SetScheduleFrequency(std::forward<ScheduleFrequencyT>(value)); return *this;}
66
68
72 inline const Aws::Utils::DateTime& GetStartAfterDateTime() const { return m_startAfterDateTime; }
73 inline bool StartAfterDateTimeHasBeenSet() const { return m_startAfterDateTimeHasBeenSet; }
74 template<typename StartAfterDateTimeT = Aws::Utils::DateTime>
75 void SetStartAfterDateTime(StartAfterDateTimeT&& value) { m_startAfterDateTimeHasBeenSet = true; m_startAfterDateTime = std::forward<StartAfterDateTimeT>(value); }
76 template<typename StartAfterDateTimeT = Aws::Utils::DateTime>
77 RefreshSchedule& WithStartAfterDateTime(StartAfterDateTimeT&& value) { SetStartAfterDateTime(std::forward<StartAfterDateTimeT>(value)); return *this;}
79
81
90 inline IngestionType GetRefreshType() const { return m_refreshType; }
91 inline bool RefreshTypeHasBeenSet() const { return m_refreshTypeHasBeenSet; }
92 inline void SetRefreshType(IngestionType value) { m_refreshTypeHasBeenSet = true; m_refreshType = value; }
93 inline RefreshSchedule& WithRefreshType(IngestionType value) { SetRefreshType(value); return *this;}
95
97
100 inline const Aws::String& GetArn() const { return m_arn; }
101 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
102 template<typename ArnT = Aws::String>
103 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
104 template<typename ArnT = Aws::String>
105 RefreshSchedule& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
107 private:
108
109 Aws::String m_scheduleId;
110 bool m_scheduleIdHasBeenSet = false;
111
112 RefreshFrequency m_scheduleFrequency;
113 bool m_scheduleFrequencyHasBeenSet = false;
114
115 Aws::Utils::DateTime m_startAfterDateTime{};
116 bool m_startAfterDateTimeHasBeenSet = false;
117
119 bool m_refreshTypeHasBeenSet = false;
120
121 Aws::String m_arn;
122 bool m_arnHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace QuickSight
127} // namespace Aws
void SetScheduleFrequency(ScheduleFrequencyT &&value)
RefreshSchedule & WithRefreshType(IngestionType value)
const Aws::Utils::DateTime & GetStartAfterDateTime() const
RefreshSchedule & WithStartAfterDateTime(StartAfterDateTimeT &&value)
const RefreshFrequency & GetScheduleFrequency() const
void SetScheduleId(ScheduleIdT &&value)
RefreshSchedule & WithScheduleFrequency(ScheduleFrequencyT &&value)
const Aws::String & GetScheduleId() const
RefreshSchedule & WithArn(ArnT &&value)
AWS_QUICKSIGHT_API RefreshSchedule()=default
void SetStartAfterDateTime(StartAfterDateTimeT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API RefreshSchedule(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API RefreshSchedule & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRefreshType(IngestionType value)
RefreshSchedule & WithScheduleId(ScheduleIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue