AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
QPluginCard.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/qapps/QApps_EXPORTS.h>
10#include <aws/qapps/model/CardType.h>
11#include <aws/qapps/model/PluginType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QApps {
23namespace Model {
24
32 public:
33 AWS_QAPPS_API QPluginCard() = default;
36 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetId() const { return m_id; }
43 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
44 template <typename IdT = Aws::String>
45 void SetId(IdT&& value) {
46 m_idHasBeenSet = true;
47 m_id = std::forward<IdT>(value);
48 }
49 template <typename IdT = Aws::String>
51 SetId(std::forward<IdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetTitle() const { return m_title; }
61 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
62 template <typename TitleT = Aws::String>
63 void SetTitle(TitleT&& value) {
64 m_titleHasBeenSet = true;
65 m_title = std::forward<TitleT>(value);
66 }
67 template <typename TitleT = Aws::String>
69 SetTitle(std::forward<TitleT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::Vector<Aws::String>& GetDependencies() const { return m_dependencies; }
79 inline bool DependenciesHasBeenSet() const { return m_dependenciesHasBeenSet; }
80 template <typename DependenciesT = Aws::Vector<Aws::String>>
82 m_dependenciesHasBeenSet = true;
83 m_dependencies = std::forward<DependenciesT>(value);
84 }
85 template <typename DependenciesT = Aws::Vector<Aws::String>>
87 SetDependencies(std::forward<DependenciesT>(value));
88 return *this;
89 }
90 template <typename DependenciesT = Aws::String>
92 m_dependenciesHasBeenSet = true;
93 m_dependencies.emplace_back(std::forward<DependenciesT>(value));
94 return *this;
95 }
97
99
102 inline CardType GetType() const { return m_type; }
103 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
104 inline void SetType(CardType value) {
105 m_typeHasBeenSet = true;
106 m_type = value;
107 }
109 SetType(value);
110 return *this;
111 }
113
115
118 inline const Aws::String& GetPrompt() const { return m_prompt; }
119 inline bool PromptHasBeenSet() const { return m_promptHasBeenSet; }
120 template <typename PromptT = Aws::String>
121 void SetPrompt(PromptT&& value) {
122 m_promptHasBeenSet = true;
123 m_prompt = std::forward<PromptT>(value);
124 }
125 template <typename PromptT = Aws::String>
127 SetPrompt(std::forward<PromptT>(value));
128 return *this;
129 }
131
133
136 inline PluginType GetPluginType() const { return m_pluginType; }
137 inline bool PluginTypeHasBeenSet() const { return m_pluginTypeHasBeenSet; }
138 inline void SetPluginType(PluginType value) {
139 m_pluginTypeHasBeenSet = true;
140 m_pluginType = value;
141 }
143 SetPluginType(value);
144 return *this;
145 }
147
149
152 inline const Aws::String& GetPluginId() const { return m_pluginId; }
153 inline bool PluginIdHasBeenSet() const { return m_pluginIdHasBeenSet; }
154 template <typename PluginIdT = Aws::String>
155 void SetPluginId(PluginIdT&& value) {
156 m_pluginIdHasBeenSet = true;
157 m_pluginId = std::forward<PluginIdT>(value);
158 }
159 template <typename PluginIdT = Aws::String>
161 SetPluginId(std::forward<PluginIdT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::String& GetActionIdentifier() const { return m_actionIdentifier; }
171 inline bool ActionIdentifierHasBeenSet() const { return m_actionIdentifierHasBeenSet; }
172 template <typename ActionIdentifierT = Aws::String>
174 m_actionIdentifierHasBeenSet = true;
175 m_actionIdentifier = std::forward<ActionIdentifierT>(value);
176 }
177 template <typename ActionIdentifierT = Aws::String>
179 SetActionIdentifier(std::forward<ActionIdentifierT>(value));
180 return *this;
181 }
183 private:
184 Aws::String m_id;
185
186 Aws::String m_title;
187
188 Aws::Vector<Aws::String> m_dependencies;
189
191
192 Aws::String m_prompt;
193
194 PluginType m_pluginType{PluginType::NOT_SET};
195
196 Aws::String m_pluginId;
197
198 Aws::String m_actionIdentifier;
199 bool m_idHasBeenSet = false;
200 bool m_titleHasBeenSet = false;
201 bool m_dependenciesHasBeenSet = false;
202 bool m_typeHasBeenSet = false;
203 bool m_promptHasBeenSet = false;
204 bool m_pluginTypeHasBeenSet = false;
205 bool m_pluginIdHasBeenSet = false;
206 bool m_actionIdentifierHasBeenSet = false;
207};
208
209} // namespace Model
210} // namespace QApps
211} // namespace Aws
PluginType GetPluginType() const
void SetActionIdentifier(ActionIdentifierT &&value)
QPluginCard & WithPluginType(PluginType value)
void SetDependencies(DependenciesT &&value)
Definition QPluginCard.h:81
const Aws::String & GetPrompt() const
QPluginCard & WithActionIdentifier(ActionIdentifierT &&value)
AWS_QAPPS_API QPluginCard(Aws::Utils::Json::JsonView jsonValue)
QPluginCard & WithPluginId(PluginIdT &&value)
const Aws::Vector< Aws::String > & GetDependencies() const
Definition QPluginCard.h:78
const Aws::String & GetPluginId() const
void SetPluginType(PluginType value)
const Aws::String & GetActionIdentifier() const
void SetTitle(TitleT &&value)
Definition QPluginCard.h:63
const Aws::String & GetTitle() const
Definition QPluginCard.h:60
QPluginCard & WithId(IdT &&value)
Definition QPluginCard.h:50
void SetPrompt(PromptT &&value)
void SetType(CardType value)
AWS_QAPPS_API QPluginCard()=default
AWS_QAPPS_API QPluginCard & operator=(Aws::Utils::Json::JsonView jsonValue)
QPluginCard & WithTitle(TitleT &&value)
Definition QPluginCard.h:68
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPluginId(PluginIdT &&value)
QPluginCard & WithPrompt(PromptT &&value)
QPluginCard & WithType(CardType value)
const Aws::String & GetId() const
Definition QPluginCard.h:42
QPluginCard & AddDependencies(DependenciesT &&value)
Definition QPluginCard.h:91
QPluginCard & WithDependencies(DependenciesT &&value)
Definition QPluginCard.h:86
bool ActionIdentifierHasBeenSet() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue