AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
QPluginCard.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qapps/model/CardType.h>
11#include <aws/qapps/model/PluginType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QApps
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_QAPPS_API QPluginCard() = default;
41 AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetId() const { return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 template<typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
52 template<typename IdT = Aws::String>
53 QPluginCard& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
64 template<typename TitleT = Aws::String>
65 QPluginCard& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
67
69
72 inline const Aws::Vector<Aws::String>& GetDependencies() const { return m_dependencies; }
73 inline bool DependenciesHasBeenSet() const { return m_dependenciesHasBeenSet; }
74 template<typename DependenciesT = Aws::Vector<Aws::String>>
75 void SetDependencies(DependenciesT&& value) { m_dependenciesHasBeenSet = true; m_dependencies = std::forward<DependenciesT>(value); }
76 template<typename DependenciesT = Aws::Vector<Aws::String>>
77 QPluginCard& WithDependencies(DependenciesT&& value) { SetDependencies(std::forward<DependenciesT>(value)); return *this;}
78 template<typename DependenciesT = Aws::String>
79 QPluginCard& AddDependencies(DependenciesT&& value) { m_dependenciesHasBeenSet = true; m_dependencies.emplace_back(std::forward<DependenciesT>(value)); return *this; }
81
83
86 inline CardType GetType() const { return m_type; }
87 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
88 inline void SetType(CardType value) { m_typeHasBeenSet = true; m_type = value; }
89 inline QPluginCard& WithType(CardType value) { SetType(value); return *this;}
91
93
96 inline const Aws::String& GetPrompt() const { return m_prompt; }
97 inline bool PromptHasBeenSet() const { return m_promptHasBeenSet; }
98 template<typename PromptT = Aws::String>
99 void SetPrompt(PromptT&& value) { m_promptHasBeenSet = true; m_prompt = std::forward<PromptT>(value); }
100 template<typename PromptT = Aws::String>
101 QPluginCard& WithPrompt(PromptT&& value) { SetPrompt(std::forward<PromptT>(value)); return *this;}
103
105
108 inline PluginType GetPluginType() const { return m_pluginType; }
109 inline bool PluginTypeHasBeenSet() const { return m_pluginTypeHasBeenSet; }
110 inline void SetPluginType(PluginType value) { m_pluginTypeHasBeenSet = true; m_pluginType = value; }
111 inline QPluginCard& WithPluginType(PluginType value) { SetPluginType(value); return *this;}
113
115
118 inline const Aws::String& GetPluginId() const { return m_pluginId; }
119 inline bool PluginIdHasBeenSet() const { return m_pluginIdHasBeenSet; }
120 template<typename PluginIdT = Aws::String>
121 void SetPluginId(PluginIdT&& value) { m_pluginIdHasBeenSet = true; m_pluginId = std::forward<PluginIdT>(value); }
122 template<typename PluginIdT = Aws::String>
123 QPluginCard& WithPluginId(PluginIdT&& value) { SetPluginId(std::forward<PluginIdT>(value)); return *this;}
125
127
130 inline const Aws::String& GetActionIdentifier() const { return m_actionIdentifier; }
131 inline bool ActionIdentifierHasBeenSet() const { return m_actionIdentifierHasBeenSet; }
132 template<typename ActionIdentifierT = Aws::String>
133 void SetActionIdentifier(ActionIdentifierT&& value) { m_actionIdentifierHasBeenSet = true; m_actionIdentifier = std::forward<ActionIdentifierT>(value); }
134 template<typename ActionIdentifierT = Aws::String>
135 QPluginCard& WithActionIdentifier(ActionIdentifierT&& value) { SetActionIdentifier(std::forward<ActionIdentifierT>(value)); return *this;}
137 private:
138
139 Aws::String m_id;
140 bool m_idHasBeenSet = false;
141
142 Aws::String m_title;
143 bool m_titleHasBeenSet = false;
144
145 Aws::Vector<Aws::String> m_dependencies;
146 bool m_dependenciesHasBeenSet = false;
147
149 bool m_typeHasBeenSet = false;
150
151 Aws::String m_prompt;
152 bool m_promptHasBeenSet = false;
153
154 PluginType m_pluginType{PluginType::NOT_SET};
155 bool m_pluginTypeHasBeenSet = false;
156
157 Aws::String m_pluginId;
158 bool m_pluginIdHasBeenSet = false;
159
160 Aws::String m_actionIdentifier;
161 bool m_actionIdentifierHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace QApps
166} // namespace Aws
PluginType GetPluginType() const
void SetActionIdentifier(ActionIdentifierT &&value)
QPluginCard & WithPluginType(PluginType value)
void SetDependencies(DependenciesT &&value)
Definition QPluginCard.h:75
const Aws::String & GetPrompt() const
Definition QPluginCard.h:96
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:72
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:53
void SetPrompt(PromptT &&value)
Definition QPluginCard.h:99
void SetType(CardType value)
Definition QPluginCard.h:88
AWS_QAPPS_API QPluginCard()=default
AWS_QAPPS_API QPluginCard & operator=(Aws::Utils::Json::JsonView jsonValue)
QPluginCard & WithTitle(TitleT &&value)
Definition QPluginCard.h:65
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPluginId(PluginIdT &&value)
QPluginCard & WithPrompt(PromptT &&value)
QPluginCard & WithType(CardType value)
Definition QPluginCard.h:89
const Aws::String & GetId() const
Definition QPluginCard.h:48
QPluginCard & AddDependencies(DependenciesT &&value)
Definition QPluginCard.h:79
QPluginCard & WithDependencies(DependenciesT &&value)
Definition QPluginCard.h:77
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