AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
49 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
50 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
51 inline QPluginCardInput& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
52 inline QPluginCardInput& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
53 inline QPluginCardInput& WithTitle(const char* value) { SetTitle(value); return *this;}
55
57
60 inline const Aws::String& GetId() const{ return m_id; }
61 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
62 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
63 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
64 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
65 inline QPluginCardInput& WithId(const Aws::String& value) { SetId(value); return *this;}
66 inline QPluginCardInput& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
67 inline QPluginCardInput& WithId(const char* value) { SetId(value); return *this;}
69
71
74 inline const CardType& GetType() const{ return m_type; }
75 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
76 inline void SetType(const CardType& value) { m_typeHasBeenSet = true; m_type = value; }
77 inline void SetType(CardType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
78 inline QPluginCardInput& WithType(const CardType& value) { SetType(value); return *this;}
79 inline QPluginCardInput& WithType(CardType&& value) { SetType(std::move(value)); return *this;}
81
83
86 inline const Aws::String& GetPrompt() const{ return m_prompt; }
87 inline bool PromptHasBeenSet() const { return m_promptHasBeenSet; }
88 inline void SetPrompt(const Aws::String& value) { m_promptHasBeenSet = true; m_prompt = value; }
89 inline void SetPrompt(Aws::String&& value) { m_promptHasBeenSet = true; m_prompt = std::move(value); }
90 inline void SetPrompt(const char* value) { m_promptHasBeenSet = true; m_prompt.assign(value); }
91 inline QPluginCardInput& WithPrompt(const Aws::String& value) { SetPrompt(value); return *this;}
92 inline QPluginCardInput& WithPrompt(Aws::String&& value) { SetPrompt(std::move(value)); return *this;}
93 inline QPluginCardInput& WithPrompt(const char* value) { SetPrompt(value); return *this;}
95
97
100 inline const Aws::String& GetPluginId() const{ return m_pluginId; }
101 inline bool PluginIdHasBeenSet() const { return m_pluginIdHasBeenSet; }
102 inline void SetPluginId(const Aws::String& value) { m_pluginIdHasBeenSet = true; m_pluginId = value; }
103 inline void SetPluginId(Aws::String&& value) { m_pluginIdHasBeenSet = true; m_pluginId = std::move(value); }
104 inline void SetPluginId(const char* value) { m_pluginIdHasBeenSet = true; m_pluginId.assign(value); }
105 inline QPluginCardInput& WithPluginId(const Aws::String& value) { SetPluginId(value); return *this;}
106 inline QPluginCardInput& WithPluginId(Aws::String&& value) { SetPluginId(std::move(value)); return *this;}
107 inline QPluginCardInput& WithPluginId(const char* value) { SetPluginId(value); return *this;}
109 private:
110
111 Aws::String m_title;
112 bool m_titleHasBeenSet = false;
113
114 Aws::String m_id;
115 bool m_idHasBeenSet = false;
116
117 CardType m_type;
118 bool m_typeHasBeenSet = false;
119
120 Aws::String m_prompt;
121 bool m_promptHasBeenSet = false;
122
123 Aws::String m_pluginId;
124 bool m_pluginIdHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace QApps
129} // namespace Aws
QPluginCardInput & WithType(CardType &&value)
QPluginCardInput & WithId(const Aws::String &value)
QPluginCardInput & WithTitle(Aws::String &&value)
QPluginCardInput & WithPluginId(const Aws::String &value)
QPluginCardInput & WithPrompt(const char *value)
const Aws::String & GetPluginId() const
QPluginCardInput & WithType(const CardType &value)
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetId(const Aws::String &value)
void SetType(const CardType &value)
void SetTitle(const Aws::String &value)
QPluginCardInput & WithTitle(const Aws::String &value)
QPluginCardInput & WithId(Aws::String &&value)
AWS_QAPPS_API QPluginCardInput(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
QPluginCardInput & WithPluginId(const char *value)
void SetId(Aws::String &&value)
void SetPluginId(Aws::String &&value)
QPluginCardInput & WithPrompt(Aws::String &&value)
void SetPrompt(const Aws::String &value)
QPluginCardInput & WithPluginId(Aws::String &&value)
void SetTitle(Aws::String &&value)
void SetPluginId(const Aws::String &value)
const Aws::String & GetTitle() const
QPluginCardInput & WithId(const char *value)
void SetPrompt(Aws::String &&value)
const Aws::String & GetPrompt() const
QPluginCardInput & WithPrompt(const Aws::String &value)
QPluginCardInput & WithTitle(const char *value)
AWS_QAPPS_API QPluginCardInput & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue