AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DefaultDateTimePickerControlOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/SheetControlDateTimePickerType.h>
9#include <aws/quicksight/model/DateTimePickerControlDisplayOptions.h>
10#include <aws/quicksight/model/CommitMode.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
35 {
36 public:
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
51 inline const SheetControlDateTimePickerType& GetType() const{ return m_type; }
52 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
53 inline void SetType(const SheetControlDateTimePickerType& value) { m_typeHasBeenSet = true; m_type = value; }
54 inline void SetType(SheetControlDateTimePickerType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
56 inline DefaultDateTimePickerControlOptions& WithType(SheetControlDateTimePickerType&& value) { SetType(std::move(value)); return *this;}
58
60
63 inline const DateTimePickerControlDisplayOptions& GetDisplayOptions() const{ return m_displayOptions; }
64 inline bool DisplayOptionsHasBeenSet() const { return m_displayOptionsHasBeenSet; }
65 inline void SetDisplayOptions(const DateTimePickerControlDisplayOptions& value) { m_displayOptionsHasBeenSet = true; m_displayOptions = value; }
66 inline void SetDisplayOptions(DateTimePickerControlDisplayOptions&& value) { m_displayOptionsHasBeenSet = true; m_displayOptions = std::move(value); }
70
72
76 inline const CommitMode& GetCommitMode() const{ return m_commitMode; }
77 inline bool CommitModeHasBeenSet() const { return m_commitModeHasBeenSet; }
78 inline void SetCommitMode(const CommitMode& value) { m_commitModeHasBeenSet = true; m_commitMode = value; }
79 inline void SetCommitMode(CommitMode&& value) { m_commitModeHasBeenSet = true; m_commitMode = std::move(value); }
80 inline DefaultDateTimePickerControlOptions& WithCommitMode(const CommitMode& value) { SetCommitMode(value); return *this;}
81 inline DefaultDateTimePickerControlOptions& WithCommitMode(CommitMode&& value) { SetCommitMode(std::move(value)); return *this;}
83 private:
84
86 bool m_typeHasBeenSet = false;
87
89 bool m_displayOptionsHasBeenSet = false;
90
91 CommitMode m_commitMode;
92 bool m_commitModeHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace QuickSight
97} // namespace Aws
DefaultDateTimePickerControlOptions & WithCommitMode(const CommitMode &value)
DefaultDateTimePickerControlOptions & WithType(SheetControlDateTimePickerType &&value)
AWS_QUICKSIGHT_API DefaultDateTimePickerControlOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
DefaultDateTimePickerControlOptions & WithDisplayOptions(DateTimePickerControlDisplayOptions &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API DefaultDateTimePickerControlOptions(Aws::Utils::Json::JsonView jsonValue)
DefaultDateTimePickerControlOptions & WithDisplayOptions(const DateTimePickerControlDisplayOptions &value)
void SetDisplayOptions(const DateTimePickerControlDisplayOptions &value)
const DateTimePickerControlDisplayOptions & GetDisplayOptions() const
DefaultDateTimePickerControlOptions & WithCommitMode(CommitMode &&value)
DefaultDateTimePickerControlOptions & WithType(const SheetControlDateTimePickerType &value)
Aws::Utils::Json::JsonValue JsonValue