AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
Slot.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight
22{
23namespace Model
24{
25
31 class Slot
32 {
33 public:
34 AWS_QUICKSIGHT_API Slot() = default;
35 AWS_QUICKSIGHT_API Slot(Aws::Utils::Json::JsonView jsonValue);
36 AWS_QUICKSIGHT_API Slot& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetSlotId() const { return m_slotId; }
45 inline bool SlotIdHasBeenSet() const { return m_slotIdHasBeenSet; }
46 template<typename SlotIdT = Aws::String>
47 void SetSlotId(SlotIdT&& value) { m_slotIdHasBeenSet = true; m_slotId = std::forward<SlotIdT>(value); }
48 template<typename SlotIdT = Aws::String>
49 Slot& WithSlotId(SlotIdT&& value) { SetSlotId(std::forward<SlotIdT>(value)); return *this;}
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) { m_visualIdHasBeenSet = true; m_visualId = std::forward<VisualIdT>(value); }
60 template<typename VisualIdT = Aws::String>
61 Slot& WithVisualId(VisualIdT&& value) { SetVisualId(std::forward<VisualIdT>(value)); return *this;}
63 private:
64
65 Aws::String m_slotId;
66 bool m_slotIdHasBeenSet = false;
67
68 Aws::String m_visualId;
69 bool m_visualIdHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace QuickSight
74} // namespace Aws
void SetSlotId(SlotIdT &&value)
Definition Slot.h:47
bool VisualIdHasBeenSet() const
Definition Slot.h:57
Slot & WithVisualId(VisualIdT &&value)
Definition Slot.h:61
const Aws::String & GetVisualId() const
Definition Slot.h:56
Slot & WithSlotId(SlotIdT &&value)
Definition Slot.h:49
bool SlotIdHasBeenSet() const
Definition Slot.h:45
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:44
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