AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SnapshotFile.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/SnapshotFileFormatType.h>
10#include <aws/quicksight/model/SnapshotFileSheetSelection.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
36 {
37 public:
38 AWS_QUICKSIGHT_API SnapshotFile() = default;
39 AWS_QUICKSIGHT_API SnapshotFile(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API SnapshotFile& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
52 inline const Aws::Vector<SnapshotFileSheetSelection>& GetSheetSelections() const { return m_sheetSelections; }
53 inline bool SheetSelectionsHasBeenSet() const { return m_sheetSelectionsHasBeenSet; }
54 template<typename SheetSelectionsT = Aws::Vector<SnapshotFileSheetSelection>>
55 void SetSheetSelections(SheetSelectionsT&& value) { m_sheetSelectionsHasBeenSet = true; m_sheetSelections = std::forward<SheetSelectionsT>(value); }
56 template<typename SheetSelectionsT = Aws::Vector<SnapshotFileSheetSelection>>
57 SnapshotFile& WithSheetSelections(SheetSelectionsT&& value) { SetSheetSelections(std::forward<SheetSelectionsT>(value)); return *this;}
58 template<typename SheetSelectionsT = SnapshotFileSheetSelection>
59 SnapshotFile& AddSheetSelections(SheetSelectionsT&& value) { m_sheetSelectionsHasBeenSet = true; m_sheetSelections.emplace_back(std::forward<SheetSelectionsT>(value)); return *this; }
61
63
67 inline SnapshotFileFormatType GetFormatType() const { return m_formatType; }
68 inline bool FormatTypeHasBeenSet() const { return m_formatTypeHasBeenSet; }
69 inline void SetFormatType(SnapshotFileFormatType value) { m_formatTypeHasBeenSet = true; m_formatType = value; }
70 inline SnapshotFile& WithFormatType(SnapshotFileFormatType value) { SetFormatType(value); return *this;}
72 private:
73
75 bool m_sheetSelectionsHasBeenSet = false;
76
78 bool m_formatTypeHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace QuickSight
83} // namespace Aws
SnapshotFile & AddSheetSelections(SheetSelectionsT &&value)
AWS_QUICKSIGHT_API SnapshotFile(Aws::Utils::Json::JsonView jsonValue)
SnapshotFile & WithFormatType(SnapshotFileFormatType value)
void SetSheetSelections(SheetSelectionsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API SnapshotFile & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< SnapshotFileSheetSelection > & GetSheetSelections() const
void SetFormatType(SnapshotFileFormatType value)
SnapshotFile & WithSheetSelections(SheetSelectionsT &&value)
SnapshotFileFormatType GetFormatType() const
AWS_QUICKSIGHT_API SnapshotFile()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue