AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DonutOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ArcOptions.h>
9#include <aws/quicksight/model/DonutCenterOptions.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 DonutOptions() = default;
37 AWS_QUICKSIGHT_API DonutOptions(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API DonutOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
50 inline const ArcOptions& GetArcOptions() const { return m_arcOptions; }
51 inline bool ArcOptionsHasBeenSet() const { return m_arcOptionsHasBeenSet; }
52 template<typename ArcOptionsT = ArcOptions>
53 void SetArcOptions(ArcOptionsT&& value) { m_arcOptionsHasBeenSet = true; m_arcOptions = std::forward<ArcOptionsT>(value); }
54 template<typename ArcOptionsT = ArcOptions>
55 DonutOptions& WithArcOptions(ArcOptionsT&& value) { SetArcOptions(std::forward<ArcOptionsT>(value)); return *this;}
57
59
63 inline const DonutCenterOptions& GetDonutCenterOptions() const { return m_donutCenterOptions; }
64 inline bool DonutCenterOptionsHasBeenSet() const { return m_donutCenterOptionsHasBeenSet; }
65 template<typename DonutCenterOptionsT = DonutCenterOptions>
66 void SetDonutCenterOptions(DonutCenterOptionsT&& value) { m_donutCenterOptionsHasBeenSet = true; m_donutCenterOptions = std::forward<DonutCenterOptionsT>(value); }
67 template<typename DonutCenterOptionsT = DonutCenterOptions>
68 DonutOptions& WithDonutCenterOptions(DonutCenterOptionsT&& value) { SetDonutCenterOptions(std::forward<DonutCenterOptionsT>(value)); return *this;}
70 private:
71
72 ArcOptions m_arcOptions;
73 bool m_arcOptionsHasBeenSet = false;
74
75 DonutCenterOptions m_donutCenterOptions;
76 bool m_donutCenterOptionsHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace QuickSight
81} // namespace Aws
AWS_QUICKSIGHT_API DonutOptions()=default
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
DonutOptions & WithDonutCenterOptions(DonutCenterOptionsT &&value)
const ArcOptions & GetArcOptions() const
AWS_QUICKSIGHT_API DonutOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArcOptions(ArcOptionsT &&value)
const DonutCenterOptions & GetDonutCenterOptions() const
DonutOptions & WithArcOptions(ArcOptionsT &&value)
AWS_QUICKSIGHT_API DonutOptions(Aws::Utils::Json::JsonView jsonValue)
void SetDonutCenterOptions(DonutCenterOptionsT &&value)
Aws::Utils::Json::JsonValue JsonValue