AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
SnapshotFileSheetSelection.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/SnapshotFileSheetSelectionScope.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
31 public:
32 AWS_QUICKSIGHT_API SnapshotFileSheetSelection() = default;
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetSheetId() const { return m_sheetId; }
43 inline bool SheetIdHasBeenSet() const { return m_sheetIdHasBeenSet; }
44 template <typename SheetIdT = Aws::String>
45 void SetSheetId(SheetIdT&& value) {
46 m_sheetIdHasBeenSet = true;
47 m_sheetId = std::forward<SheetIdT>(value);
48 }
49 template <typename SheetIdT = Aws::String>
51 SetSheetId(std::forward<SheetIdT>(value));
52 return *this;
53 }
55
57
66 inline SnapshotFileSheetSelectionScope GetSelectionScope() const { return m_selectionScope; }
67 inline bool SelectionScopeHasBeenSet() const { return m_selectionScopeHasBeenSet; }
69 m_selectionScopeHasBeenSet = true;
70 m_selectionScope = value;
71 }
73 SetSelectionScope(value);
74 return *this;
75 }
77
79
87 inline const Aws::Vector<Aws::String>& GetVisualIds() const { return m_visualIds; }
88 inline bool VisualIdsHasBeenSet() const { return m_visualIdsHasBeenSet; }
89 template <typename VisualIdsT = Aws::Vector<Aws::String>>
90 void SetVisualIds(VisualIdsT&& value) {
91 m_visualIdsHasBeenSet = true;
92 m_visualIds = std::forward<VisualIdsT>(value);
93 }
94 template <typename VisualIdsT = Aws::Vector<Aws::String>>
96 SetVisualIds(std::forward<VisualIdsT>(value));
97 return *this;
98 }
99 template <typename VisualIdsT = Aws::String>
101 m_visualIdsHasBeenSet = true;
102 m_visualIds.emplace_back(std::forward<VisualIdsT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_sheetId;
108
110
111 Aws::Vector<Aws::String> m_visualIds;
112 bool m_sheetIdHasBeenSet = false;
113 bool m_selectionScopeHasBeenSet = false;
114 bool m_visualIdsHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace QuickSight
119} // namespace Aws
AWS_QUICKSIGHT_API SnapshotFileSheetSelection(Aws::Utils::Json::JsonView jsonValue)
SnapshotFileSheetSelection & AddVisualIds(VisualIdsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetVisualIds() const
AWS_QUICKSIGHT_API SnapshotFileSheetSelection & operator=(Aws::Utils::Json::JsonView jsonValue)
SnapshotFileSheetSelection & WithSheetId(SheetIdT &&value)
void SetSelectionScope(SnapshotFileSheetSelectionScope value)
SnapshotFileSheetSelectionScope GetSelectionScope() const
AWS_QUICKSIGHT_API SnapshotFileSheetSelection()=default
SnapshotFileSheetSelection & WithSelectionScope(SnapshotFileSheetSelectionScope value)
SnapshotFileSheetSelection & WithVisualIds(VisualIdsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue