AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
SameSheetTargetVisualConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/TargetVisualOptions.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
32 public:
33 AWS_QUICKSIGHT_API SameSheetTargetVisualConfiguration() = default;
36 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::Vector<Aws::String>& GetTargetVisuals() const { return m_targetVisuals; }
44 inline bool TargetVisualsHasBeenSet() const { return m_targetVisualsHasBeenSet; }
45 template <typename TargetVisualsT = Aws::Vector<Aws::String>>
46 void SetTargetVisuals(TargetVisualsT&& value) {
47 m_targetVisualsHasBeenSet = true;
48 m_targetVisuals = std::forward<TargetVisualsT>(value);
49 }
50 template <typename TargetVisualsT = Aws::Vector<Aws::String>>
52 SetTargetVisuals(std::forward<TargetVisualsT>(value));
53 return *this;
54 }
55 template <typename TargetVisualsT = Aws::String>
57 m_targetVisualsHasBeenSet = true;
58 m_targetVisuals.emplace_back(std::forward<TargetVisualsT>(value));
59 return *this;
60 }
62
64
69 inline TargetVisualOptions GetTargetVisualOptions() const { return m_targetVisualOptions; }
70 inline bool TargetVisualOptionsHasBeenSet() const { return m_targetVisualOptionsHasBeenSet; }
72 m_targetVisualOptionsHasBeenSet = true;
73 m_targetVisualOptions = value;
74 }
77 return *this;
78 }
80 private:
81 Aws::Vector<Aws::String> m_targetVisuals;
82
84 bool m_targetVisualsHasBeenSet = false;
85 bool m_targetVisualOptionsHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace QuickSight
90} // namespace Aws
SameSheetTargetVisualConfiguration & AddTargetVisuals(TargetVisualsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API SameSheetTargetVisualConfiguration()=default
SameSheetTargetVisualConfiguration & WithTargetVisuals(TargetVisualsT &&value)
SameSheetTargetVisualConfiguration & WithTargetVisualOptions(TargetVisualOptions value)
AWS_QUICKSIGHT_API SameSheetTargetVisualConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API SameSheetTargetVisualConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue