AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RelativeDateTimeControlDisplayOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/LabelOptions.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/model/SheetControlInfoIconLabelOptions.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_QUICKSIGHT_API RelativeDateTimeControlDisplayOptions() = default;
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const LabelOptions& GetTitleOptions() const { return m_titleOptions; }
47 inline bool TitleOptionsHasBeenSet() const { return m_titleOptionsHasBeenSet; }
48 template<typename TitleOptionsT = LabelOptions>
49 void SetTitleOptions(TitleOptionsT&& value) { m_titleOptionsHasBeenSet = true; m_titleOptions = std::forward<TitleOptionsT>(value); }
50 template<typename TitleOptionsT = LabelOptions>
51 RelativeDateTimeControlDisplayOptions& WithTitleOptions(TitleOptionsT&& value) { SetTitleOptions(std::forward<TitleOptionsT>(value)); return *this;}
53
55
58 inline const Aws::String& GetDateTimeFormat() const { return m_dateTimeFormat; }
59 inline bool DateTimeFormatHasBeenSet() const { return m_dateTimeFormatHasBeenSet; }
60 template<typename DateTimeFormatT = Aws::String>
61 void SetDateTimeFormat(DateTimeFormatT&& value) { m_dateTimeFormatHasBeenSet = true; m_dateTimeFormat = std::forward<DateTimeFormatT>(value); }
62 template<typename DateTimeFormatT = Aws::String>
63 RelativeDateTimeControlDisplayOptions& WithDateTimeFormat(DateTimeFormatT&& value) { SetDateTimeFormat(std::forward<DateTimeFormatT>(value)); return *this;}
65
67
70 inline const SheetControlInfoIconLabelOptions& GetInfoIconLabelOptions() const { return m_infoIconLabelOptions; }
71 inline bool InfoIconLabelOptionsHasBeenSet() const { return m_infoIconLabelOptionsHasBeenSet; }
72 template<typename InfoIconLabelOptionsT = SheetControlInfoIconLabelOptions>
73 void SetInfoIconLabelOptions(InfoIconLabelOptionsT&& value) { m_infoIconLabelOptionsHasBeenSet = true; m_infoIconLabelOptions = std::forward<InfoIconLabelOptionsT>(value); }
74 template<typename InfoIconLabelOptionsT = SheetControlInfoIconLabelOptions>
75 RelativeDateTimeControlDisplayOptions& WithInfoIconLabelOptions(InfoIconLabelOptionsT&& value) { SetInfoIconLabelOptions(std::forward<InfoIconLabelOptionsT>(value)); return *this;}
77 private:
78
79 LabelOptions m_titleOptions;
80 bool m_titleOptionsHasBeenSet = false;
81
82 Aws::String m_dateTimeFormat;
83 bool m_dateTimeFormatHasBeenSet = false;
84
85 SheetControlInfoIconLabelOptions m_infoIconLabelOptions;
86 bool m_infoIconLabelOptionsHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace QuickSight
91} // namespace Aws
AWS_QUICKSIGHT_API RelativeDateTimeControlDisplayOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API RelativeDateTimeControlDisplayOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
RelativeDateTimeControlDisplayOptions & WithDateTimeFormat(DateTimeFormatT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
RelativeDateTimeControlDisplayOptions & WithInfoIconLabelOptions(InfoIconLabelOptionsT &&value)
RelativeDateTimeControlDisplayOptions & WithTitleOptions(TitleOptionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue