AWS SDK for C++

AWS SDK for C++ Version 1.11.748

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API DonutOptions() = default;
32 AWS_QUICKSIGHT_API DonutOptions(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API DonutOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
44 inline const ArcOptions& GetArcOptions() const { return m_arcOptions; }
45 inline bool ArcOptionsHasBeenSet() const { return m_arcOptionsHasBeenSet; }
46 template <typename ArcOptionsT = ArcOptions>
47 void SetArcOptions(ArcOptionsT&& value) {
48 m_arcOptionsHasBeenSet = true;
49 m_arcOptions = std::forward<ArcOptionsT>(value);
50 }
51 template <typename ArcOptionsT = ArcOptions>
52 DonutOptions& WithArcOptions(ArcOptionsT&& value) {
53 SetArcOptions(std::forward<ArcOptionsT>(value));
54 return *this;
55 }
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) {
67 m_donutCenterOptionsHasBeenSet = true;
68 m_donutCenterOptions = std::forward<DonutCenterOptionsT>(value);
69 }
70 template <typename DonutCenterOptionsT = DonutCenterOptions>
71 DonutOptions& WithDonutCenterOptions(DonutCenterOptionsT&& value) {
72 SetDonutCenterOptions(std::forward<DonutCenterOptionsT>(value));
73 return *this;
74 }
76 private:
77 ArcOptions m_arcOptions;
78
79 DonutCenterOptions m_donutCenterOptions;
80 bool m_arcOptionsHasBeenSet = false;
81 bool m_donutCenterOptionsHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace QuickSight
86} // 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