AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SnapshotFileSheetSelection.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/SnapshotFileSheetSelectionScope.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QUICKSIGHT_API SnapshotFileSheetSelection() = default;
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetSheetId() const { return m_sheetId; }
49 inline bool SheetIdHasBeenSet() const { return m_sheetIdHasBeenSet; }
50 template<typename SheetIdT = Aws::String>
51 void SetSheetId(SheetIdT&& value) { m_sheetIdHasBeenSet = true; m_sheetId = std::forward<SheetIdT>(value); }
52 template<typename SheetIdT = Aws::String>
53 SnapshotFileSheetSelection& WithSheetId(SheetIdT&& value) { SetSheetId(std::forward<SheetIdT>(value)); return *this;}
55
57
66 inline SnapshotFileSheetSelectionScope GetSelectionScope() const { return m_selectionScope; }
67 inline bool SelectionScopeHasBeenSet() const { return m_selectionScopeHasBeenSet; }
68 inline void SetSelectionScope(SnapshotFileSheetSelectionScope value) { m_selectionScopeHasBeenSet = true; m_selectionScope = value; }
71
73
81 inline const Aws::Vector<Aws::String>& GetVisualIds() const { return m_visualIds; }
82 inline bool VisualIdsHasBeenSet() const { return m_visualIdsHasBeenSet; }
83 template<typename VisualIdsT = Aws::Vector<Aws::String>>
84 void SetVisualIds(VisualIdsT&& value) { m_visualIdsHasBeenSet = true; m_visualIds = std::forward<VisualIdsT>(value); }
85 template<typename VisualIdsT = Aws::Vector<Aws::String>>
86 SnapshotFileSheetSelection& WithVisualIds(VisualIdsT&& value) { SetVisualIds(std::forward<VisualIdsT>(value)); return *this;}
87 template<typename VisualIdsT = Aws::String>
88 SnapshotFileSheetSelection& AddVisualIds(VisualIdsT&& value) { m_visualIdsHasBeenSet = true; m_visualIds.emplace_back(std::forward<VisualIdsT>(value)); return *this; }
90 private:
91
92 Aws::String m_sheetId;
93 bool m_sheetIdHasBeenSet = false;
94
96 bool m_selectionScopeHasBeenSet = false;
97
98 Aws::Vector<Aws::String> m_visualIds;
99 bool m_visualIdsHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace QuickSight
104} // 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