AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DefaultFormatting.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/DisplayFormat.h>
9#include <aws/quicksight/model/DisplayFormatOptions.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:
36 AWS_QUICKSIGHT_API DefaultFormatting();
37 AWS_QUICKSIGHT_API DefaultFormatting(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const DisplayFormat& GetDisplayFormat() const{ return m_displayFormat; }
49 inline bool DisplayFormatHasBeenSet() const { return m_displayFormatHasBeenSet; }
50 inline void SetDisplayFormat(const DisplayFormat& value) { m_displayFormatHasBeenSet = true; m_displayFormat = value; }
51 inline void SetDisplayFormat(DisplayFormat&& value) { m_displayFormatHasBeenSet = true; m_displayFormat = std::move(value); }
52 inline DefaultFormatting& WithDisplayFormat(const DisplayFormat& value) { SetDisplayFormat(value); return *this;}
53 inline DefaultFormatting& WithDisplayFormat(DisplayFormat&& value) { SetDisplayFormat(std::move(value)); return *this;}
55
57
60 inline const DisplayFormatOptions& GetDisplayFormatOptions() const{ return m_displayFormatOptions; }
61 inline bool DisplayFormatOptionsHasBeenSet() const { return m_displayFormatOptionsHasBeenSet; }
62 inline void SetDisplayFormatOptions(const DisplayFormatOptions& value) { m_displayFormatOptionsHasBeenSet = true; m_displayFormatOptions = value; }
63 inline void SetDisplayFormatOptions(DisplayFormatOptions&& value) { m_displayFormatOptionsHasBeenSet = true; m_displayFormatOptions = std::move(value); }
67 private:
68
69 DisplayFormat m_displayFormat;
70 bool m_displayFormatHasBeenSet = false;
71
72 DisplayFormatOptions m_displayFormatOptions;
73 bool m_displayFormatOptionsHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace QuickSight
78} // namespace Aws
const DisplayFormatOptions & GetDisplayFormatOptions() const
void SetDisplayFormatOptions(DisplayFormatOptions &&value)
void SetDisplayFormatOptions(const DisplayFormatOptions &value)
void SetDisplayFormat(const DisplayFormat &value)
void SetDisplayFormat(DisplayFormat &&value)
DefaultFormatting & WithDisplayFormatOptions(const DisplayFormatOptions &value)
AWS_QUICKSIGHT_API DefaultFormatting(Aws::Utils::Json::JsonView jsonValue)
DefaultFormatting & WithDisplayFormat(DisplayFormat &&value)
DefaultFormatting & WithDisplayFormat(const DisplayFormat &value)
const DisplayFormat & GetDisplayFormat() const
DefaultFormatting & WithDisplayFormatOptions(DisplayFormatOptions &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API DefaultFormatting & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue