AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
Sheet.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/SheetImage.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
38 class Sheet
39 {
40 public:
41 AWS_QUICKSIGHT_API Sheet() = default;
42 AWS_QUICKSIGHT_API Sheet(Aws::Utils::Json::JsonView jsonValue);
43 AWS_QUICKSIGHT_API Sheet& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetSheetId() const { return m_sheetId; }
52 inline bool SheetIdHasBeenSet() const { return m_sheetIdHasBeenSet; }
53 template<typename SheetIdT = Aws::String>
54 void SetSheetId(SheetIdT&& value) { m_sheetIdHasBeenSet = true; m_sheetId = std::forward<SheetIdT>(value); }
55 template<typename SheetIdT = Aws::String>
56 Sheet& WithSheetId(SheetIdT&& value) { SetSheetId(std::forward<SheetIdT>(value)); return *this;}
58
60
64 inline const Aws::String& GetName() const { return m_name; }
65 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
66 template<typename NameT = Aws::String>
67 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
68 template<typename NameT = Aws::String>
69 Sheet& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
71
73
76 inline const Aws::Vector<SheetImage>& GetImages() const { return m_images; }
77 inline bool ImagesHasBeenSet() const { return m_imagesHasBeenSet; }
78 template<typename ImagesT = Aws::Vector<SheetImage>>
79 void SetImages(ImagesT&& value) { m_imagesHasBeenSet = true; m_images = std::forward<ImagesT>(value); }
80 template<typename ImagesT = Aws::Vector<SheetImage>>
81 Sheet& WithImages(ImagesT&& value) { SetImages(std::forward<ImagesT>(value)); return *this;}
82 template<typename ImagesT = SheetImage>
83 Sheet& AddImages(ImagesT&& value) { m_imagesHasBeenSet = true; m_images.emplace_back(std::forward<ImagesT>(value)); return *this; }
85 private:
86
87 Aws::String m_sheetId;
88 bool m_sheetIdHasBeenSet = false;
89
90 Aws::String m_name;
91 bool m_nameHasBeenSet = false;
92
94 bool m_imagesHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace QuickSight
99} // namespace Aws
const Aws::String & GetSheetId() const
Definition Sheet.h:51
bool NameHasBeenSet() const
Definition Sheet.h:65
void SetName(NameT &&value)
Definition Sheet.h:67
AWS_QUICKSIGHT_API Sheet & operator=(Aws::Utils::Json::JsonView jsonValue)
Sheet & WithImages(ImagesT &&value)
Definition Sheet.h:81
const Aws::Vector< SheetImage > & GetImages() const
Definition Sheet.h:76
Sheet & WithName(NameT &&value)
Definition Sheet.h:69
bool ImagesHasBeenSet() const
Definition Sheet.h:77
Sheet & AddImages(ImagesT &&value)
Definition Sheet.h:83
Sheet & WithSheetId(SheetIdT &&value)
Definition Sheet.h:56
const Aws::String & GetName() const
Definition Sheet.h:64
void SetImages(ImagesT &&value)
Definition Sheet.h:79
bool SheetIdHasBeenSet() const
Definition Sheet.h:52
void SetSheetId(SheetIdT &&value)
Definition Sheet.h:54
AWS_QUICKSIGHT_API Sheet()=default
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API Sheet(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue