AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
GetQAppResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/qapps/QApps_EXPORTS.h>
12#include <aws/qapps/model/AppDefinition.h>
13#include <aws/qapps/model/AppRequiredCapability.h>
14#include <aws/qapps/model/AppStatus.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace QApps {
28namespace Model {
30 public:
31 AWS_QAPPS_API GetQAppResult() = default;
34
36
39 inline const Aws::String& GetAppId() const { return m_appId; }
40 template <typename AppIdT = Aws::String>
41 void SetAppId(AppIdT&& value) {
42 m_appIdHasBeenSet = true;
43 m_appId = std::forward<AppIdT>(value);
44 }
45 template <typename AppIdT = Aws::String>
47 SetAppId(std::forward<AppIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetAppArn() const { return m_appArn; }
57 template <typename AppArnT = Aws::String>
58 void SetAppArn(AppArnT&& value) {
59 m_appArnHasBeenSet = true;
60 m_appArn = std::forward<AppArnT>(value);
61 }
62 template <typename AppArnT = Aws::String>
64 SetAppArn(std::forward<AppArnT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetTitle() const { return m_title; }
74 template <typename TitleT = Aws::String>
75 void SetTitle(TitleT&& value) {
76 m_titleHasBeenSet = true;
77 m_title = std::forward<TitleT>(value);
78 }
79 template <typename TitleT = Aws::String>
81 SetTitle(std::forward<TitleT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetDescription() const { return m_description; }
91 template <typename DescriptionT = Aws::String>
93 m_descriptionHasBeenSet = true;
94 m_description = std::forward<DescriptionT>(value);
95 }
96 template <typename DescriptionT = Aws::String>
98 SetDescription(std::forward<DescriptionT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::String& GetInitialPrompt() const { return m_initialPrompt; }
108 template <typename InitialPromptT = Aws::String>
110 m_initialPromptHasBeenSet = true;
111 m_initialPrompt = std::forward<InitialPromptT>(value);
112 }
113 template <typename InitialPromptT = Aws::String>
115 SetInitialPrompt(std::forward<InitialPromptT>(value));
116 return *this;
117 }
119
121
124 inline int GetAppVersion() const { return m_appVersion; }
125 inline void SetAppVersion(int value) {
126 m_appVersionHasBeenSet = true;
127 m_appVersion = value;
128 }
129 inline GetQAppResult& WithAppVersion(int value) {
130 SetAppVersion(value);
131 return *this;
132 }
134
136
139 inline AppStatus GetStatus() const { return m_status; }
140 inline void SetStatus(AppStatus value) {
141 m_statusHasBeenSet = true;
142 m_status = value;
143 }
145 SetStatus(value);
146 return *this;
147 }
149
151
154 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
155 template <typename CreatedAtT = Aws::Utils::DateTime>
156 void SetCreatedAt(CreatedAtT&& value) {
157 m_createdAtHasBeenSet = true;
158 m_createdAt = std::forward<CreatedAtT>(value);
159 }
160 template <typename CreatedAtT = Aws::Utils::DateTime>
162 SetCreatedAt(std::forward<CreatedAtT>(value));
163 return *this;
164 }
166
168
171 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
172 template <typename CreatedByT = Aws::String>
173 void SetCreatedBy(CreatedByT&& value) {
174 m_createdByHasBeenSet = true;
175 m_createdBy = std::forward<CreatedByT>(value);
176 }
177 template <typename CreatedByT = Aws::String>
179 SetCreatedBy(std::forward<CreatedByT>(value));
180 return *this;
181 }
183
185
188 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
189 template <typename UpdatedAtT = Aws::Utils::DateTime>
190 void SetUpdatedAt(UpdatedAtT&& value) {
191 m_updatedAtHasBeenSet = true;
192 m_updatedAt = std::forward<UpdatedAtT>(value);
193 }
194 template <typename UpdatedAtT = Aws::Utils::DateTime>
196 SetUpdatedAt(std::forward<UpdatedAtT>(value));
197 return *this;
198 }
200
202
205 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
206 template <typename UpdatedByT = Aws::String>
207 void SetUpdatedBy(UpdatedByT&& value) {
208 m_updatedByHasBeenSet = true;
209 m_updatedBy = std::forward<UpdatedByT>(value);
210 }
211 template <typename UpdatedByT = Aws::String>
213 SetUpdatedBy(std::forward<UpdatedByT>(value));
214 return *this;
215 }
217
219
223 inline const Aws::Vector<AppRequiredCapability>& GetRequiredCapabilities() const { return m_requiredCapabilities; }
224 template <typename RequiredCapabilitiesT = Aws::Vector<AppRequiredCapability>>
226 m_requiredCapabilitiesHasBeenSet = true;
227 m_requiredCapabilities = std::forward<RequiredCapabilitiesT>(value);
228 }
229 template <typename RequiredCapabilitiesT = Aws::Vector<AppRequiredCapability>>
231 SetRequiredCapabilities(std::forward<RequiredCapabilitiesT>(value));
232 return *this;
233 }
235 m_requiredCapabilitiesHasBeenSet = true;
236 m_requiredCapabilities.push_back(value);
237 return *this;
238 }
240
242
245 inline const AppDefinition& GetAppDefinition() const { return m_appDefinition; }
246 template <typename AppDefinitionT = AppDefinition>
248 m_appDefinitionHasBeenSet = true;
249 m_appDefinition = std::forward<AppDefinitionT>(value);
250 }
251 template <typename AppDefinitionT = AppDefinition>
253 SetAppDefinition(std::forward<AppDefinitionT>(value));
254 return *this;
255 }
257
259
260 inline const Aws::String& GetRequestId() const { return m_requestId; }
261 template <typename RequestIdT = Aws::String>
262 void SetRequestId(RequestIdT&& value) {
263 m_requestIdHasBeenSet = true;
264 m_requestId = std::forward<RequestIdT>(value);
265 }
266 template <typename RequestIdT = Aws::String>
268 SetRequestId(std::forward<RequestIdT>(value));
269 return *this;
270 }
272 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
273
274 private:
275 Aws::String m_appId;
276
277 Aws::String m_appArn;
278
279 Aws::String m_title;
280
281 Aws::String m_description;
282
283 Aws::String m_initialPrompt;
284
285 int m_appVersion{0};
286
288
289 Aws::Utils::DateTime m_createdAt{};
290
291 Aws::String m_createdBy;
292
293 Aws::Utils::DateTime m_updatedAt{};
294
295 Aws::String m_updatedBy;
296
297 Aws::Vector<AppRequiredCapability> m_requiredCapabilities;
298
299 AppDefinition m_appDefinition;
300
301 Aws::String m_requestId;
302 Aws::Http::HttpResponseCode m_HttpResponseCode;
303 bool m_appIdHasBeenSet = false;
304 bool m_appArnHasBeenSet = false;
305 bool m_titleHasBeenSet = false;
306 bool m_descriptionHasBeenSet = false;
307 bool m_initialPromptHasBeenSet = false;
308 bool m_appVersionHasBeenSet = false;
309 bool m_statusHasBeenSet = false;
310 bool m_createdAtHasBeenSet = false;
311 bool m_createdByHasBeenSet = false;
312 bool m_updatedAtHasBeenSet = false;
313 bool m_updatedByHasBeenSet = false;
314 bool m_requiredCapabilitiesHasBeenSet = false;
315 bool m_appDefinitionHasBeenSet = false;
316 bool m_requestIdHasBeenSet = false;
317};
318
319} // namespace Model
320} // namespace QApps
321} // 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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