AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
InsightConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/model/CustomNarrativeOptions.h>
10#include <aws/quicksight/model/VisualInteractionOptions.h>
11#include <aws/quicksight/model/Computation.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_QUICKSIGHT_API InsightConfiguration() = default;
38 AWS_QUICKSIGHT_API InsightConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<Computation>& GetComputations() const { return m_computations; }
48 inline bool ComputationsHasBeenSet() const { return m_computationsHasBeenSet; }
49 template<typename ComputationsT = Aws::Vector<Computation>>
50 void SetComputations(ComputationsT&& value) { m_computationsHasBeenSet = true; m_computations = std::forward<ComputationsT>(value); }
51 template<typename ComputationsT = Aws::Vector<Computation>>
52 InsightConfiguration& WithComputations(ComputationsT&& value) { SetComputations(std::forward<ComputationsT>(value)); return *this;}
53 template<typename ComputationsT = Computation>
54 InsightConfiguration& AddComputations(ComputationsT&& value) { m_computationsHasBeenSet = true; m_computations.emplace_back(std::forward<ComputationsT>(value)); return *this; }
56
58
61 inline const CustomNarrativeOptions& GetCustomNarrative() const { return m_customNarrative; }
62 inline bool CustomNarrativeHasBeenSet() const { return m_customNarrativeHasBeenSet; }
63 template<typename CustomNarrativeT = CustomNarrativeOptions>
64 void SetCustomNarrative(CustomNarrativeT&& value) { m_customNarrativeHasBeenSet = true; m_customNarrative = std::forward<CustomNarrativeT>(value); }
65 template<typename CustomNarrativeT = CustomNarrativeOptions>
66 InsightConfiguration& WithCustomNarrative(CustomNarrativeT&& value) { SetCustomNarrative(std::forward<CustomNarrativeT>(value)); return *this;}
68
70
73 inline const VisualInteractionOptions& GetInteractions() const { return m_interactions; }
74 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
75 template<typename InteractionsT = VisualInteractionOptions>
76 void SetInteractions(InteractionsT&& value) { m_interactionsHasBeenSet = true; m_interactions = std::forward<InteractionsT>(value); }
77 template<typename InteractionsT = VisualInteractionOptions>
78 InsightConfiguration& WithInteractions(InteractionsT&& value) { SetInteractions(std::forward<InteractionsT>(value)); return *this;}
80 private:
81
82 Aws::Vector<Computation> m_computations;
83 bool m_computationsHasBeenSet = false;
84
85 CustomNarrativeOptions m_customNarrative;
86 bool m_customNarrativeHasBeenSet = false;
87
88 VisualInteractionOptions m_interactions;
89 bool m_interactionsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace QuickSight
94} // 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