AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
CreateQAppResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/qapps/QApps_EXPORTS.h>
11#include <aws/qapps/model/AppRequiredCapability.h>
12#include <aws/qapps/model/AppStatus.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace QApps {
26namespace Model {
28 public:
29 AWS_QAPPS_API CreateQAppResult() = default;
32
34
37 inline const Aws::String& GetAppId() const { return m_appId; }
38 template <typename AppIdT = Aws::String>
39 void SetAppId(AppIdT&& value) {
40 m_appIdHasBeenSet = true;
41 m_appId = std::forward<AppIdT>(value);
42 }
43 template <typename AppIdT = Aws::String>
45 SetAppId(std::forward<AppIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetAppArn() const { return m_appArn; }
55 template <typename AppArnT = Aws::String>
56 void SetAppArn(AppArnT&& value) {
57 m_appArnHasBeenSet = true;
58 m_appArn = std::forward<AppArnT>(value);
59 }
60 template <typename AppArnT = Aws::String>
62 SetAppArn(std::forward<AppArnT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetTitle() const { return m_title; }
72 template <typename TitleT = Aws::String>
73 void SetTitle(TitleT&& value) {
74 m_titleHasBeenSet = true;
75 m_title = std::forward<TitleT>(value);
76 }
77 template <typename TitleT = Aws::String>
79 SetTitle(std::forward<TitleT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetDescription() const { return m_description; }
89 template <typename DescriptionT = Aws::String>
91 m_descriptionHasBeenSet = true;
92 m_description = std::forward<DescriptionT>(value);
93 }
94 template <typename DescriptionT = Aws::String>
96 SetDescription(std::forward<DescriptionT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::String& GetInitialPrompt() const { return m_initialPrompt; }
106 template <typename InitialPromptT = Aws::String>
108 m_initialPromptHasBeenSet = true;
109 m_initialPrompt = std::forward<InitialPromptT>(value);
110 }
111 template <typename InitialPromptT = Aws::String>
113 SetInitialPrompt(std::forward<InitialPromptT>(value));
114 return *this;
115 }
117
119
122 inline int GetAppVersion() const { return m_appVersion; }
123 inline void SetAppVersion(int value) {
124 m_appVersionHasBeenSet = true;
125 m_appVersion = value;
126 }
127 inline CreateQAppResult& WithAppVersion(int value) {
128 SetAppVersion(value);
129 return *this;
130 }
132
134
137 inline AppStatus GetStatus() const { return m_status; }
138 inline void SetStatus(AppStatus value) {
139 m_statusHasBeenSet = true;
140 m_status = value;
141 }
143 SetStatus(value);
144 return *this;
145 }
147
149
152 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
153 template <typename CreatedAtT = Aws::Utils::DateTime>
154 void SetCreatedAt(CreatedAtT&& value) {
155 m_createdAtHasBeenSet = true;
156 m_createdAt = std::forward<CreatedAtT>(value);
157 }
158 template <typename CreatedAtT = Aws::Utils::DateTime>
160 SetCreatedAt(std::forward<CreatedAtT>(value));
161 return *this;
162 }
164
166
169 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
170 template <typename CreatedByT = Aws::String>
171 void SetCreatedBy(CreatedByT&& value) {
172 m_createdByHasBeenSet = true;
173 m_createdBy = std::forward<CreatedByT>(value);
174 }
175 template <typename CreatedByT = Aws::String>
177 SetCreatedBy(std::forward<CreatedByT>(value));
178 return *this;
179 }
181
183
186 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
187 template <typename UpdatedAtT = Aws::Utils::DateTime>
188 void SetUpdatedAt(UpdatedAtT&& value) {
189 m_updatedAtHasBeenSet = true;
190 m_updatedAt = std::forward<UpdatedAtT>(value);
191 }
192 template <typename UpdatedAtT = Aws::Utils::DateTime>
194 SetUpdatedAt(std::forward<UpdatedAtT>(value));
195 return *this;
196 }
198
200
203 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
204 template <typename UpdatedByT = Aws::String>
205 void SetUpdatedBy(UpdatedByT&& value) {
206 m_updatedByHasBeenSet = true;
207 m_updatedBy = std::forward<UpdatedByT>(value);
208 }
209 template <typename UpdatedByT = Aws::String>
211 SetUpdatedBy(std::forward<UpdatedByT>(value));
212 return *this;
213 }
215
217
221 inline const Aws::Vector<AppRequiredCapability>& GetRequiredCapabilities() const { return m_requiredCapabilities; }
222 template <typename RequiredCapabilitiesT = Aws::Vector<AppRequiredCapability>>
224 m_requiredCapabilitiesHasBeenSet = true;
225 m_requiredCapabilities = std::forward<RequiredCapabilitiesT>(value);
226 }
227 template <typename RequiredCapabilitiesT = Aws::Vector<AppRequiredCapability>>
229 SetRequiredCapabilities(std::forward<RequiredCapabilitiesT>(value));
230 return *this;
231 }
233 m_requiredCapabilitiesHasBeenSet = true;
234 m_requiredCapabilities.push_back(value);
235 return *this;
236 }
238
240
241 inline const Aws::String& GetRequestId() const { return m_requestId; }
242 template <typename RequestIdT = Aws::String>
243 void SetRequestId(RequestIdT&& value) {
244 m_requestIdHasBeenSet = true;
245 m_requestId = std::forward<RequestIdT>(value);
246 }
247 template <typename RequestIdT = Aws::String>
249 SetRequestId(std::forward<RequestIdT>(value));
250 return *this;
251 }
253 private:
254 Aws::String m_appId;
255
256 Aws::String m_appArn;
257
258 Aws::String m_title;
259
260 Aws::String m_description;
261
262 Aws::String m_initialPrompt;
263
264 int m_appVersion{0};
265
267
268 Aws::Utils::DateTime m_createdAt{};
269
270 Aws::String m_createdBy;
271
272 Aws::Utils::DateTime m_updatedAt{};
273
274 Aws::String m_updatedBy;
275
276 Aws::Vector<AppRequiredCapability> m_requiredCapabilities;
277
278 Aws::String m_requestId;
279 bool m_appIdHasBeenSet = false;
280 bool m_appArnHasBeenSet = false;
281 bool m_titleHasBeenSet = false;
282 bool m_descriptionHasBeenSet = false;
283 bool m_initialPromptHasBeenSet = false;
284 bool m_appVersionHasBeenSet = false;
285 bool m_statusHasBeenSet = false;
286 bool m_createdAtHasBeenSet = false;
287 bool m_createdByHasBeenSet = false;
288 bool m_updatedAtHasBeenSet = false;
289 bool m_updatedByHasBeenSet = false;
290 bool m_requiredCapabilitiesHasBeenSet = false;
291 bool m_requestIdHasBeenSet = false;
292};
293
294} // namespace Model
295} // namespace QApps
296} // namespace Aws
void SetCreatedAt(CreatedAtT &&value)
CreateQAppResult & WithStatus(AppStatus value)
CreateQAppResult & WithTitle(TitleT &&value)
const Aws::String & GetTitle() const
const Aws::String & GetCreatedBy() const
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::Vector< AppRequiredCapability > & GetRequiredCapabilities() const
void SetRequiredCapabilities(RequiredCapabilitiesT &&value)
const Aws::String & GetDescription() const
CreateQAppResult & WithAppVersion(int value)
CreateQAppResult & WithCreatedBy(CreatedByT &&value)
void SetDescription(DescriptionT &&value)
CreateQAppResult & WithCreatedAt(CreatedAtT &&value)
void SetCreatedBy(CreatedByT &&value)
CreateQAppResult & WithUpdatedAt(UpdatedAtT &&value)
CreateQAppResult & WithDescription(DescriptionT &&value)
void SetInitialPrompt(InitialPromptT &&value)
CreateQAppResult & WithAppId(AppIdT &&value)
const Aws::String & GetInitialPrompt() const
CreateQAppResult & WithRequiredCapabilities(RequiredCapabilitiesT &&value)
void SetUpdatedBy(UpdatedByT &&value)
CreateQAppResult & WithInitialPrompt(InitialPromptT &&value)
AWS_QAPPS_API CreateQAppResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetUpdatedBy() const
CreateQAppResult & WithUpdatedBy(UpdatedByT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetAppId() const
CreateQAppResult & AddRequiredCapabilities(AppRequiredCapability value)
AWS_QAPPS_API CreateQAppResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateQAppResult & WithAppArn(AppArnT &&value)
AWS_QAPPS_API CreateQAppResult()=default
const Aws::String & GetAppArn() const
void SetRequestId(RequestIdT &&value)
CreateQAppResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() 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