AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
InsightConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/Computation.h>
10#include <aws/quicksight/model/CustomNarrativeOptions.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 InsightConfiguration() = default;
33 AWS_QUICKSIGHT_API InsightConfiguration(Aws::Utils::Json::JsonView jsonValue);
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Vector<Computation>& GetComputations() const { return m_computations; }
42 inline bool ComputationsHasBeenSet() const { return m_computationsHasBeenSet; }
43 template <typename ComputationsT = Aws::Vector<Computation>>
44 void SetComputations(ComputationsT&& value) {
45 m_computationsHasBeenSet = true;
46 m_computations = std::forward<ComputationsT>(value);
47 }
48 template <typename ComputationsT = Aws::Vector<Computation>>
49 InsightConfiguration& WithComputations(ComputationsT&& value) {
50 SetComputations(std::forward<ComputationsT>(value));
51 return *this;
52 }
53 template <typename ComputationsT = Computation>
54 InsightConfiguration& AddComputations(ComputationsT&& value) {
55 m_computationsHasBeenSet = true;
56 m_computations.emplace_back(std::forward<ComputationsT>(value));
57 return *this;
58 }
60
62
65 inline const CustomNarrativeOptions& GetCustomNarrative() const { return m_customNarrative; }
66 inline bool CustomNarrativeHasBeenSet() const { return m_customNarrativeHasBeenSet; }
67 template <typename CustomNarrativeT = CustomNarrativeOptions>
68 void SetCustomNarrative(CustomNarrativeT&& value) {
69 m_customNarrativeHasBeenSet = true;
70 m_customNarrative = std::forward<CustomNarrativeT>(value);
71 }
72 template <typename CustomNarrativeT = CustomNarrativeOptions>
73 InsightConfiguration& WithCustomNarrative(CustomNarrativeT&& value) {
74 SetCustomNarrative(std::forward<CustomNarrativeT>(value));
75 return *this;
76 }
78
80
83 inline const VisualInteractionOptions& GetInteractions() const { return m_interactions; }
84 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
85 template <typename InteractionsT = VisualInteractionOptions>
86 void SetInteractions(InteractionsT&& value) {
87 m_interactionsHasBeenSet = true;
88 m_interactions = std::forward<InteractionsT>(value);
89 }
90 template <typename InteractionsT = VisualInteractionOptions>
91 InsightConfiguration& WithInteractions(InteractionsT&& value) {
92 SetInteractions(std::forward<InteractionsT>(value));
93 return *this;
94 }
96 private:
97 Aws::Vector<Computation> m_computations;
98
99 CustomNarrativeOptions m_customNarrative;
100
101 VisualInteractionOptions m_interactions;
102 bool m_computationsHasBeenSet = false;
103 bool m_customNarrativeHasBeenSet = false;
104 bool m_interactionsHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace QuickSight
109} // namespace Aws
AWS_QUICKSIGHT_API InsightConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
InsightConfiguration & AddComputations(ComputationsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
InsightConfiguration & WithComputations(ComputationsT &&value)
InsightConfiguration & WithCustomNarrative(CustomNarrativeT &&value)
const CustomNarrativeOptions & GetCustomNarrative() const
InsightConfiguration & WithInteractions(InteractionsT &&value)
const Aws::Vector< Computation > & GetComputations() const
AWS_QUICKSIGHT_API InsightConfiguration()=default
void SetCustomNarrative(CustomNarrativeT &&value)
AWS_QUICKSIGHT_API InsightConfiguration(Aws::Utils::Json::JsonView jsonValue)
const VisualInteractionOptions & GetInteractions() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue