AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
KPIConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/KPIFieldWells.h>
9#include <aws/quicksight/model/KPIOptions.h>
10#include <aws/quicksight/model/KPISortConfiguration.h>
11#include <aws/quicksight/model/VisualInteractionOptions.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight {
23namespace Model {
24
31 public:
32 AWS_QUICKSIGHT_API KPIConfiguration() = default;
33 AWS_QUICKSIGHT_API KPIConfiguration(Aws::Utils::Json::JsonView jsonValue);
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const KPIFieldWells& GetFieldWells() const { return m_fieldWells; }
42 inline bool FieldWellsHasBeenSet() const { return m_fieldWellsHasBeenSet; }
43 template <typename FieldWellsT = KPIFieldWells>
44 void SetFieldWells(FieldWellsT&& value) {
45 m_fieldWellsHasBeenSet = true;
46 m_fieldWells = std::forward<FieldWellsT>(value);
47 }
48 template <typename FieldWellsT = KPIFieldWells>
49 KPIConfiguration& WithFieldWells(FieldWellsT&& value) {
50 SetFieldWells(std::forward<FieldWellsT>(value));
51 return *this;
52 }
54
56
59 inline const KPISortConfiguration& GetSortConfiguration() const { return m_sortConfiguration; }
60 inline bool SortConfigurationHasBeenSet() const { return m_sortConfigurationHasBeenSet; }
61 template <typename SortConfigurationT = KPISortConfiguration>
62 void SetSortConfiguration(SortConfigurationT&& value) {
63 m_sortConfigurationHasBeenSet = true;
64 m_sortConfiguration = std::forward<SortConfigurationT>(value);
65 }
66 template <typename SortConfigurationT = KPISortConfiguration>
67 KPIConfiguration& WithSortConfiguration(SortConfigurationT&& value) {
68 SetSortConfiguration(std::forward<SortConfigurationT>(value));
69 return *this;
70 }
72
74
77 inline const KPIOptions& GetKPIOptions() const { return m_kPIOptions; }
78 inline bool KPIOptionsHasBeenSet() const { return m_kPIOptionsHasBeenSet; }
79 template <typename KPIOptionsT = KPIOptions>
80 void SetKPIOptions(KPIOptionsT&& value) {
81 m_kPIOptionsHasBeenSet = true;
82 m_kPIOptions = std::forward<KPIOptionsT>(value);
83 }
84 template <typename KPIOptionsT = KPIOptions>
85 KPIConfiguration& WithKPIOptions(KPIOptionsT&& value) {
86 SetKPIOptions(std::forward<KPIOptionsT>(value));
87 return *this;
88 }
90
92
95 inline const VisualInteractionOptions& GetInteractions() const { return m_interactions; }
96 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
97 template <typename InteractionsT = VisualInteractionOptions>
98 void SetInteractions(InteractionsT&& value) {
99 m_interactionsHasBeenSet = true;
100 m_interactions = std::forward<InteractionsT>(value);
101 }
102 template <typename InteractionsT = VisualInteractionOptions>
103 KPIConfiguration& WithInteractions(InteractionsT&& value) {
104 SetInteractions(std::forward<InteractionsT>(value));
105 return *this;
106 }
108 private:
109 KPIFieldWells m_fieldWells;
110
111 KPISortConfiguration m_sortConfiguration;
112
113 KPIOptions m_kPIOptions;
114
115 VisualInteractionOptions m_interactions;
116 bool m_fieldWellsHasBeenSet = false;
117 bool m_sortConfigurationHasBeenSet = false;
118 bool m_kPIOptionsHasBeenSet = false;
119 bool m_interactionsHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace QuickSight
124} // namespace Aws
void SetSortConfiguration(SortConfigurationT &&value)
const KPIOptions & GetKPIOptions() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const KPISortConfiguration & GetSortConfiguration() const
KPIConfiguration & WithSortConfiguration(SortConfigurationT &&value)
KPIConfiguration & WithKPIOptions(KPIOptionsT &&value)
AWS_QUICKSIGHT_API KPIConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetInteractions(InteractionsT &&value)
const KPIFieldWells & GetFieldWells() const
const VisualInteractionOptions & GetInteractions() const
KPIConfiguration & WithInteractions(InteractionsT &&value)
AWS_QUICKSIGHT_API KPIConfiguration()=default
KPIConfiguration & WithFieldWells(FieldWellsT &&value)
AWS_QUICKSIGHT_API KPIConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue