AWS SDK for C++

AWS SDK for C++ Version 1.11.860

Loading...
Searching...
No Matches
AssetOptions.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/DayOfTheWeek.h>
11#include <aws/quicksight/model/QBusinessInsightsStatus.h>
12#include <aws/quicksight/model/VisualCustomActionDefaults.h>
13#include <aws/quicksight/model/VisualMessages.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight {
25namespace Model {
26
33 public:
34 AWS_QUICKSIGHT_API AssetOptions() = default;
35 AWS_QUICKSIGHT_API AssetOptions(Aws::Utils::Json::JsonView jsonValue);
36 AWS_QUICKSIGHT_API AssetOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetTimezone() const { return m_timezone; }
44 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
45 template <typename TimezoneT = Aws::String>
46 void SetTimezone(TimezoneT&& value) {
47 m_timezoneHasBeenSet = true;
48 m_timezone = std::forward<TimezoneT>(value);
49 }
50 template <typename TimezoneT = Aws::String>
51 AssetOptions& WithTimezone(TimezoneT&& value) {
52 SetTimezone(std::forward<TimezoneT>(value));
53 return *this;
54 }
56
58
61 inline DayOfTheWeek GetWeekStart() const { return m_weekStart; }
62 inline bool WeekStartHasBeenSet() const { return m_weekStartHasBeenSet; }
63 inline void SetWeekStart(DayOfTheWeek value) {
64 m_weekStartHasBeenSet = true;
65 m_weekStart = value;
66 }
68 SetWeekStart(value);
69 return *this;
70 }
72
74
78 inline QBusinessInsightsStatus GetQBusinessInsightsStatus() const { return m_qBusinessInsightsStatus; }
79 inline bool QBusinessInsightsStatusHasBeenSet() const { return m_qBusinessInsightsStatusHasBeenSet; }
81 m_qBusinessInsightsStatusHasBeenSet = true;
82 m_qBusinessInsightsStatus = value;
83 }
86 return *this;
87 }
89
91
94 inline const Aws::Vector<Aws::String>& GetExcludedDataSetArns() const { return m_excludedDataSetArns; }
95 inline bool ExcludedDataSetArnsHasBeenSet() const { return m_excludedDataSetArnsHasBeenSet; }
96 template <typename ExcludedDataSetArnsT = Aws::Vector<Aws::String>>
97 void SetExcludedDataSetArns(ExcludedDataSetArnsT&& value) {
98 m_excludedDataSetArnsHasBeenSet = true;
99 m_excludedDataSetArns = std::forward<ExcludedDataSetArnsT>(value);
100 }
101 template <typename ExcludedDataSetArnsT = Aws::Vector<Aws::String>>
102 AssetOptions& WithExcludedDataSetArns(ExcludedDataSetArnsT&& value) {
103 SetExcludedDataSetArns(std::forward<ExcludedDataSetArnsT>(value));
104 return *this;
105 }
106 template <typename ExcludedDataSetArnsT = Aws::String>
107 AssetOptions& AddExcludedDataSetArns(ExcludedDataSetArnsT&& value) {
108 m_excludedDataSetArnsHasBeenSet = true;
109 m_excludedDataSetArns.emplace_back(std::forward<ExcludedDataSetArnsT>(value));
110 return *this;
111 }
113
115
118 inline const VisualCustomActionDefaults& GetCustomActionDefaults() const { return m_customActionDefaults; }
119 inline bool CustomActionDefaultsHasBeenSet() const { return m_customActionDefaultsHasBeenSet; }
120 template <typename CustomActionDefaultsT = VisualCustomActionDefaults>
121 void SetCustomActionDefaults(CustomActionDefaultsT&& value) {
122 m_customActionDefaultsHasBeenSet = true;
123 m_customActionDefaults = std::forward<CustomActionDefaultsT>(value);
124 }
125 template <typename CustomActionDefaultsT = VisualCustomActionDefaults>
126 AssetOptions& WithCustomActionDefaults(CustomActionDefaultsT&& value) {
127 SetCustomActionDefaults(std::forward<CustomActionDefaultsT>(value));
128 return *this;
129 }
131
133
137 inline const VisualMessages& GetVisualMessages() const { return m_visualMessages; }
138 inline bool VisualMessagesHasBeenSet() const { return m_visualMessagesHasBeenSet; }
139 template <typename VisualMessagesT = VisualMessages>
140 void SetVisualMessages(VisualMessagesT&& value) {
141 m_visualMessagesHasBeenSet = true;
142 m_visualMessages = std::forward<VisualMessagesT>(value);
143 }
144 template <typename VisualMessagesT = VisualMessages>
145 AssetOptions& WithVisualMessages(VisualMessagesT&& value) {
146 SetVisualMessages(std::forward<VisualMessagesT>(value));
147 return *this;
148 }
150 private:
151 Aws::String m_timezone;
152
154
156
157 Aws::Vector<Aws::String> m_excludedDataSetArns;
158
159 VisualCustomActionDefaults m_customActionDefaults;
160
161 VisualMessages m_visualMessages;
162 bool m_timezoneHasBeenSet = false;
163 bool m_weekStartHasBeenSet = false;
164 bool m_qBusinessInsightsStatusHasBeenSet = false;
165 bool m_excludedDataSetArnsHasBeenSet = false;
166 bool m_customActionDefaultsHasBeenSet = false;
167 bool m_visualMessagesHasBeenSet = false;
168};
169
170} // namespace Model
171} // namespace QuickSight
172} // namespace Aws
AWS_QUICKSIGHT_API AssetOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API AssetOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTimezone(TimezoneT &&value)
AssetOptions & WithTimezone(TimezoneT &&value)
AssetOptions & WithCustomActionDefaults(CustomActionDefaultsT &&value)
AssetOptions & WithExcludedDataSetArns(ExcludedDataSetArnsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVisualMessages(VisualMessagesT &&value)
QBusinessInsightsStatus GetQBusinessInsightsStatus() const
AssetOptions & WithWeekStart(DayOfTheWeek value)
AssetOptions & WithVisualMessages(VisualMessagesT &&value)
const Aws::String & GetTimezone() const
const VisualMessages & GetVisualMessages() const
AssetOptions & AddExcludedDataSetArns(ExcludedDataSetArnsT &&value)
void SetCustomActionDefaults(CustomActionDefaultsT &&value)
void SetWeekStart(DayOfTheWeek value)
const VisualCustomActionDefaults & GetCustomActionDefaults() const
AWS_QUICKSIGHT_API AssetOptions()=default
void SetQBusinessInsightsStatus(QBusinessInsightsStatus value)
const Aws::Vector< Aws::String > & GetExcludedDataSetArns() const
AssetOptions & WithQBusinessInsightsStatus(QBusinessInsightsStatus value)
void SetExcludedDataSetArns(ExcludedDataSetArnsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue