AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetQAppResult.h
1
6#pragma once
7#include <aws/qapps/QApps_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qapps/model/AppStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/qapps/model/AppDefinition.h>
13#include <aws/qapps/model/AppRequiredCapability.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace QApps
29{
30namespace Model
31{
33 {
34 public:
35 AWS_QAPPS_API GetQAppResult();
38
39
41
44 inline const Aws::String& GetAppId() const{ return m_appId; }
45 inline void SetAppId(const Aws::String& value) { m_appId = value; }
46 inline void SetAppId(Aws::String&& value) { m_appId = std::move(value); }
47 inline void SetAppId(const char* value) { m_appId.assign(value); }
48 inline GetQAppResult& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
49 inline GetQAppResult& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
50 inline GetQAppResult& WithAppId(const char* value) { SetAppId(value); return *this;}
52
54
57 inline const Aws::String& GetAppArn() const{ return m_appArn; }
58 inline void SetAppArn(const Aws::String& value) { m_appArn = value; }
59 inline void SetAppArn(Aws::String&& value) { m_appArn = std::move(value); }
60 inline void SetAppArn(const char* value) { m_appArn.assign(value); }
61 inline GetQAppResult& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
62 inline GetQAppResult& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
63 inline GetQAppResult& WithAppArn(const char* value) { SetAppArn(value); return *this;}
65
67
70 inline const Aws::String& GetTitle() const{ return m_title; }
71 inline void SetTitle(const Aws::String& value) { m_title = value; }
72 inline void SetTitle(Aws::String&& value) { m_title = std::move(value); }
73 inline void SetTitle(const char* value) { m_title.assign(value); }
74 inline GetQAppResult& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
75 inline GetQAppResult& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
76 inline GetQAppResult& WithTitle(const char* value) { SetTitle(value); return *this;}
78
80
83 inline const Aws::String& GetDescription() const{ return m_description; }
84 inline void SetDescription(const Aws::String& value) { m_description = value; }
85 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
86 inline void SetDescription(const char* value) { m_description.assign(value); }
87 inline GetQAppResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
88 inline GetQAppResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
89 inline GetQAppResult& WithDescription(const char* value) { SetDescription(value); return *this;}
91
93
96 inline const Aws::String& GetInitialPrompt() const{ return m_initialPrompt; }
97 inline void SetInitialPrompt(const Aws::String& value) { m_initialPrompt = value; }
98 inline void SetInitialPrompt(Aws::String&& value) { m_initialPrompt = std::move(value); }
99 inline void SetInitialPrompt(const char* value) { m_initialPrompt.assign(value); }
100 inline GetQAppResult& WithInitialPrompt(const Aws::String& value) { SetInitialPrompt(value); return *this;}
101 inline GetQAppResult& WithInitialPrompt(Aws::String&& value) { SetInitialPrompt(std::move(value)); return *this;}
102 inline GetQAppResult& WithInitialPrompt(const char* value) { SetInitialPrompt(value); return *this;}
104
106
109 inline int GetAppVersion() const{ return m_appVersion; }
110 inline void SetAppVersion(int value) { m_appVersion = value; }
111 inline GetQAppResult& WithAppVersion(int value) { SetAppVersion(value); return *this;}
113
115
118 inline const AppStatus& GetStatus() const{ return m_status; }
119 inline void SetStatus(const AppStatus& value) { m_status = value; }
120 inline void SetStatus(AppStatus&& value) { m_status = std::move(value); }
121 inline GetQAppResult& WithStatus(const AppStatus& value) { SetStatus(value); return *this;}
122 inline GetQAppResult& WithStatus(AppStatus&& value) { SetStatus(std::move(value)); return *this;}
124
126
129 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
130 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
131 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
132 inline GetQAppResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
133 inline GetQAppResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
135
137
140 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
141 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
142 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
143 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
144 inline GetQAppResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
145 inline GetQAppResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
146 inline GetQAppResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
148
150
153 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
154 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
155 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
156 inline GetQAppResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
157 inline GetQAppResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
159
161
164 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
165 inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; }
166 inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); }
167 inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); }
168 inline GetQAppResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
169 inline GetQAppResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
170 inline GetQAppResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
172
174
178 inline const Aws::Vector<AppRequiredCapability>& GetRequiredCapabilities() const{ return m_requiredCapabilities; }
179 inline void SetRequiredCapabilities(const Aws::Vector<AppRequiredCapability>& value) { m_requiredCapabilities = value; }
180 inline void SetRequiredCapabilities(Aws::Vector<AppRequiredCapability>&& value) { m_requiredCapabilities = std::move(value); }
183 inline GetQAppResult& AddRequiredCapabilities(const AppRequiredCapability& value) { m_requiredCapabilities.push_back(value); return *this; }
184 inline GetQAppResult& AddRequiredCapabilities(AppRequiredCapability&& value) { m_requiredCapabilities.push_back(std::move(value)); return *this; }
186
188
191 inline const AppDefinition& GetAppDefinition() const{ return m_appDefinition; }
192 inline void SetAppDefinition(const AppDefinition& value) { m_appDefinition = value; }
193 inline void SetAppDefinition(AppDefinition&& value) { m_appDefinition = std::move(value); }
194 inline GetQAppResult& WithAppDefinition(const AppDefinition& value) { SetAppDefinition(value); return *this;}
195 inline GetQAppResult& WithAppDefinition(AppDefinition&& value) { SetAppDefinition(std::move(value)); return *this;}
197
199
200 inline const Aws::String& GetRequestId() const{ return m_requestId; }
201 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
202 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
203 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
204 inline GetQAppResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
205 inline GetQAppResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
206 inline GetQAppResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
208 private:
209
210 Aws::String m_appId;
211
212 Aws::String m_appArn;
213
214 Aws::String m_title;
215
216 Aws::String m_description;
217
218 Aws::String m_initialPrompt;
219
220 int m_appVersion;
221
222 AppStatus m_status;
223
224 Aws::Utils::DateTime m_createdAt;
225
226 Aws::String m_createdBy;
227
228 Aws::Utils::DateTime m_updatedAt;
229
230 Aws::String m_updatedBy;
231
232 Aws::Vector<AppRequiredCapability> m_requiredCapabilities;
233
234 AppDefinition m_appDefinition;
235
236 Aws::String m_requestId;
237 };
238
239} // namespace Model
240} // namespace QApps
241} // namespace Aws
const Aws::Utils::DateTime & GetCreatedAt() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
GetQAppResult & WithUpdatedBy(Aws::String &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::Vector< AppRequiredCapability > & GetRequiredCapabilities() const
void SetRequestId(const char *value)
GetQAppResult & WithAppId(const Aws::String &value)
GetQAppResult & WithStatus(AppStatus &&value)
GetQAppResult & WithRequiredCapabilities(Aws::Vector< AppRequiredCapability > &&value)
const AppStatus & GetStatus() const
GetQAppResult & AddRequiredCapabilities(AppRequiredCapability &&value)
void SetUpdatedBy(const Aws::String &value)
GetQAppResult & WithInitialPrompt(const Aws::String &value)
void SetAppDefinition(const AppDefinition &value)
void SetRequestId(const Aws::String &value)
GetQAppResult & WithAppId(const char *value)
GetQAppResult & WithRequestId(const Aws::String &value)
GetQAppResult & WithTitle(const Aws::String &value)
void SetAppId(const char *value)
void SetCreatedBy(Aws::String &&value)
const Aws::String & GetAppId() const
GetQAppResult & WithDescription(const char *value)
const Aws::String & GetUpdatedBy() const
void SetUpdatedAt(Aws::Utils::DateTime &&value)
GetQAppResult & WithAppDefinition(const AppDefinition &value)
void SetRequiredCapabilities(Aws::Vector< AppRequiredCapability > &&value)
void SetStatus(AppStatus &&value)
GetQAppResult & WithAppArn(Aws::String &&value)
void SetAppDefinition(AppDefinition &&value)
void SetCreatedBy(const char *value)
const AppDefinition & GetAppDefinition() const
GetQAppResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetAppId(const Aws::String &value)
GetQAppResult & WithTitle(const char *value)
void SetAppArn(const char *value)
void SetTitle(const char *value)
GetQAppResult & WithRequestId(const char *value)
const Aws::String & GetCreatedBy() const
void SetInitialPrompt(const char *value)
GetQAppResult & WithAppId(Aws::String &&value)
void SetInitialPrompt(Aws::String &&value)
void SetCreatedBy(const Aws::String &value)
const Aws::String & GetAppArn() const
GetQAppResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
GetQAppResult & WithDescription(const Aws::String &value)
GetQAppResult & WithAppVersion(int value)
void SetStatus(const AppStatus &value)
void SetTitle(Aws::String &&value)
const Aws::String & GetDescription() const
GetQAppResult & WithAppDefinition(AppDefinition &&value)
void SetAppArn(const Aws::String &value)
GetQAppResult & WithTitle(Aws::String &&value)
void SetDescription(Aws::String &&value)
GetQAppResult & WithAppArn(const char *value)
void SetUpdatedBy(const char *value)
void SetDescription(const Aws::String &value)
GetQAppResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetAppArn(Aws::String &&value)
GetQAppResult & WithInitialPrompt(Aws::String &&value)
GetQAppResult & AddRequiredCapabilities(const AppRequiredCapability &value)
GetQAppResult & WithCreatedBy(Aws::String &&value)
void SetRequestId(Aws::String &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetTitle() const
void SetInitialPrompt(const Aws::String &value)
GetQAppResult & WithDescription(Aws::String &&value)
void SetUpdatedBy(Aws::String &&value)
void SetRequiredCapabilities(const Aws::Vector< AppRequiredCapability > &value)
const Aws::String & GetInitialPrompt() const
GetQAppResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetTitle(const Aws::String &value)
GetQAppResult & WithAppArn(const Aws::String &value)
GetQAppResult & WithRequiredCapabilities(const Aws::Vector< AppRequiredCapability > &value)
GetQAppResult & WithUpdatedBy(const char *value)
void SetAppId(Aws::String &&value)
GetQAppResult & WithStatus(const AppStatus &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
GetQAppResult & WithCreatedBy(const char *value)
GetQAppResult & WithRequestId(Aws::String &&value)
void SetDescription(const char *value)
GetQAppResult & WithUpdatedBy(const Aws::String &value)
AWS_QAPPS_API GetQAppResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetQAppResult & WithInitialPrompt(const char *value)
AWS_QAPPS_API GetQAppResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetQAppResult & WithCreatedBy(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue