AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
Slot.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QuickSight {
20namespace Model {
21
27class Slot {
28 public:
29 AWS_QUICKSIGHT_API Slot() = default;
30 AWS_QUICKSIGHT_API Slot(Aws::Utils::Json::JsonView jsonValue);
31 AWS_QUICKSIGHT_API Slot& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetSlotId() const { return m_slotId; }
39 inline bool SlotIdHasBeenSet() const { return m_slotIdHasBeenSet; }
40 template <typename SlotIdT = Aws::String>
41 void SetSlotId(SlotIdT&& value) {
42 m_slotIdHasBeenSet = true;
43 m_slotId = std::forward<SlotIdT>(value);
44 }
45 template <typename SlotIdT = Aws::String>
46 Slot& WithSlotId(SlotIdT&& value) {
47 SetSlotId(std::forward<SlotIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetVisualId() const { return m_visualId; }
57 inline bool VisualIdHasBeenSet() const { return m_visualIdHasBeenSet; }
58 template <typename VisualIdT = Aws::String>
59 void SetVisualId(VisualIdT&& value) {
60 m_visualIdHasBeenSet = true;
61 m_visualId = std::forward<VisualIdT>(value);
62 }
63 template <typename VisualIdT = Aws::String>
64 Slot& WithVisualId(VisualIdT&& value) {
65 SetVisualId(std::forward<VisualIdT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_slotId;
71
72 Aws::String m_visualId;
73 bool m_slotIdHasBeenSet = false;
74 bool m_visualIdHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace QuickSight
79} // namespace Aws
void SetSlotId(SlotIdT &&value)
Definition Slot.h:41
bool VisualIdHasBeenSet() const
Definition Slot.h:57
Slot & WithVisualId(VisualIdT &&value)
Definition Slot.h:64
const Aws::String & GetVisualId() const
Definition Slot.h:56
Slot & WithSlotId(SlotIdT &&value)
Definition Slot.h:46
bool SlotIdHasBeenSet() const
Definition Slot.h:39
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVisualId(VisualIdT &&value)
Definition Slot.h:59
const Aws::String & GetSlotId() const
Definition Slot.h:38
AWS_QUICKSIGHT_API Slot & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Slot()=default
AWS_QUICKSIGHT_API Slot(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue