AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AssetOptions.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/DayOfTheWeek.h>
10#include <aws/quicksight/model/QBusinessInsightsStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/quicksight/model/VisualCustomActionDefaults.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace QuickSight
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_QUICKSIGHT_API AssetOptions() = default;
39 AWS_QUICKSIGHT_API AssetOptions(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API AssetOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetTimezone() const { return m_timezone; }
49 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
50 template<typename TimezoneT = Aws::String>
51 void SetTimezone(TimezoneT&& value) { m_timezoneHasBeenSet = true; m_timezone = std::forward<TimezoneT>(value); }
52 template<typename TimezoneT = Aws::String>
53 AssetOptions& WithTimezone(TimezoneT&& value) { SetTimezone(std::forward<TimezoneT>(value)); return *this;}
55
57
60 inline DayOfTheWeek GetWeekStart() const { return m_weekStart; }
61 inline bool WeekStartHasBeenSet() const { return m_weekStartHasBeenSet; }
62 inline void SetWeekStart(DayOfTheWeek value) { m_weekStartHasBeenSet = true; m_weekStart = value; }
63 inline AssetOptions& WithWeekStart(DayOfTheWeek value) { SetWeekStart(value); return *this;}
65
67
71 inline QBusinessInsightsStatus GetQBusinessInsightsStatus() const { return m_qBusinessInsightsStatus; }
72 inline bool QBusinessInsightsStatusHasBeenSet() const { return m_qBusinessInsightsStatusHasBeenSet; }
73 inline void SetQBusinessInsightsStatus(QBusinessInsightsStatus value) { m_qBusinessInsightsStatusHasBeenSet = true; m_qBusinessInsightsStatus = value; }
76
78
81 inline const Aws::Vector<Aws::String>& GetExcludedDataSetArns() const { return m_excludedDataSetArns; }
82 inline bool ExcludedDataSetArnsHasBeenSet() const { return m_excludedDataSetArnsHasBeenSet; }
83 template<typename ExcludedDataSetArnsT = Aws::Vector<Aws::String>>
84 void SetExcludedDataSetArns(ExcludedDataSetArnsT&& value) { m_excludedDataSetArnsHasBeenSet = true; m_excludedDataSetArns = std::forward<ExcludedDataSetArnsT>(value); }
85 template<typename ExcludedDataSetArnsT = Aws::Vector<Aws::String>>
86 AssetOptions& WithExcludedDataSetArns(ExcludedDataSetArnsT&& value) { SetExcludedDataSetArns(std::forward<ExcludedDataSetArnsT>(value)); return *this;}
87 template<typename ExcludedDataSetArnsT = Aws::String>
88 AssetOptions& AddExcludedDataSetArns(ExcludedDataSetArnsT&& value) { m_excludedDataSetArnsHasBeenSet = true; m_excludedDataSetArns.emplace_back(std::forward<ExcludedDataSetArnsT>(value)); return *this; }
90
92
95 inline const VisualCustomActionDefaults& GetCustomActionDefaults() const { return m_customActionDefaults; }
96 inline bool CustomActionDefaultsHasBeenSet() const { return m_customActionDefaultsHasBeenSet; }
97 template<typename CustomActionDefaultsT = VisualCustomActionDefaults>
98 void SetCustomActionDefaults(CustomActionDefaultsT&& value) { m_customActionDefaultsHasBeenSet = true; m_customActionDefaults = std::forward<CustomActionDefaultsT>(value); }
99 template<typename CustomActionDefaultsT = VisualCustomActionDefaults>
100 AssetOptions& WithCustomActionDefaults(CustomActionDefaultsT&& value) { SetCustomActionDefaults(std::forward<CustomActionDefaultsT>(value)); return *this;}
102 private:
103
104 Aws::String m_timezone;
105 bool m_timezoneHasBeenSet = false;
106
108 bool m_weekStartHasBeenSet = false;
109
111 bool m_qBusinessInsightsStatusHasBeenSet = false;
112
113 Aws::Vector<Aws::String> m_excludedDataSetArns;
114 bool m_excludedDataSetArnsHasBeenSet = false;
115
116 VisualCustomActionDefaults m_customActionDefaults;
117 bool m_customActionDefaultsHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace QuickSight
122} // 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