AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateQAppResult.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/AppRequiredCapability.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace QApps
28{
29namespace Model
30{
32 {
33 public:
34 AWS_QAPPS_API CreateQAppResult();
37
38
40
43 inline const Aws::String& GetAppId() const{ return m_appId; }
44 inline void SetAppId(const Aws::String& value) { m_appId = value; }
45 inline void SetAppId(Aws::String&& value) { m_appId = std::move(value); }
46 inline void SetAppId(const char* value) { m_appId.assign(value); }
47 inline CreateQAppResult& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
48 inline CreateQAppResult& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
49 inline CreateQAppResult& WithAppId(const char* value) { SetAppId(value); return *this;}
51
53
56 inline const Aws::String& GetAppArn() const{ return m_appArn; }
57 inline void SetAppArn(const Aws::String& value) { m_appArn = value; }
58 inline void SetAppArn(Aws::String&& value) { m_appArn = std::move(value); }
59 inline void SetAppArn(const char* value) { m_appArn.assign(value); }
60 inline CreateQAppResult& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
61 inline CreateQAppResult& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
62 inline CreateQAppResult& WithAppArn(const char* value) { SetAppArn(value); return *this;}
64
66
69 inline const Aws::String& GetTitle() const{ return m_title; }
70 inline void SetTitle(const Aws::String& value) { m_title = value; }
71 inline void SetTitle(Aws::String&& value) { m_title = std::move(value); }
72 inline void SetTitle(const char* value) { m_title.assign(value); }
73 inline CreateQAppResult& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
74 inline CreateQAppResult& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
75 inline CreateQAppResult& WithTitle(const char* value) { SetTitle(value); return *this;}
77
79
82 inline const Aws::String& GetDescription() const{ return m_description; }
83 inline void SetDescription(const Aws::String& value) { m_description = value; }
84 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
85 inline void SetDescription(const char* value) { m_description.assign(value); }
86 inline CreateQAppResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
87 inline CreateQAppResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
88 inline CreateQAppResult& WithDescription(const char* value) { SetDescription(value); return *this;}
90
92
95 inline const Aws::String& GetInitialPrompt() const{ return m_initialPrompt; }
96 inline void SetInitialPrompt(const Aws::String& value) { m_initialPrompt = value; }
97 inline void SetInitialPrompt(Aws::String&& value) { m_initialPrompt = std::move(value); }
98 inline void SetInitialPrompt(const char* value) { m_initialPrompt.assign(value); }
99 inline CreateQAppResult& WithInitialPrompt(const Aws::String& value) { SetInitialPrompt(value); return *this;}
100 inline CreateQAppResult& WithInitialPrompt(Aws::String&& value) { SetInitialPrompt(std::move(value)); return *this;}
101 inline CreateQAppResult& WithInitialPrompt(const char* value) { SetInitialPrompt(value); return *this;}
103
105
108 inline int GetAppVersion() const{ return m_appVersion; }
109 inline void SetAppVersion(int value) { m_appVersion = value; }
110 inline CreateQAppResult& WithAppVersion(int value) { SetAppVersion(value); return *this;}
112
114
117 inline const AppStatus& GetStatus() const{ return m_status; }
118 inline void SetStatus(const AppStatus& value) { m_status = value; }
119 inline void SetStatus(AppStatus&& value) { m_status = std::move(value); }
120 inline CreateQAppResult& WithStatus(const AppStatus& value) { SetStatus(value); return *this;}
121 inline CreateQAppResult& WithStatus(AppStatus&& value) { SetStatus(std::move(value)); return *this;}
123
125
128 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
129 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
130 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
131 inline CreateQAppResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
132 inline CreateQAppResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
134
136
139 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
140 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
141 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
142 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
143 inline CreateQAppResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
144 inline CreateQAppResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
145 inline CreateQAppResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
147
149
152 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
153 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
154 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
155 inline CreateQAppResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
156 inline CreateQAppResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
158
160
163 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
164 inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; }
165 inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); }
166 inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); }
167 inline CreateQAppResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
168 inline CreateQAppResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
169 inline CreateQAppResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
171
173
177 inline const Aws::Vector<AppRequiredCapability>& GetRequiredCapabilities() const{ return m_requiredCapabilities; }
178 inline void SetRequiredCapabilities(const Aws::Vector<AppRequiredCapability>& value) { m_requiredCapabilities = value; }
179 inline void SetRequiredCapabilities(Aws::Vector<AppRequiredCapability>&& value) { m_requiredCapabilities = std::move(value); }
182 inline CreateQAppResult& AddRequiredCapabilities(const AppRequiredCapability& value) { m_requiredCapabilities.push_back(value); return *this; }
183 inline CreateQAppResult& AddRequiredCapabilities(AppRequiredCapability&& value) { m_requiredCapabilities.push_back(std::move(value)); return *this; }
185
187
188 inline const Aws::String& GetRequestId() const{ return m_requestId; }
189 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
190 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
191 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
192 inline CreateQAppResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
193 inline CreateQAppResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
194 inline CreateQAppResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
196 private:
197
198 Aws::String m_appId;
199
200 Aws::String m_appArn;
201
202 Aws::String m_title;
203
204 Aws::String m_description;
205
206 Aws::String m_initialPrompt;
207
208 int m_appVersion;
209
210 AppStatus m_status;
211
212 Aws::Utils::DateTime m_createdAt;
213
214 Aws::String m_createdBy;
215
216 Aws::Utils::DateTime m_updatedAt;
217
218 Aws::String m_updatedBy;
219
220 Aws::Vector<AppRequiredCapability> m_requiredCapabilities;
221
222 Aws::String m_requestId;
223 };
224
225} // namespace Model
226} // namespace QApps
227} // namespace Aws
void SetCreatedBy(Aws::String &&value)
CreateQAppResult & WithUpdatedBy(const char *value)
void SetRequestId(Aws::String &&value)
void SetInitialPrompt(Aws::String &&value)
void SetAppArn(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
CreateQAppResult & WithInitialPrompt(const Aws::String &value)
CreateQAppResult & WithInitialPrompt(const char *value)
CreateQAppResult & WithTitle(const Aws::String &value)
CreateQAppResult & WithRequestId(const char *value)
const Aws::String & GetTitle() const
void SetTitle(const Aws::String &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
CreateQAppResult & WithAppArn(const char *value)
void SetRequiredCapabilities(const Aws::Vector< AppRequiredCapability > &value)
const Aws::String & GetCreatedBy() const
void SetRequestId(const Aws::String &value)
const Aws::Vector< AppRequiredCapability > & GetRequiredCapabilities() const
void SetInitialPrompt(const char *value)
const Aws::String & GetDescription() const
void SetDescription(const Aws::String &value)
CreateQAppResult & WithInitialPrompt(Aws::String &&value)
CreateQAppResult & WithDescription(Aws::String &&value)
void SetInitialPrompt(const Aws::String &value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetRequiredCapabilities(Aws::Vector< AppRequiredCapability > &&value)
CreateQAppResult & WithAppVersion(int value)
CreateQAppResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
CreateQAppResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetUpdatedBy(const Aws::String &value)
CreateQAppResult & WithRequiredCapabilities(const Aws::Vector< AppRequiredCapability > &value)
CreateQAppResult & WithCreatedBy(const Aws::String &value)
CreateQAppResult & WithAppId(const char *value)
CreateQAppResult & WithDescription(const char *value)
CreateQAppResult & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetAppArn(const Aws::String &value)
CreateQAppResult & WithStatus(const AppStatus &value)
CreateQAppResult & WithTitle(const char *value)
CreateQAppResult & WithUpdatedBy(Aws::String &&value)
CreateQAppResult & WithAppId(Aws::String &&value)
void SetTitle(Aws::String &&value)
void SetCreatedBy(const Aws::String &value)
void SetDescription(const char *value)
CreateQAppResult & WithStatus(AppStatus &&value)
CreateQAppResult & WithDescription(const Aws::String &value)
CreateQAppResult & WithAppId(const Aws::String &value)
const Aws::String & GetInitialPrompt() const
CreateQAppResult & WithCreatedBy(const char *value)
void SetDescription(Aws::String &&value)
void SetAppId(Aws::String &&value)
AWS_QAPPS_API CreateQAppResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateQAppResult & WithAppArn(const Aws::String &value)
CreateQAppResult & WithUpdatedBy(const Aws::String &value)
CreateQAppResult & AddRequiredCapabilities(const AppRequiredCapability &value)
const Aws::String & GetUpdatedBy() const
void SetUpdatedBy(Aws::String &&value)
CreateQAppResult & WithRequiredCapabilities(Aws::Vector< AppRequiredCapability > &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetAppId() const
CreateQAppResult & WithTitle(Aws::String &&value)
AWS_QAPPS_API CreateQAppResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateQAppResult & AddRequiredCapabilities(AppRequiredCapability &&value)
CreateQAppResult & WithRequestId(Aws::String &&value)
void SetStatus(const AppStatus &value)
CreateQAppResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
const AppStatus & GetStatus() const
CreateQAppResult & WithRequestId(const Aws::String &value)
void SetAppId(const Aws::String &value)
const Aws::String & GetAppArn() const
CreateQAppResult & WithCreatedBy(Aws::String &&value)
CreateQAppResult & WithAppArn(Aws::String &&value)
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue