AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
37
38
40
43 inline const Aws::String& GetAppId() const { return m_appId; }
44 template<typename AppIdT = Aws::String>
45 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet = true; m_appId = std::forward<AppIdT>(value); }
46 template<typename AppIdT = Aws::String>
47 CreateQAppResult& WithAppId(AppIdT&& value) { SetAppId(std::forward<AppIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetAppArn() const { return m_appArn; }
55 template<typename AppArnT = Aws::String>
56 void SetAppArn(AppArnT&& value) { m_appArnHasBeenSet = true; m_appArn = std::forward<AppArnT>(value); }
57 template<typename AppArnT = Aws::String>
58 CreateQAppResult& WithAppArn(AppArnT&& value) { SetAppArn(std::forward<AppArnT>(value)); return *this;}
60
62
65 inline const Aws::String& GetTitle() const { return m_title; }
66 template<typename TitleT = Aws::String>
67 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
68 template<typename TitleT = Aws::String>
69 CreateQAppResult& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
71
73
76 inline const Aws::String& GetDescription() const { return m_description; }
77 template<typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
79 template<typename DescriptionT = Aws::String>
80 CreateQAppResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
82
84
87 inline const Aws::String& GetInitialPrompt() const { return m_initialPrompt; }
88 template<typename InitialPromptT = Aws::String>
89 void SetInitialPrompt(InitialPromptT&& value) { m_initialPromptHasBeenSet = true; m_initialPrompt = std::forward<InitialPromptT>(value); }
90 template<typename InitialPromptT = Aws::String>
91 CreateQAppResult& WithInitialPrompt(InitialPromptT&& value) { SetInitialPrompt(std::forward<InitialPromptT>(value)); return *this;}
93
95
98 inline int GetAppVersion() const { return m_appVersion; }
99 inline void SetAppVersion(int value) { m_appVersionHasBeenSet = true; m_appVersion = value; }
100 inline CreateQAppResult& WithAppVersion(int value) { SetAppVersion(value); return *this;}
102
104
107 inline AppStatus GetStatus() const { return m_status; }
108 inline void SetStatus(AppStatus value) { m_statusHasBeenSet = true; m_status = value; }
109 inline CreateQAppResult& WithStatus(AppStatus value) { SetStatus(value); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
117 template<typename CreatedAtT = Aws::Utils::DateTime>
118 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
119 template<typename CreatedAtT = Aws::Utils::DateTime>
120 CreateQAppResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
122
124
127 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
128 template<typename CreatedByT = Aws::String>
129 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
130 template<typename CreatedByT = Aws::String>
131 CreateQAppResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
133
135
138 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
139 template<typename UpdatedAtT = Aws::Utils::DateTime>
140 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
141 template<typename UpdatedAtT = Aws::Utils::DateTime>
142 CreateQAppResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
144
146
149 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
150 template<typename UpdatedByT = Aws::String>
151 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::forward<UpdatedByT>(value); }
152 template<typename UpdatedByT = Aws::String>
153 CreateQAppResult& WithUpdatedBy(UpdatedByT&& value) { SetUpdatedBy(std::forward<UpdatedByT>(value)); return *this;}
155
157
161 inline const Aws::Vector<AppRequiredCapability>& GetRequiredCapabilities() const { return m_requiredCapabilities; }
162 template<typename RequiredCapabilitiesT = Aws::Vector<AppRequiredCapability>>
163 void SetRequiredCapabilities(RequiredCapabilitiesT&& value) { m_requiredCapabilitiesHasBeenSet = true; m_requiredCapabilities = std::forward<RequiredCapabilitiesT>(value); }
164 template<typename RequiredCapabilitiesT = Aws::Vector<AppRequiredCapability>>
165 CreateQAppResult& WithRequiredCapabilities(RequiredCapabilitiesT&& value) { SetRequiredCapabilities(std::forward<RequiredCapabilitiesT>(value)); return *this;}
166 inline CreateQAppResult& AddRequiredCapabilities(AppRequiredCapability value) { m_requiredCapabilitiesHasBeenSet = true; m_requiredCapabilities.push_back(value); return *this; }
168
170
171 inline const Aws::String& GetRequestId() const { return m_requestId; }
172 template<typename RequestIdT = Aws::String>
173 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
174 template<typename RequestIdT = Aws::String>
175 CreateQAppResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
177 private:
178
179 Aws::String m_appId;
180 bool m_appIdHasBeenSet = false;
181
182 Aws::String m_appArn;
183 bool m_appArnHasBeenSet = false;
184
185 Aws::String m_title;
186 bool m_titleHasBeenSet = false;
187
188 Aws::String m_description;
189 bool m_descriptionHasBeenSet = false;
190
191 Aws::String m_initialPrompt;
192 bool m_initialPromptHasBeenSet = false;
193
194 int m_appVersion{0};
195 bool m_appVersionHasBeenSet = false;
196
198 bool m_statusHasBeenSet = false;
199
200 Aws::Utils::DateTime m_createdAt{};
201 bool m_createdAtHasBeenSet = false;
202
203 Aws::String m_createdBy;
204 bool m_createdByHasBeenSet = false;
205
206 Aws::Utils::DateTime m_updatedAt{};
207 bool m_updatedAtHasBeenSet = false;
208
209 Aws::String m_updatedBy;
210 bool m_updatedByHasBeenSet = false;
211
212 Aws::Vector<AppRequiredCapability> m_requiredCapabilities;
213 bool m_requiredCapabilitiesHasBeenSet = false;
214
215 Aws::String m_requestId;
216 bool m_requestIdHasBeenSet = false;
217 };
218
219} // namespace Model
220} // namespace QApps
221} // namespace Aws
void SetCreatedAt(CreatedAtT &&value)
CreateQAppResult & WithStatus(AppStatus value)
CreateQAppResult & WithTitle(TitleT &&value)
const Aws::String & GetTitle() const
const Aws::String & GetCreatedBy() const
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::Vector< AppRequiredCapability > & GetRequiredCapabilities() const
void SetRequiredCapabilities(RequiredCapabilitiesT &&value)
const Aws::String & GetDescription() const
CreateQAppResult & WithAppVersion(int value)
CreateQAppResult & WithCreatedBy(CreatedByT &&value)
void SetDescription(DescriptionT &&value)
CreateQAppResult & WithCreatedAt(CreatedAtT &&value)
void SetCreatedBy(CreatedByT &&value)
CreateQAppResult & WithUpdatedAt(UpdatedAtT &&value)
CreateQAppResult & WithDescription(DescriptionT &&value)
void SetInitialPrompt(InitialPromptT &&value)
CreateQAppResult & WithAppId(AppIdT &&value)
const Aws::String & GetInitialPrompt() const
CreateQAppResult & WithRequiredCapabilities(RequiredCapabilitiesT &&value)
void SetUpdatedBy(UpdatedByT &&value)
CreateQAppResult & WithInitialPrompt(InitialPromptT &&value)
AWS_QAPPS_API CreateQAppResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetUpdatedBy() const
CreateQAppResult & WithUpdatedBy(UpdatedByT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetAppId() const
CreateQAppResult & AddRequiredCapabilities(AppRequiredCapability value)
AWS_QAPPS_API CreateQAppResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateQAppResult & WithAppArn(AppArnT &&value)
AWS_QAPPS_API CreateQAppResult()=default
const Aws::String & GetAppArn() const
void SetRequestId(RequestIdT &&value)
CreateQAppResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
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