AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
QPluginCardInput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qapps/QApps_EXPORTS.h>
9#include <aws/qapps/model/CardType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QApps {
21namespace Model {
22
30 public:
31 AWS_QAPPS_API QPluginCardInput() = default;
34 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetTitle() const { return m_title; }
41 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
42 template <typename TitleT = Aws::String>
43 void SetTitle(TitleT&& value) {
44 m_titleHasBeenSet = true;
45 m_title = std::forward<TitleT>(value);
46 }
47 template <typename TitleT = Aws::String>
49 SetTitle(std::forward<TitleT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetId() const { return m_id; }
59 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
60 template <typename IdT = Aws::String>
61 void SetId(IdT&& value) {
62 m_idHasBeenSet = true;
63 m_id = std::forward<IdT>(value);
64 }
65 template <typename IdT = Aws::String>
67 SetId(std::forward<IdT>(value));
68 return *this;
69 }
71
73
76 inline CardType GetType() const { return m_type; }
77 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
78 inline void SetType(CardType value) {
79 m_typeHasBeenSet = true;
80 m_type = value;
81 }
83 SetType(value);
84 return *this;
85 }
87
89
92 inline const Aws::String& GetPrompt() const { return m_prompt; }
93 inline bool PromptHasBeenSet() const { return m_promptHasBeenSet; }
94 template <typename PromptT = Aws::String>
95 void SetPrompt(PromptT&& value) {
96 m_promptHasBeenSet = true;
97 m_prompt = std::forward<PromptT>(value);
98 }
99 template <typename PromptT = Aws::String>
101 SetPrompt(std::forward<PromptT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetPluginId() const { return m_pluginId; }
111 inline bool PluginIdHasBeenSet() const { return m_pluginIdHasBeenSet; }
112 template <typename PluginIdT = Aws::String>
113 void SetPluginId(PluginIdT&& value) {
114 m_pluginIdHasBeenSet = true;
115 m_pluginId = std::forward<PluginIdT>(value);
116 }
117 template <typename PluginIdT = Aws::String>
119 SetPluginId(std::forward<PluginIdT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::String& GetActionIdentifier() const { return m_actionIdentifier; }
129 inline bool ActionIdentifierHasBeenSet() const { return m_actionIdentifierHasBeenSet; }
130 template <typename ActionIdentifierT = Aws::String>
132 m_actionIdentifierHasBeenSet = true;
133 m_actionIdentifier = std::forward<ActionIdentifierT>(value);
134 }
135 template <typename ActionIdentifierT = Aws::String>
137 SetActionIdentifier(std::forward<ActionIdentifierT>(value));
138 return *this;
139 }
141 private:
142 Aws::String m_title;
143
144 Aws::String m_id;
145
147
148 Aws::String m_prompt;
149
150 Aws::String m_pluginId;
151
152 Aws::String m_actionIdentifier;
153 bool m_titleHasBeenSet = false;
154 bool m_idHasBeenSet = false;
155 bool m_typeHasBeenSet = false;
156 bool m_promptHasBeenSet = false;
157 bool m_pluginIdHasBeenSet = false;
158 bool m_actionIdentifierHasBeenSet = false;
159};
160
161} // namespace Model
162} // namespace QApps
163} // namespace Aws
const Aws::String & GetPluginId() const
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
QPluginCardInput & WithTitle(TitleT &&value)
QPluginCardInput & WithPrompt(PromptT &&value)
AWS_QAPPS_API QPluginCardInput(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
QPluginCardInput & WithPluginId(PluginIdT &&value)
const Aws::String & GetActionIdentifier() const
void SetActionIdentifier(ActionIdentifierT &&value)
QPluginCardInput & WithId(IdT &&value)
QPluginCardInput & WithActionIdentifier(ActionIdentifierT &&value)
AWS_QAPPS_API QPluginCardInput()=default
const Aws::String & GetTitle() const
QPluginCardInput & WithType(CardType value)
const Aws::String & GetPrompt() const
AWS_QAPPS_API QPluginCardInput & operator=(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue