AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetTitleOptions(const LabelOptions& value) { m_titleOptionsHasBeenSet = true; m_titleOptions = value; }
49 inline void SetTitleOptions(LabelOptions&& value) { m_titleOptionsHasBeenSet = true; m_titleOptions = std::move(value); }
51 inline RelativeDateTimeControlDisplayOptions& WithTitleOptions(LabelOptions&& value) { SetTitleOptions(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetDateTimeFormat() const{ return m_dateTimeFormat; }
59 inline bool DateTimeFormatHasBeenSet() const { return m_dateTimeFormatHasBeenSet; }
60 inline void SetDateTimeFormat(const Aws::String& value) { m_dateTimeFormatHasBeenSet = true; m_dateTimeFormat = value; }
61 inline void SetDateTimeFormat(Aws::String&& value) { m_dateTimeFormatHasBeenSet = true; m_dateTimeFormat = std::move(value); }
62 inline void SetDateTimeFormat(const char* value) { m_dateTimeFormatHasBeenSet = true; m_dateTimeFormat.assign(value); }
65 inline RelativeDateTimeControlDisplayOptions& WithDateTimeFormat(const char* value) { SetDateTimeFormat(value); return *this;}
67
69
72 inline const SheetControlInfoIconLabelOptions& GetInfoIconLabelOptions() const{ return m_infoIconLabelOptions; }
73 inline bool InfoIconLabelOptionsHasBeenSet() const { return m_infoIconLabelOptionsHasBeenSet; }
74 inline void SetInfoIconLabelOptions(const SheetControlInfoIconLabelOptions& value) { m_infoIconLabelOptionsHasBeenSet = true; m_infoIconLabelOptions = value; }
75 inline void SetInfoIconLabelOptions(SheetControlInfoIconLabelOptions&& value) { m_infoIconLabelOptionsHasBeenSet = true; m_infoIconLabelOptions = std::move(value); }
79 private:
80
81 LabelOptions m_titleOptions;
82 bool m_titleOptionsHasBeenSet = false;
83
84 Aws::String m_dateTimeFormat;
85 bool m_dateTimeFormatHasBeenSet = false;
86
87 SheetControlInfoIconLabelOptions m_infoIconLabelOptions;
88 bool m_infoIconLabelOptionsHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace QuickSight
93} // namespace Aws
RelativeDateTimeControlDisplayOptions & WithDateTimeFormat(const char *value)
RelativeDateTimeControlDisplayOptions & WithDateTimeFormat(Aws::String &&value)
AWS_QUICKSIGHT_API RelativeDateTimeControlDisplayOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API RelativeDateTimeControlDisplayOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
RelativeDateTimeControlDisplayOptions & WithInfoIconLabelOptions(SheetControlInfoIconLabelOptions &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
RelativeDateTimeControlDisplayOptions & WithTitleOptions(const LabelOptions &value)
void SetInfoIconLabelOptions(const SheetControlInfoIconLabelOptions &value)
RelativeDateTimeControlDisplayOptions & WithTitleOptions(LabelOptions &&value)
RelativeDateTimeControlDisplayOptions & WithDateTimeFormat(const Aws::String &value)
RelativeDateTimeControlDisplayOptions & WithInfoIconLabelOptions(const SheetControlInfoIconLabelOptions &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue