AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SheetImage.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/SheetImageSource.h>
10#include <aws/quicksight/model/SheetImageScalingConfiguration.h>
11#include <aws/quicksight/model/SheetImageTooltipConfiguration.h>
12#include <aws/quicksight/model/ImageInteractionOptions.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/quicksight/model/ImageCustomAction.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace QuickSight
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_QUICKSIGHT_API SheetImage() = default;
41 AWS_QUICKSIGHT_API SheetImage(Aws::Utils::Json::JsonView jsonValue);
42 AWS_QUICKSIGHT_API SheetImage& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetSheetImageId() const { return m_sheetImageId; }
51 inline bool SheetImageIdHasBeenSet() const { return m_sheetImageIdHasBeenSet; }
52 template<typename SheetImageIdT = Aws::String>
53 void SetSheetImageId(SheetImageIdT&& value) { m_sheetImageIdHasBeenSet = true; m_sheetImageId = std::forward<SheetImageIdT>(value); }
54 template<typename SheetImageIdT = Aws::String>
55 SheetImage& WithSheetImageId(SheetImageIdT&& value) { SetSheetImageId(std::forward<SheetImageIdT>(value)); return *this;}
57
59
62 inline const SheetImageSource& GetSource() const { return m_source; }
63 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
64 template<typename SourceT = SheetImageSource>
65 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
66 template<typename SourceT = SheetImageSource>
67 SheetImage& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
69
71
74 inline const SheetImageScalingConfiguration& GetScaling() const { return m_scaling; }
75 inline bool ScalingHasBeenSet() const { return m_scalingHasBeenSet; }
76 template<typename ScalingT = SheetImageScalingConfiguration>
77 void SetScaling(ScalingT&& value) { m_scalingHasBeenSet = true; m_scaling = std::forward<ScalingT>(value); }
78 template<typename ScalingT = SheetImageScalingConfiguration>
79 SheetImage& WithScaling(ScalingT&& value) { SetScaling(std::forward<ScalingT>(value)); return *this;}
81
83
86 inline const SheetImageTooltipConfiguration& GetTooltip() const { return m_tooltip; }
87 inline bool TooltipHasBeenSet() const { return m_tooltipHasBeenSet; }
88 template<typename TooltipT = SheetImageTooltipConfiguration>
89 void SetTooltip(TooltipT&& value) { m_tooltipHasBeenSet = true; m_tooltip = std::forward<TooltipT>(value); }
90 template<typename TooltipT = SheetImageTooltipConfiguration>
91 SheetImage& WithTooltip(TooltipT&& value) { SetTooltip(std::forward<TooltipT>(value)); return *this;}
93
95
98 inline const Aws::String& GetImageContentAltText() const { return m_imageContentAltText; }
99 inline bool ImageContentAltTextHasBeenSet() const { return m_imageContentAltTextHasBeenSet; }
100 template<typename ImageContentAltTextT = Aws::String>
101 void SetImageContentAltText(ImageContentAltTextT&& value) { m_imageContentAltTextHasBeenSet = true; m_imageContentAltText = std::forward<ImageContentAltTextT>(value); }
102 template<typename ImageContentAltTextT = Aws::String>
103 SheetImage& WithImageContentAltText(ImageContentAltTextT&& value) { SetImageContentAltText(std::forward<ImageContentAltTextT>(value)); return *this;}
105
107
110 inline const ImageInteractionOptions& GetInteractions() const { return m_interactions; }
111 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
112 template<typename InteractionsT = ImageInteractionOptions>
113 void SetInteractions(InteractionsT&& value) { m_interactionsHasBeenSet = true; m_interactions = std::forward<InteractionsT>(value); }
114 template<typename InteractionsT = ImageInteractionOptions>
115 SheetImage& WithInteractions(InteractionsT&& value) { SetInteractions(std::forward<InteractionsT>(value)); return *this;}
117
119
122 inline const Aws::Vector<ImageCustomAction>& GetActions() const { return m_actions; }
123 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
124 template<typename ActionsT = Aws::Vector<ImageCustomAction>>
125 void SetActions(ActionsT&& value) { m_actionsHasBeenSet = true; m_actions = std::forward<ActionsT>(value); }
126 template<typename ActionsT = Aws::Vector<ImageCustomAction>>
127 SheetImage& WithActions(ActionsT&& value) { SetActions(std::forward<ActionsT>(value)); return *this;}
128 template<typename ActionsT = ImageCustomAction>
129 SheetImage& AddActions(ActionsT&& value) { m_actionsHasBeenSet = true; m_actions.emplace_back(std::forward<ActionsT>(value)); return *this; }
131 private:
132
133 Aws::String m_sheetImageId;
134 bool m_sheetImageIdHasBeenSet = false;
135
136 SheetImageSource m_source;
137 bool m_sourceHasBeenSet = false;
138
140 bool m_scalingHasBeenSet = false;
141
143 bool m_tooltipHasBeenSet = false;
144
145 Aws::String m_imageContentAltText;
146 bool m_imageContentAltTextHasBeenSet = false;
147
148 ImageInteractionOptions m_interactions;
149 bool m_interactionsHasBeenSet = false;
150
152 bool m_actionsHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace QuickSight
157} // namespace Aws
void SetTooltip(TooltipT &&value)
Definition SheetImage.h:89
AWS_QUICKSIGHT_API SheetImage(Aws::Utils::Json::JsonView jsonValue)
SheetImage & WithTooltip(TooltipT &&value)
Definition SheetImage.h:91
void SetInteractions(InteractionsT &&value)
Definition SheetImage.h:113
SheetImage & WithImageContentAltText(ImageContentAltTextT &&value)
Definition SheetImage.h:103
void SetSheetImageId(SheetImageIdT &&value)
Definition SheetImage.h:53
SheetImage & WithActions(ActionsT &&value)
Definition SheetImage.h:127
const SheetImageScalingConfiguration & GetScaling() const
Definition SheetImage.h:74
const Aws::String & GetImageContentAltText() const
Definition SheetImage.h:98
SheetImage & WithScaling(ScalingT &&value)
Definition SheetImage.h:79
const SheetImageSource & GetSource() const
Definition SheetImage.h:62
AWS_QUICKSIGHT_API SheetImage & operator=(Aws::Utils::Json::JsonView jsonValue)
const ImageInteractionOptions & GetInteractions() const
Definition SheetImage.h:110
const Aws::String & GetSheetImageId() const
Definition SheetImage.h:50
SheetImage & WithSource(SourceT &&value)
Definition SheetImage.h:67
void SetSource(SourceT &&value)
Definition SheetImage.h:65
SheetImage & AddActions(ActionsT &&value)
Definition SheetImage.h:129
AWS_QUICKSIGHT_API SheetImage()=default
const SheetImageTooltipConfiguration & GetTooltip() const
Definition SheetImage.h:86
const Aws::Vector< ImageCustomAction > & GetActions() const
Definition SheetImage.h:122
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetActions(ActionsT &&value)
Definition SheetImage.h:125
void SetScaling(ScalingT &&value)
Definition SheetImage.h:77
void SetImageContentAltText(ImageContentAltTextT &&value)
Definition SheetImage.h:101
SheetImage & WithInteractions(InteractionsT &&value)
Definition SheetImage.h:115
SheetImage & WithSheetImageId(SheetImageIdT &&value)
Definition SheetImage.h:55
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue