AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSheetSelections(const Aws::Vector<SnapshotFileSheetSelection>& value) { m_sheetSelectionsHasBeenSet = true; m_sheetSelections = value; }
55 inline void SetSheetSelections(Aws::Vector<SnapshotFileSheetSelection>&& value) { m_sheetSelectionsHasBeenSet = true; m_sheetSelections = std::move(value); }
58 inline SnapshotFile& AddSheetSelections(const SnapshotFileSheetSelection& value) { m_sheetSelectionsHasBeenSet = true; m_sheetSelections.push_back(value); return *this; }
59 inline SnapshotFile& AddSheetSelections(SnapshotFileSheetSelection&& value) { m_sheetSelectionsHasBeenSet = true; m_sheetSelections.push_back(std::move(value)); return *this; }
61
63
67 inline const SnapshotFileFormatType& GetFormatType() const{ return m_formatType; }
68 inline bool FormatTypeHasBeenSet() const { return m_formatTypeHasBeenSet; }
69 inline void SetFormatType(const SnapshotFileFormatType& value) { m_formatTypeHasBeenSet = true; m_formatType = value; }
70 inline void SetFormatType(SnapshotFileFormatType&& value) { m_formatTypeHasBeenSet = true; m_formatType = std::move(value); }
71 inline SnapshotFile& WithFormatType(const SnapshotFileFormatType& value) { SetFormatType(value); return *this;}
72 inline SnapshotFile& WithFormatType(SnapshotFileFormatType&& value) { SetFormatType(std::move(value)); return *this;}
74 private:
75
77 bool m_sheetSelectionsHasBeenSet = false;
78
79 SnapshotFileFormatType m_formatType;
80 bool m_formatTypeHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace QuickSight
85} // namespace Aws
void SetSheetSelections(Aws::Vector< SnapshotFileSheetSelection > &&value)
SnapshotFile & WithSheetSelections(Aws::Vector< SnapshotFileSheetSelection > &&value)
AWS_QUICKSIGHT_API SnapshotFile(Aws::Utils::Json::JsonView jsonValue)
SnapshotFile & AddSheetSelections(SnapshotFileSheetSelection &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API SnapshotFile & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFormatType(const SnapshotFileFormatType &value)
void SetSheetSelections(const Aws::Vector< SnapshotFileSheetSelection > &value)
const Aws::Vector< SnapshotFileSheetSelection > & GetSheetSelections() const
SnapshotFile & WithFormatType(const SnapshotFileFormatType &value)
const SnapshotFileFormatType & GetFormatType() const
SnapshotFile & WithFormatType(SnapshotFileFormatType &&value)
SnapshotFile & WithSheetSelections(const Aws::Vector< SnapshotFileSheetSelection > &value)
SnapshotFile & AddSheetSelections(const SnapshotFileSheetSelection &value)
void SetFormatType(SnapshotFileFormatType &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue