AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
QPluginCardInput.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qapps/model/CardType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QApps
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QAPPS_API QPluginCardInput() = default;
39 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetTitle() const { return m_title; }
47 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
48 template<typename TitleT = Aws::String>
49 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
50 template<typename TitleT = Aws::String>
51 QPluginCardInput& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
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) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
62 template<typename IdT = Aws::String>
63 QPluginCardInput& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
65
67
70 inline CardType GetType() const { return m_type; }
71 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
72 inline void SetType(CardType value) { m_typeHasBeenSet = true; m_type = value; }
73 inline QPluginCardInput& WithType(CardType value) { SetType(value); return *this;}
75
77
80 inline const Aws::String& GetPrompt() const { return m_prompt; }
81 inline bool PromptHasBeenSet() const { return m_promptHasBeenSet; }
82 template<typename PromptT = Aws::String>
83 void SetPrompt(PromptT&& value) { m_promptHasBeenSet = true; m_prompt = std::forward<PromptT>(value); }
84 template<typename PromptT = Aws::String>
85 QPluginCardInput& WithPrompt(PromptT&& value) { SetPrompt(std::forward<PromptT>(value)); return *this;}
87
89
92 inline const Aws::String& GetPluginId() const { return m_pluginId; }
93 inline bool PluginIdHasBeenSet() const { return m_pluginIdHasBeenSet; }
94 template<typename PluginIdT = Aws::String>
95 void SetPluginId(PluginIdT&& value) { m_pluginIdHasBeenSet = true; m_pluginId = std::forward<PluginIdT>(value); }
96 template<typename PluginIdT = Aws::String>
97 QPluginCardInput& WithPluginId(PluginIdT&& value) { SetPluginId(std::forward<PluginIdT>(value)); return *this;}
99
101
104 inline const Aws::String& GetActionIdentifier() const { return m_actionIdentifier; }
105 inline bool ActionIdentifierHasBeenSet() const { return m_actionIdentifierHasBeenSet; }
106 template<typename ActionIdentifierT = Aws::String>
107 void SetActionIdentifier(ActionIdentifierT&& value) { m_actionIdentifierHasBeenSet = true; m_actionIdentifier = std::forward<ActionIdentifierT>(value); }
108 template<typename ActionIdentifierT = Aws::String>
109 QPluginCardInput& WithActionIdentifier(ActionIdentifierT&& value) { SetActionIdentifier(std::forward<ActionIdentifierT>(value)); return *this;}
111 private:
112
113 Aws::String m_title;
114 bool m_titleHasBeenSet = false;
115
116 Aws::String m_id;
117 bool m_idHasBeenSet = false;
118
120 bool m_typeHasBeenSet = false;
121
122 Aws::String m_prompt;
123 bool m_promptHasBeenSet = false;
124
125 Aws::String m_pluginId;
126 bool m_pluginIdHasBeenSet = false;
127
128 Aws::String m_actionIdentifier;
129 bool m_actionIdentifierHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace QApps
134} // namespace Aws
const Aws::String & GetPluginId() const
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
QPluginCardInput & WithTitle(TitleT &&value)
QPluginCardInput & WithPrompt(PromptT &&value)
void SetPluginId(PluginIdT &&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