AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
GetQAppResult.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/AppDefinition.h>
12#include <aws/qapps/model/AppRequiredCapability.h>
13#include <aws/qapps/model/AppStatus.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace QApps {
27namespace Model {
29 public:
30 AWS_QAPPS_API GetQAppResult() = default;
33
35
38 inline const Aws::String& GetAppId() const { return m_appId; }
39 template <typename AppIdT = Aws::String>
40 void SetAppId(AppIdT&& value) {
41 m_appIdHasBeenSet = true;
42 m_appId = std::forward<AppIdT>(value);
43 }
44 template <typename AppIdT = Aws::String>
46 SetAppId(std::forward<AppIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetAppArn() const { return m_appArn; }
56 template <typename AppArnT = Aws::String>
57 void SetAppArn(AppArnT&& value) {
58 m_appArnHasBeenSet = true;
59 m_appArn = std::forward<AppArnT>(value);
60 }
61 template <typename AppArnT = Aws::String>
63 SetAppArn(std::forward<AppArnT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetTitle() const { return m_title; }
73 template <typename TitleT = Aws::String>
74 void SetTitle(TitleT&& value) {
75 m_titleHasBeenSet = true;
76 m_title = std::forward<TitleT>(value);
77 }
78 template <typename TitleT = Aws::String>
80 SetTitle(std::forward<TitleT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetDescription() const { return m_description; }
90 template <typename DescriptionT = Aws::String>
92 m_descriptionHasBeenSet = true;
93 m_description = std::forward<DescriptionT>(value);
94 }
95 template <typename DescriptionT = Aws::String>
97 SetDescription(std::forward<DescriptionT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::String& GetInitialPrompt() const { return m_initialPrompt; }
107 template <typename InitialPromptT = Aws::String>
109 m_initialPromptHasBeenSet = true;
110 m_initialPrompt = std::forward<InitialPromptT>(value);
111 }
112 template <typename InitialPromptT = Aws::String>
114 SetInitialPrompt(std::forward<InitialPromptT>(value));
115 return *this;
116 }
118
120
123 inline int GetAppVersion() const { return m_appVersion; }
124 inline void SetAppVersion(int value) {
125 m_appVersionHasBeenSet = true;
126 m_appVersion = value;
127 }
128 inline GetQAppResult& WithAppVersion(int value) {
129 SetAppVersion(value);
130 return *this;
131 }
133
135
138 inline AppStatus GetStatus() const { return m_status; }
139 inline void SetStatus(AppStatus value) {
140 m_statusHasBeenSet = true;
141 m_status = value;
142 }
144 SetStatus(value);
145 return *this;
146 }
148
150
153 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
154 template <typename CreatedAtT = Aws::Utils::DateTime>
155 void SetCreatedAt(CreatedAtT&& value) {
156 m_createdAtHasBeenSet = true;
157 m_createdAt = std::forward<CreatedAtT>(value);
158 }
159 template <typename CreatedAtT = Aws::Utils::DateTime>
161 SetCreatedAt(std::forward<CreatedAtT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
171 template <typename CreatedByT = Aws::String>
172 void SetCreatedBy(CreatedByT&& value) {
173 m_createdByHasBeenSet = true;
174 m_createdBy = std::forward<CreatedByT>(value);
175 }
176 template <typename CreatedByT = Aws::String>
178 SetCreatedBy(std::forward<CreatedByT>(value));
179 return *this;
180 }
182
184
187 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
188 template <typename UpdatedAtT = Aws::Utils::DateTime>
189 void SetUpdatedAt(UpdatedAtT&& value) {
190 m_updatedAtHasBeenSet = true;
191 m_updatedAt = std::forward<UpdatedAtT>(value);
192 }
193 template <typename UpdatedAtT = Aws::Utils::DateTime>
195 SetUpdatedAt(std::forward<UpdatedAtT>(value));
196 return *this;
197 }
199
201
204 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
205 template <typename UpdatedByT = Aws::String>
206 void SetUpdatedBy(UpdatedByT&& value) {
207 m_updatedByHasBeenSet = true;
208 m_updatedBy = std::forward<UpdatedByT>(value);
209 }
210 template <typename UpdatedByT = Aws::String>
212 SetUpdatedBy(std::forward<UpdatedByT>(value));
213 return *this;
214 }
216
218
222 inline const Aws::Vector<AppRequiredCapability>& GetRequiredCapabilities() const { return m_requiredCapabilities; }
223 template <typename RequiredCapabilitiesT = Aws::Vector<AppRequiredCapability>>
225 m_requiredCapabilitiesHasBeenSet = true;
226 m_requiredCapabilities = std::forward<RequiredCapabilitiesT>(value);
227 }
228 template <typename RequiredCapabilitiesT = Aws::Vector<AppRequiredCapability>>
230 SetRequiredCapabilities(std::forward<RequiredCapabilitiesT>(value));
231 return *this;
232 }
234 m_requiredCapabilitiesHasBeenSet = true;
235 m_requiredCapabilities.push_back(value);
236 return *this;
237 }
239
241
244 inline const AppDefinition& GetAppDefinition() const { return m_appDefinition; }
245 template <typename AppDefinitionT = AppDefinition>
247 m_appDefinitionHasBeenSet = true;
248 m_appDefinition = std::forward<AppDefinitionT>(value);
249 }
250 template <typename AppDefinitionT = AppDefinition>
252 SetAppDefinition(std::forward<AppDefinitionT>(value));
253 return *this;
254 }
256
258
259 inline const Aws::String& GetRequestId() const { return m_requestId; }
260 template <typename RequestIdT = Aws::String>
261 void SetRequestId(RequestIdT&& value) {
262 m_requestIdHasBeenSet = true;
263 m_requestId = std::forward<RequestIdT>(value);
264 }
265 template <typename RequestIdT = Aws::String>
267 SetRequestId(std::forward<RequestIdT>(value));
268 return *this;
269 }
271 private:
272 Aws::String m_appId;
273
274 Aws::String m_appArn;
275
276 Aws::String m_title;
277
278 Aws::String m_description;
279
280 Aws::String m_initialPrompt;
281
282 int m_appVersion{0};
283
285
286 Aws::Utils::DateTime m_createdAt{};
287
288 Aws::String m_createdBy;
289
290 Aws::Utils::DateTime m_updatedAt{};
291
292 Aws::String m_updatedBy;
293
294 Aws::Vector<AppRequiredCapability> m_requiredCapabilities;
295
296 AppDefinition m_appDefinition;
297
298 Aws::String m_requestId;
299 bool m_appIdHasBeenSet = false;
300 bool m_appArnHasBeenSet = false;
301 bool m_titleHasBeenSet = false;
302 bool m_descriptionHasBeenSet = false;
303 bool m_initialPromptHasBeenSet = false;
304 bool m_appVersionHasBeenSet = false;
305 bool m_statusHasBeenSet = false;
306 bool m_createdAtHasBeenSet = false;
307 bool m_createdByHasBeenSet = false;
308 bool m_updatedAtHasBeenSet = false;
309 bool m_updatedByHasBeenSet = false;
310 bool m_requiredCapabilitiesHasBeenSet = false;
311 bool m_appDefinitionHasBeenSet = false;
312 bool m_requestIdHasBeenSet = false;
313};
314
315} // namespace Model
316} // namespace QApps
317} // namespace Aws
const Aws::Utils::DateTime & GetCreatedAt() const
GetQAppResult & WithUpdatedBy(UpdatedByT &&value)
GetQAppResult & WithRequiredCapabilities(RequiredCapabilitiesT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetQAppResult & WithDescription(DescriptionT &&value)
const Aws::Vector< AppRequiredCapability > & GetRequiredCapabilities() const
void SetAppArn(AppArnT &&value)
void SetAppId(AppIdT &&value)
const Aws::String & GetAppId() const
const Aws::String & GetUpdatedBy() const
GetQAppResult & WithCreatedBy(CreatedByT &&value)
GetQAppResult & WithTitle(TitleT &&value)
GetQAppResult & WithUpdatedAt(UpdatedAtT &&value)
GetQAppResult & WithAppArn(AppArnT &&value)
GetQAppResult & AddRequiredCapabilities(AppRequiredCapability value)
const AppDefinition & GetAppDefinition() const
void SetRequiredCapabilities(RequiredCapabilitiesT &&value)
const Aws::String & GetCreatedBy() const
const Aws::String & GetAppArn() const
GetQAppResult & WithAppVersion(int value)
const Aws::String & GetDescription() const
void SetCreatedBy(CreatedByT &&value)
void SetRequestId(RequestIdT &&value)
GetQAppResult & WithCreatedAt(CreatedAtT &&value)
void SetStatus(AppStatus value)
void SetInitialPrompt(InitialPromptT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetTitle() const
GetQAppResult & WithInitialPrompt(InitialPromptT &&value)
const Aws::String & GetInitialPrompt() const
GetQAppResult & WithAppId(AppIdT &&value)
AWS_QAPPS_API GetQAppResult()=default
void SetTitle(TitleT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
void SetDescription(DescriptionT &&value)
void SetUpdatedBy(UpdatedByT &&value)
void SetAppDefinition(AppDefinitionT &&value)
GetQAppResult & WithRequestId(RequestIdT &&value)
GetQAppResult & WithAppDefinition(AppDefinitionT &&value)
AWS_QAPPS_API GetQAppResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetQAppResult & WithStatus(AppStatus value)
void SetCreatedAt(CreatedAtT &&value)
AWS_QAPPS_API GetQAppResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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