AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
UpdateQAppResult.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/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 UpdateQAppResult() = 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 UpdateQAppResult& 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
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 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
254
255 private:
256 Aws::String m_appId;
257
258 Aws::String m_appArn;
259
260 Aws::String m_title;
261
262 Aws::String m_description;
263
264 Aws::String m_initialPrompt;
265
266 int m_appVersion{0};
267
269
270 Aws::Utils::DateTime m_createdAt{};
271
272 Aws::String m_createdBy;
273
274 Aws::Utils::DateTime m_updatedAt{};
275
276 Aws::String m_updatedBy;
277
278 Aws::Vector<AppRequiredCapability> m_requiredCapabilities;
279
280 Aws::String m_requestId;
281 Aws::Http::HttpResponseCode m_HttpResponseCode;
282 bool m_appIdHasBeenSet = false;
283 bool m_appArnHasBeenSet = false;
284 bool m_titleHasBeenSet = false;
285 bool m_descriptionHasBeenSet = false;
286 bool m_initialPromptHasBeenSet = false;
287 bool m_appVersionHasBeenSet = false;
288 bool m_statusHasBeenSet = false;
289 bool m_createdAtHasBeenSet = false;
290 bool m_createdByHasBeenSet = false;
291 bool m_updatedAtHasBeenSet = false;
292 bool m_updatedByHasBeenSet = false;
293 bool m_requiredCapabilitiesHasBeenSet = false;
294 bool m_requestIdHasBeenSet = false;
295};
296
297} // namespace Model
298} // namespace QApps
299} // namespace Aws
UpdateQAppResult & WithStatus(AppStatus value)
UpdateQAppResult & WithRequestId(RequestIdT &&value)
UpdateQAppResult & WithInitialPrompt(InitialPromptT &&value)
void SetDescription(DescriptionT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetCreatedAt(CreatedAtT &&value)
AWS_QAPPS_API UpdateQAppResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateQAppResult & WithUpdatedBy(UpdatedByT &&value)
AWS_QAPPS_API UpdateQAppResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateQAppResult & WithCreatedBy(CreatedByT &&value)
UpdateQAppResult & WithCreatedAt(CreatedAtT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
UpdateQAppResult & WithTitle(TitleT &&value)
UpdateQAppResult & WithAppArn(AppArnT &&value)
void SetUpdatedBy(UpdatedByT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetAppArn() const
const Aws::String & GetRequestId() const
UpdateQAppResult & WithDescription(DescriptionT &&value)
UpdateQAppResult & WithRequiredCapabilities(RequiredCapabilitiesT &&value)
const Aws::String & GetTitle() const
void SetInitialPrompt(InitialPromptT &&value)
const Aws::String & GetCreatedBy() const
const Aws::String & GetDescription() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetUpdatedBy() const
const Aws::String & GetAppId() const
const Aws::Utils::DateTime & GetUpdatedAt() const
UpdateQAppResult & WithAppId(AppIdT &&value)
const Aws::Vector< AppRequiredCapability > & GetRequiredCapabilities() const
AWS_QAPPS_API UpdateQAppResult()=default
void SetCreatedBy(CreatedByT &&value)
void SetRequiredCapabilities(RequiredCapabilitiesT &&value)
UpdateQAppResult & AddRequiredCapabilities(AppRequiredCapability value)
const Aws::String & GetInitialPrompt() const
UpdateQAppResult & WithUpdatedAt(UpdatedAtT &&value)
UpdateQAppResult & WithAppVersion(int value)
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