AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DefaultRelativeDateTimeControlOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/RelativeDateTimeControlDisplayOptions.h>
9#include <aws/quicksight/model/CommitMode.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
34 {
35 public:
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const RelativeDateTimeControlDisplayOptions& GetDisplayOptions() const{ return m_displayOptions; }
47 inline bool DisplayOptionsHasBeenSet() const { return m_displayOptionsHasBeenSet; }
48 inline void SetDisplayOptions(const RelativeDateTimeControlDisplayOptions& value) { m_displayOptionsHasBeenSet = true; m_displayOptions = value; }
49 inline void SetDisplayOptions(RelativeDateTimeControlDisplayOptions&& value) { m_displayOptionsHasBeenSet = true; m_displayOptions = std::move(value); }
53
55
59 inline const CommitMode& GetCommitMode() const{ return m_commitMode; }
60 inline bool CommitModeHasBeenSet() const { return m_commitModeHasBeenSet; }
61 inline void SetCommitMode(const CommitMode& value) { m_commitModeHasBeenSet = true; m_commitMode = value; }
62 inline void SetCommitMode(CommitMode&& value) { m_commitModeHasBeenSet = true; m_commitMode = std::move(value); }
64 inline DefaultRelativeDateTimeControlOptions& WithCommitMode(CommitMode&& value) { SetCommitMode(std::move(value)); return *this;}
66 private:
67
69 bool m_displayOptionsHasBeenSet = false;
70
71 CommitMode m_commitMode;
72 bool m_commitModeHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace QuickSight
77} // namespace Aws
DefaultRelativeDateTimeControlOptions & WithDisplayOptions(RelativeDateTimeControlDisplayOptions &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDisplayOptions(const RelativeDateTimeControlDisplayOptions &value)
DefaultRelativeDateTimeControlOptions & WithCommitMode(const CommitMode &value)
AWS_QUICKSIGHT_API DefaultRelativeDateTimeControlOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
DefaultRelativeDateTimeControlOptions & WithCommitMode(CommitMode &&value)
AWS_QUICKSIGHT_API DefaultRelativeDateTimeControlOptions(Aws::Utils::Json::JsonView jsonValue)
const RelativeDateTimeControlDisplayOptions & GetDisplayOptions() const
DefaultRelativeDateTimeControlOptions & WithDisplayOptions(const RelativeDateTimeControlDisplayOptions &value)
Aws::Utils::Json::JsonValue JsonValue