AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetComputations(const Aws::Vector<Computation>& value) { m_computationsHasBeenSet = true; m_computations = value; }
50 inline void SetComputations(Aws::Vector<Computation>&& value) { m_computationsHasBeenSet = true; m_computations = std::move(value); }
52 inline InsightConfiguration& WithComputations(Aws::Vector<Computation>&& value) { SetComputations(std::move(value)); return *this;}
53 inline InsightConfiguration& AddComputations(const Computation& value) { m_computationsHasBeenSet = true; m_computations.push_back(value); return *this; }
54 inline InsightConfiguration& AddComputations(Computation&& value) { m_computationsHasBeenSet = true; m_computations.push_back(std::move(value)); return *this; }
56
58
61 inline const CustomNarrativeOptions& GetCustomNarrative() const{ return m_customNarrative; }
62 inline bool CustomNarrativeHasBeenSet() const { return m_customNarrativeHasBeenSet; }
63 inline void SetCustomNarrative(const CustomNarrativeOptions& value) { m_customNarrativeHasBeenSet = true; m_customNarrative = value; }
64 inline void SetCustomNarrative(CustomNarrativeOptions&& value) { m_customNarrativeHasBeenSet = true; m_customNarrative = std::move(value); }
66 inline InsightConfiguration& WithCustomNarrative(CustomNarrativeOptions&& value) { SetCustomNarrative(std::move(value)); return *this;}
68
70
73 inline const VisualInteractionOptions& GetInteractions() const{ return m_interactions; }
74 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
75 inline void SetInteractions(const VisualInteractionOptions& value) { m_interactionsHasBeenSet = true; m_interactions = value; }
76 inline void SetInteractions(VisualInteractionOptions&& value) { m_interactionsHasBeenSet = true; m_interactions = std::move(value); }
78 inline InsightConfiguration& WithInteractions(VisualInteractionOptions&& value) { SetInteractions(std::move(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
void SetInteractions(const VisualInteractionOptions &value)
AWS_QUICKSIGHT_API InsightConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
InsightConfiguration & WithInteractions(VisualInteractionOptions &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetComputations(const Aws::Vector< Computation > &value)
InsightConfiguration & WithInteractions(const VisualInteractionOptions &value)
InsightConfiguration & WithComputations(const Aws::Vector< Computation > &value)
InsightConfiguration & WithCustomNarrative(const CustomNarrativeOptions &value)
InsightConfiguration & AddComputations(const Computation &value)
void SetCustomNarrative(const CustomNarrativeOptions &value)
const CustomNarrativeOptions & GetCustomNarrative() const
InsightConfiguration & WithComputations(Aws::Vector< Computation > &&value)
void SetCustomNarrative(CustomNarrativeOptions &&value)
const Aws::Vector< Computation > & GetComputations() const
InsightConfiguration & WithCustomNarrative(CustomNarrativeOptions &&value)
AWS_QUICKSIGHT_API InsightConfiguration(Aws::Utils::Json::JsonView jsonValue)
const VisualInteractionOptions & GetInteractions() const
void SetInteractions(VisualInteractionOptions &&value)
void SetComputations(Aws::Vector< Computation > &&value)
InsightConfiguration & AddComputations(Computation &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue