AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateQAppResult.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 UpdateQAppResult() = 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 UpdateQAppResult& 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
220 inline const Aws::Vector<AppRequiredCapability>& GetRequiredCapabilities() const { return m_requiredCapabilities; }
221 template <typename RequiredCapabilitiesT = Aws::Vector<AppRequiredCapability>>
223 m_requiredCapabilitiesHasBeenSet = true;
224 m_requiredCapabilities = std::forward<RequiredCapabilitiesT>(value);
225 }
226 template <typename RequiredCapabilitiesT = Aws::Vector<AppRequiredCapability>>
228 SetRequiredCapabilities(std::forward<RequiredCapabilitiesT>(value));
229 return *this;
230 }
232 m_requiredCapabilitiesHasBeenSet = true;
233 m_requiredCapabilities.push_back(value);
234 return *this;
235 }
237
239
240 inline const Aws::String& GetRequestId() const { return m_requestId; }
241 template <typename RequestIdT = Aws::String>
242 void SetRequestId(RequestIdT&& value) {
243 m_requestIdHasBeenSet = true;
244 m_requestId = std::forward<RequestIdT>(value);
245 }
246 template <typename RequestIdT = Aws::String>
248 SetRequestId(std::forward<RequestIdT>(value));
249 return *this;
250 }
252 private:
253 Aws::String m_appId;
254
255 Aws::String m_appArn;
256
257 Aws::String m_title;
258
259 Aws::String m_description;
260
261 Aws::String m_initialPrompt;
262
263 int m_appVersion{0};
264
266
267 Aws::Utils::DateTime m_createdAt{};
268
269 Aws::String m_createdBy;
270
271 Aws::Utils::DateTime m_updatedAt{};
272
273 Aws::String m_updatedBy;
274
275 Aws::Vector<AppRequiredCapability> m_requiredCapabilities;
276
277 Aws::String m_requestId;
278 bool m_appIdHasBeenSet = false;
279 bool m_appArnHasBeenSet = false;
280 bool m_titleHasBeenSet = false;
281 bool m_descriptionHasBeenSet = false;
282 bool m_initialPromptHasBeenSet = false;
283 bool m_appVersionHasBeenSet = false;
284 bool m_statusHasBeenSet = false;
285 bool m_createdAtHasBeenSet = false;
286 bool m_createdByHasBeenSet = false;
287 bool m_updatedAtHasBeenSet = false;
288 bool m_updatedByHasBeenSet = false;
289 bool m_requiredCapabilitiesHasBeenSet = false;
290 bool m_requestIdHasBeenSet = false;
291};
292
293} // namespace Model
294} // namespace QApps
295} // namespace Aws
UpdateQAppResult & WithStatus(AppStatus value)
UpdateQAppResult & WithRequestId(RequestIdT &&value)
UpdateQAppResult & WithInitialPrompt(InitialPromptT &&value)
void SetDescription(DescriptionT &&value)
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