AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateQAppResult.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 UpdateQAppResult();
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 UpdateQAppResult& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
48 inline UpdateQAppResult& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
49 inline UpdateQAppResult& 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 UpdateQAppResult& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
61 inline UpdateQAppResult& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
62 inline UpdateQAppResult& 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 UpdateQAppResult& WithTitle(const Aws::String& value) { SetTitle(value); return *this;}
74 inline UpdateQAppResult& WithTitle(Aws::String&& value) { SetTitle(std::move(value)); return *this;}
75 inline UpdateQAppResult& 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 UpdateQAppResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
87 inline UpdateQAppResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
88 inline UpdateQAppResult& 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 UpdateQAppResult& WithInitialPrompt(const Aws::String& value) { SetInitialPrompt(value); return *this;}
100 inline UpdateQAppResult& WithInitialPrompt(Aws::String&& value) { SetInitialPrompt(std::move(value)); return *this;}
101 inline UpdateQAppResult& 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 UpdateQAppResult& 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 UpdateQAppResult& WithStatus(const AppStatus& value) { SetStatus(value); return *this;}
121 inline UpdateQAppResult& 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 UpdateQAppResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
132 inline UpdateQAppResult& 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 UpdateQAppResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
144 inline UpdateQAppResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
145 inline UpdateQAppResult& 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 UpdateQAppResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
156 inline UpdateQAppResult& 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 UpdateQAppResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
168 inline UpdateQAppResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
169 inline UpdateQAppResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
171
173
176 inline const Aws::Vector<AppRequiredCapability>& GetRequiredCapabilities() const{ return m_requiredCapabilities; }
177 inline void SetRequiredCapabilities(const Aws::Vector<AppRequiredCapability>& value) { m_requiredCapabilities = value; }
178 inline void SetRequiredCapabilities(Aws::Vector<AppRequiredCapability>&& value) { m_requiredCapabilities = std::move(value); }
181 inline UpdateQAppResult& AddRequiredCapabilities(const AppRequiredCapability& value) { m_requiredCapabilities.push_back(value); return *this; }
182 inline UpdateQAppResult& AddRequiredCapabilities(AppRequiredCapability&& value) { m_requiredCapabilities.push_back(std::move(value)); return *this; }
184
186
187 inline const Aws::String& GetRequestId() const{ return m_requestId; }
188 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
189 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
190 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
191 inline UpdateQAppResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
192 inline UpdateQAppResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
193 inline UpdateQAppResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
195 private:
196
197 Aws::String m_appId;
198
199 Aws::String m_appArn;
200
201 Aws::String m_title;
202
203 Aws::String m_description;
204
205 Aws::String m_initialPrompt;
206
207 int m_appVersion;
208
209 AppStatus m_status;
210
211 Aws::Utils::DateTime m_createdAt;
212
213 Aws::String m_createdBy;
214
215 Aws::Utils::DateTime m_updatedAt;
216
217 Aws::String m_updatedBy;
218
219 Aws::Vector<AppRequiredCapability> m_requiredCapabilities;
220
221 Aws::String m_requestId;
222 };
223
224} // namespace Model
225} // namespace QApps
226} // namespace Aws
void SetCreatedBy(Aws::String &&value)
UpdateQAppResult & WithRequestId(const Aws::String &value)
UpdateQAppResult & WithAppId(const char *value)
UpdateQAppResult & WithStatus(AppStatus &&value)
UpdateQAppResult & WithRequestId(Aws::String &&value)
UpdateQAppResult & WithInitialPrompt(Aws::String &&value)
UpdateQAppResult & WithAppArn(const char *value)
void SetDescription(const char *value)
UpdateQAppResult & AddRequiredCapabilities(AppRequiredCapability &&value)
UpdateQAppResult & WithRequestId(const char *value)
void SetCreatedBy(const Aws::String &value)
AWS_QAPPS_API UpdateQAppResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateQAppResult & WithCreatedBy(const Aws::String &value)
AWS_QAPPS_API UpdateQAppResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(Aws::String &&value)
void SetInitialPrompt(const Aws::String &value)
UpdateQAppResult & WithAppArn(const Aws::String &value)
UpdateQAppResult & WithAppId(const Aws::String &value)
const AppStatus & GetStatus() const
void SetRequestId(const Aws::String &value)
void SetStatus(const AppStatus &value)
UpdateQAppResult & WithCreatedBy(const char *value)
UpdateQAppResult & WithStatus(const AppStatus &value)
void SetAppId(const Aws::String &value)
void SetUpdatedBy(Aws::String &&value)
UpdateQAppResult & WithTitle(Aws::String &&value)
UpdateQAppResult & WithInitialPrompt(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetAppArn() const
void SetTitle(const Aws::String &value)
UpdateQAppResult & WithDescription(Aws::String &&value)
void SetRequiredCapabilities(const Aws::Vector< AppRequiredCapability > &value)
void SetAppArn(const Aws::String &value)
const Aws::String & GetRequestId() const
UpdateQAppResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
UpdateQAppResult & WithDescription(const char *value)
UpdateQAppResult & WithRequiredCapabilities(Aws::Vector< AppRequiredCapability > &&value)
UpdateQAppResult & WithUpdatedBy(const Aws::String &value)
void SetDescription(Aws::String &&value)
UpdateQAppResult & WithRequiredCapabilities(const Aws::Vector< AppRequiredCapability > &value)
const Aws::String & GetTitle() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetCreatedBy() const
void SetAppArn(Aws::String &&value)
const Aws::String & GetDescription() const
const Aws::String & GetUpdatedBy() const
const Aws::String & GetAppId() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetDescription(const Aws::String &value)
UpdateQAppResult & WithTitle(const Aws::String &value)
void SetTitle(Aws::String &&value)
UpdateQAppResult & WithAppArn(Aws::String &&value)
UpdateQAppResult & AddRequiredCapabilities(const AppRequiredCapability &value)
const Aws::Vector< AppRequiredCapability > & GetRequiredCapabilities() const
void SetUpdatedBy(const Aws::String &value)
void SetInitialPrompt(const char *value)
UpdateQAppResult & WithCreatedAt(Aws::Utils::DateTime &&value)
UpdateQAppResult & WithAppId(Aws::String &&value)
UpdateQAppResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
UpdateQAppResult & WithUpdatedBy(const char *value)
void SetAppId(Aws::String &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
UpdateQAppResult & WithUpdatedBy(Aws::String &&value)
UpdateQAppResult & WithInitialPrompt(const char *value)
UpdateQAppResult & WithCreatedBy(Aws::String &&value)
void SetRequiredCapabilities(Aws::Vector< AppRequiredCapability > &&value)
const Aws::String & GetInitialPrompt() const
UpdateQAppResult & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetInitialPrompt(Aws::String &&value)
UpdateQAppResult & WithTitle(const char *value)
UpdateQAppResult & WithDescription(const Aws::String &value)
UpdateQAppResult & WithAppVersion(int 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