AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSheetId(const Aws::String& value) { m_sheetIdHasBeenSet = true; m_sheetId = value; }
51 inline void SetSheetId(Aws::String&& value) { m_sheetIdHasBeenSet = true; m_sheetId = std::move(value); }
52 inline void SetSheetId(const char* value) { m_sheetIdHasBeenSet = true; m_sheetId.assign(value); }
53 inline SnapshotFileSheetSelection& WithSheetId(const Aws::String& value) { SetSheetId(value); return *this;}
54 inline SnapshotFileSheetSelection& WithSheetId(Aws::String&& value) { SetSheetId(std::move(value)); return *this;}
55 inline SnapshotFileSheetSelection& WithSheetId(const char* value) { SetSheetId(value); return *this;}
57
59
68 inline const SnapshotFileSheetSelectionScope& GetSelectionScope() const{ return m_selectionScope; }
69 inline bool SelectionScopeHasBeenSet() const { return m_selectionScopeHasBeenSet; }
70 inline void SetSelectionScope(const SnapshotFileSheetSelectionScope& value) { m_selectionScopeHasBeenSet = true; m_selectionScope = value; }
71 inline void SetSelectionScope(SnapshotFileSheetSelectionScope&& value) { m_selectionScopeHasBeenSet = true; m_selectionScope = std::move(value); }
75
77
85 inline const Aws::Vector<Aws::String>& GetVisualIds() const{ return m_visualIds; }
86 inline bool VisualIdsHasBeenSet() const { return m_visualIdsHasBeenSet; }
87 inline void SetVisualIds(const Aws::Vector<Aws::String>& value) { m_visualIdsHasBeenSet = true; m_visualIds = value; }
88 inline void SetVisualIds(Aws::Vector<Aws::String>&& value) { m_visualIdsHasBeenSet = true; m_visualIds = std::move(value); }
90 inline SnapshotFileSheetSelection& WithVisualIds(Aws::Vector<Aws::String>&& value) { SetVisualIds(std::move(value)); return *this;}
91 inline SnapshotFileSheetSelection& AddVisualIds(const Aws::String& value) { m_visualIdsHasBeenSet = true; m_visualIds.push_back(value); return *this; }
92 inline SnapshotFileSheetSelection& AddVisualIds(Aws::String&& value) { m_visualIdsHasBeenSet = true; m_visualIds.push_back(std::move(value)); return *this; }
93 inline SnapshotFileSheetSelection& AddVisualIds(const char* value) { m_visualIdsHasBeenSet = true; m_visualIds.push_back(value); return *this; }
95 private:
96
97 Aws::String m_sheetId;
98 bool m_sheetIdHasBeenSet = false;
99
100 SnapshotFileSheetSelectionScope m_selectionScope;
101 bool m_selectionScopeHasBeenSet = false;
102
103 Aws::Vector<Aws::String> m_visualIds;
104 bool m_visualIdsHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace QuickSight
109} // namespace Aws
AWS_QUICKSIGHT_API SnapshotFileSheetSelection(Aws::Utils::Json::JsonView jsonValue)
SnapshotFileSheetSelection & WithSelectionScope(const SnapshotFileSheetSelectionScope &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(const Aws::String &value)
const SnapshotFileSheetSelectionScope & GetSelectionScope() const
SnapshotFileSheetSelection & WithVisualIds(const Aws::Vector< Aws::String > &value)
SnapshotFileSheetSelection & WithVisualIds(Aws::Vector< Aws::String > &&value)
void SetVisualIds(Aws::Vector< Aws::String > &&value)
SnapshotFileSheetSelection & WithSelectionScope(SnapshotFileSheetSelectionScope &&value)
SnapshotFileSheetSelection & AddVisualIds(const char *value)
void SetSelectionScope(SnapshotFileSheetSelectionScope &&value)
SnapshotFileSheetSelection & WithSheetId(const char *value)
void SetVisualIds(const Aws::Vector< Aws::String > &value)
SnapshotFileSheetSelection & WithSheetId(Aws::String &&value)
SnapshotFileSheetSelection & AddVisualIds(const Aws::String &value)
void SetSelectionScope(const SnapshotFileSheetSelectionScope &value)
SnapshotFileSheetSelection & AddVisualIds(Aws::String &&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