AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <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
33 {
34 public:
35 AWS_QUICKSIGHT_API AssetOptions();
36 AWS_QUICKSIGHT_API AssetOptions(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API AssetOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetTimezone() const{ return m_timezone; }
46 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
47 inline void SetTimezone(const Aws::String& value) { m_timezoneHasBeenSet = true; m_timezone = value; }
48 inline void SetTimezone(Aws::String&& value) { m_timezoneHasBeenSet = true; m_timezone = std::move(value); }
49 inline void SetTimezone(const char* value) { m_timezoneHasBeenSet = true; m_timezone.assign(value); }
50 inline AssetOptions& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;}
51 inline AssetOptions& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;}
52 inline AssetOptions& WithTimezone(const char* value) { SetTimezone(value); return *this;}
54
56
59 inline const DayOfTheWeek& GetWeekStart() const{ return m_weekStart; }
60 inline bool WeekStartHasBeenSet() const { return m_weekStartHasBeenSet; }
61 inline void SetWeekStart(const DayOfTheWeek& value) { m_weekStartHasBeenSet = true; m_weekStart = value; }
62 inline void SetWeekStart(DayOfTheWeek&& value) { m_weekStartHasBeenSet = true; m_weekStart = std::move(value); }
63 inline AssetOptions& WithWeekStart(const DayOfTheWeek& value) { SetWeekStart(value); return *this;}
64 inline AssetOptions& WithWeekStart(DayOfTheWeek&& value) { SetWeekStart(std::move(value)); return *this;}
66 private:
67
68 Aws::String m_timezone;
69 bool m_timezoneHasBeenSet = false;
70
71 DayOfTheWeek m_weekStart;
72 bool m_weekStartHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace QuickSight
77} // namespace Aws
AWS_QUICKSIGHT_API AssetOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API AssetOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AssetOptions & WithWeekStart(const DayOfTheWeek &value)
AssetOptions & WithTimezone(const Aws::String &value)
void SetWeekStart(const DayOfTheWeek &value)
void SetWeekStart(DayOfTheWeek &&value)
AssetOptions & WithWeekStart(DayOfTheWeek &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AssetOptions & WithTimezone(const char *value)
const DayOfTheWeek & GetWeekStart() const
const Aws::String & GetTimezone() const
AssetOptions & WithTimezone(Aws::String &&value)
void SetTimezone(Aws::String &&value)
void SetTimezone(const Aws::String &value)
void SetTimezone(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue