AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39 AWS_QAPPS_API QPluginCard(Aws::Utils::Json::JsonView jsonValue);
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
52 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
53 inline QPluginCard& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline QPluginCard& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline QPluginCard& WithId(const char* value) { SetId(value); return *this;}
57
59
62 inline const Aws::String& GetTitle() const{ return m_title; }
63 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
64 inline void SetTitle(const Aws::String& value) { m_titleHasBeenSet = true; m_title = value; }
65 inline void SetTitle(Aws::String&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
66 inline void SetTitle(const char* value) { m_titleHasBeenSet = true; m_title.assign(value); }
67 inline QPluginCard& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
68 inline QPluginCard& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
69 inline QPluginCard& WithTitle(const char* value) { SetTitle(value); return *this;}
71
73
76 inline const Aws::Vector<Aws::String>& GetDependencies() const{ return m_dependencies; }
77 inline bool DependenciesHasBeenSet() const { return m_dependenciesHasBeenSet; }
78 inline void SetDependencies(const Aws::Vector<Aws::String>& value) { m_dependenciesHasBeenSet = true; m_dependencies = value; }
79 inline void SetDependencies(Aws::Vector<Aws::String>&& value) { m_dependenciesHasBeenSet = true; m_dependencies = std::move(value); }
80 inline QPluginCard& WithDependencies(const Aws::Vector<Aws::String>& value) { SetDependencies(value); return *this;}
81 inline QPluginCard& WithDependencies(Aws::Vector<Aws::String>&& value) { SetDependencies(std::move(value)); return *this;}
82 inline QPluginCard& AddDependencies(const Aws::String& value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(value); return *this; }
83 inline QPluginCard& AddDependencies(Aws::String&& value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(std::move(value)); return *this; }
84 inline QPluginCard& AddDependencies(const char* value) { m_dependenciesHasBeenSet = true; m_dependencies.push_back(value); return *this; }
86
88
91 inline const CardType& GetType() const{ return m_type; }
92 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
93 inline void SetType(const CardType& value) { m_typeHasBeenSet = true; m_type = value; }
94 inline void SetType(CardType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
95 inline QPluginCard& WithType(const CardType& value) { SetType(value); return *this;}
96 inline QPluginCard& WithType(CardType&& value) { SetType(std::move(value)); return *this;}
98
100
103 inline const Aws::String& GetPrompt() const{ return m_prompt; }
104 inline bool PromptHasBeenSet() const { return m_promptHasBeenSet; }
105 inline void SetPrompt(const Aws::String& value) { m_promptHasBeenSet = true; m_prompt = value; }
106 inline void SetPrompt(Aws::String&& value) { m_promptHasBeenSet = true; m_prompt = std::move(value); }
107 inline void SetPrompt(const char* value) { m_promptHasBeenSet = true; m_prompt.assign(value); }
108 inline QPluginCard& WithPrompt(const Aws::String& value) { SetPrompt(value); return *this;}
109 inline QPluginCard& WithPrompt(Aws::String&& value) { SetPrompt(std::move(value)); return *this;}
110 inline QPluginCard& WithPrompt(const char* value) { SetPrompt(value); return *this;}
112
114
117 inline const PluginType& GetPluginType() const{ return m_pluginType; }
118 inline bool PluginTypeHasBeenSet() const { return m_pluginTypeHasBeenSet; }
119 inline void SetPluginType(const PluginType& value) { m_pluginTypeHasBeenSet = true; m_pluginType = value; }
120 inline void SetPluginType(PluginType&& value) { m_pluginTypeHasBeenSet = true; m_pluginType = std::move(value); }
121 inline QPluginCard& WithPluginType(const PluginType& value) { SetPluginType(value); return *this;}
122 inline QPluginCard& WithPluginType(PluginType&& value) { SetPluginType(std::move(value)); return *this;}
124
126
129 inline const Aws::String& GetPluginId() const{ return m_pluginId; }
130 inline bool PluginIdHasBeenSet() const { return m_pluginIdHasBeenSet; }
131 inline void SetPluginId(const Aws::String& value) { m_pluginIdHasBeenSet = true; m_pluginId = value; }
132 inline void SetPluginId(Aws::String&& value) { m_pluginIdHasBeenSet = true; m_pluginId = std::move(value); }
133 inline void SetPluginId(const char* value) { m_pluginIdHasBeenSet = true; m_pluginId.assign(value); }
134 inline QPluginCard& WithPluginId(const Aws::String& value) { SetPluginId(value); return *this;}
135 inline QPluginCard& WithPluginId(Aws::String&& value) { SetPluginId(std::move(value)); return *this;}
136 inline QPluginCard& WithPluginId(const char* value) { SetPluginId(value); return *this;}
138 private:
139
140 Aws::String m_id;
141 bool m_idHasBeenSet = false;
142
143 Aws::String m_title;
144 bool m_titleHasBeenSet = false;
145
146 Aws::Vector<Aws::String> m_dependencies;
147 bool m_dependenciesHasBeenSet = false;
148
149 CardType m_type;
150 bool m_typeHasBeenSet = false;
151
152 Aws::String m_prompt;
153 bool m_promptHasBeenSet = false;
154
155 PluginType m_pluginType;
156 bool m_pluginTypeHasBeenSet = false;
157
158 Aws::String m_pluginId;
159 bool m_pluginIdHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace QApps
164} // namespace Aws
QPluginCard & WithTitle(Aws::String &&value)
Definition QPluginCard.h:68
void SetPluginType(const PluginType &value)
QPluginCard & WithPluginType(const PluginType &value)
QPluginCard & WithPluginId(const Aws::String &value)
void SetType(const CardType &value)
Definition QPluginCard.h:93
void SetPluginId(const char *value)
QPluginCard & WithType(CardType &&value)
Definition QPluginCard.h:96
void SetTitle(const Aws::String &value)
Definition QPluginCard.h:64
void SetType(CardType &&value)
Definition QPluginCard.h:94
void SetId(const char *value)
Definition QPluginCard.h:52
void SetPrompt(Aws::String &&value)
const Aws::String & GetPrompt() const
QPluginCard & WithPrompt(const Aws::String &value)
QPluginCard & WithTitle(const char *value)
Definition QPluginCard.h:69
QPluginCard & WithPluginId(const char *value)
const PluginType & GetPluginType() const
AWS_QAPPS_API QPluginCard(Aws::Utils::Json::JsonView jsonValue)
void SetDependencies(Aws::Vector< Aws::String > &&value)
Definition QPluginCard.h:79
void SetId(const Aws::String &value)
Definition QPluginCard.h:50
void SetTitle(const char *value)
Definition QPluginCard.h:66
const Aws::Vector< Aws::String > & GetDependencies() const
Definition QPluginCard.h:76
QPluginCard & WithId(Aws::String &&value)
Definition QPluginCard.h:54
const Aws::String & GetPluginId() const
void SetPrompt(const char *value)
QPluginCard & WithDependencies(Aws::Vector< Aws::String > &&value)
Definition QPluginCard.h:81
void SetPrompt(const Aws::String &value)
const Aws::String & GetTitle() const
Definition QPluginCard.h:62
const CardType & GetType() const
Definition QPluginCard.h:91
QPluginCard & WithPluginType(PluginType &&value)
AWS_QAPPS_API QPluginCard & operator=(Aws::Utils::Json::JsonView jsonValue)
QPluginCard & AddDependencies(const Aws::String &value)
Definition QPluginCard.h:82
void SetPluginId(Aws::String &&value)
QPluginCard & WithPluginId(Aws::String &&value)
void SetPluginType(PluginType &&value)
QPluginCard & WithDependencies(const Aws::Vector< Aws::String > &value)
Definition QPluginCard.h:80
QPluginCard & WithPrompt(const char *value)
AWS_QAPPS_API Aws::Utils::Json::JsonValue Jsonize() const
QPluginCard & WithId(const Aws::String &value)
Definition QPluginCard.h:53
QPluginCard & AddDependencies(const char *value)
Definition QPluginCard.h:84
const Aws::String & GetId() const
Definition QPluginCard.h:48
void SetDependencies(const Aws::Vector< Aws::String > &value)
Definition QPluginCard.h:78
QPluginCard & AddDependencies(Aws::String &&value)
Definition QPluginCard.h:83
void SetPluginId(const Aws::String &value)
QPluginCard & WithType(const CardType &value)
Definition QPluginCard.h:95
void SetId(Aws::String &&value)
Definition QPluginCard.h:51
QPluginCard & WithPrompt(Aws::String &&value)
QPluginCard & WithId(const char *value)
Definition QPluginCard.h:55
void SetTitle(Aws::String &&value)
Definition QPluginCard.h:65
QPluginCard & WithTitle(const Aws::String &value)
Definition QPluginCard.h:67
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue