AWS SDK for C++

AWS SDK for C++ Version 1.11.745

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
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight {
24namespace Model {
25
32 public:
33 AWS_QUICKSIGHT_API AssetOptions() = default;
34 AWS_QUICKSIGHT_API AssetOptions(Aws::Utils::Json::JsonView jsonValue);
35 AWS_QUICKSIGHT_API AssetOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetTimezone() const { return m_timezone; }
43 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
44 template <typename TimezoneT = Aws::String>
45 void SetTimezone(TimezoneT&& value) {
46 m_timezoneHasBeenSet = true;
47 m_timezone = std::forward<TimezoneT>(value);
48 }
49 template <typename TimezoneT = Aws::String>
50 AssetOptions& WithTimezone(TimezoneT&& value) {
51 SetTimezone(std::forward<TimezoneT>(value));
52 return *this;
53 }
55
57
60 inline DayOfTheWeek GetWeekStart() const { return m_weekStart; }
61 inline bool WeekStartHasBeenSet() const { return m_weekStartHasBeenSet; }
62 inline void SetWeekStart(DayOfTheWeek value) {
63 m_weekStartHasBeenSet = true;
64 m_weekStart = value;
65 }
67 SetWeekStart(value);
68 return *this;
69 }
71
73
77 inline QBusinessInsightsStatus GetQBusinessInsightsStatus() const { return m_qBusinessInsightsStatus; }
78 inline bool QBusinessInsightsStatusHasBeenSet() const { return m_qBusinessInsightsStatusHasBeenSet; }
80 m_qBusinessInsightsStatusHasBeenSet = true;
81 m_qBusinessInsightsStatus = value;
82 }
85 return *this;
86 }
88
90
93 inline const Aws::Vector<Aws::String>& GetExcludedDataSetArns() const { return m_excludedDataSetArns; }
94 inline bool ExcludedDataSetArnsHasBeenSet() const { return m_excludedDataSetArnsHasBeenSet; }
95 template <typename ExcludedDataSetArnsT = Aws::Vector<Aws::String>>
96 void SetExcludedDataSetArns(ExcludedDataSetArnsT&& value) {
97 m_excludedDataSetArnsHasBeenSet = true;
98 m_excludedDataSetArns = std::forward<ExcludedDataSetArnsT>(value);
99 }
100 template <typename ExcludedDataSetArnsT = Aws::Vector<Aws::String>>
101 AssetOptions& WithExcludedDataSetArns(ExcludedDataSetArnsT&& value) {
102 SetExcludedDataSetArns(std::forward<ExcludedDataSetArnsT>(value));
103 return *this;
104 }
105 template <typename ExcludedDataSetArnsT = Aws::String>
106 AssetOptions& AddExcludedDataSetArns(ExcludedDataSetArnsT&& value) {
107 m_excludedDataSetArnsHasBeenSet = true;
108 m_excludedDataSetArns.emplace_back(std::forward<ExcludedDataSetArnsT>(value));
109 return *this;
110 }
112
114
117 inline const VisualCustomActionDefaults& GetCustomActionDefaults() const { return m_customActionDefaults; }
118 inline bool CustomActionDefaultsHasBeenSet() const { return m_customActionDefaultsHasBeenSet; }
119 template <typename CustomActionDefaultsT = VisualCustomActionDefaults>
120 void SetCustomActionDefaults(CustomActionDefaultsT&& value) {
121 m_customActionDefaultsHasBeenSet = true;
122 m_customActionDefaults = std::forward<CustomActionDefaultsT>(value);
123 }
124 template <typename CustomActionDefaultsT = VisualCustomActionDefaults>
125 AssetOptions& WithCustomActionDefaults(CustomActionDefaultsT&& value) {
126 SetCustomActionDefaults(std::forward<CustomActionDefaultsT>(value));
127 return *this;
128 }
130 private:
131 Aws::String m_timezone;
132
134
136
137 Aws::Vector<Aws::String> m_excludedDataSetArns;
138
139 VisualCustomActionDefaults m_customActionDefaults;
140 bool m_timezoneHasBeenSet = false;
141 bool m_weekStartHasBeenSet = false;
142 bool m_qBusinessInsightsStatusHasBeenSet = false;
143 bool m_excludedDataSetArnsHasBeenSet = false;
144 bool m_customActionDefaultsHasBeenSet = false;
145};
146
147} // namespace Model
148} // namespace QuickSight
149} // 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
QBusinessInsightsStatus GetQBusinessInsightsStatus() const
AssetOptions & WithWeekStart(DayOfTheWeek value)
const Aws::String & GetTimezone() 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