AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
38
39
41
44 inline const Aws::String& GetAppId() const { return m_appId; }
45 template<typename AppIdT = Aws::String>
46 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet = true; m_appId = std::forward<AppIdT>(value); }
47 template<typename AppIdT = Aws::String>
48 GetQAppResult& WithAppId(AppIdT&& value) { SetAppId(std::forward<AppIdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetAppArn() const { return m_appArn; }
56 template<typename AppArnT = Aws::String>
57 void SetAppArn(AppArnT&& value) { m_appArnHasBeenSet = true; m_appArn = std::forward<AppArnT>(value); }
58 template<typename AppArnT = Aws::String>
59 GetQAppResult& WithAppArn(AppArnT&& value) { SetAppArn(std::forward<AppArnT>(value)); return *this;}
61
63
66 inline const Aws::String& GetTitle() const { return m_title; }
67 template<typename TitleT = Aws::String>
68 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
69 template<typename TitleT = Aws::String>
70 GetQAppResult& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
72
74
77 inline const Aws::String& GetDescription() const { return m_description; }
78 template<typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
80 template<typename DescriptionT = Aws::String>
81 GetQAppResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
83
85
88 inline const Aws::String& GetInitialPrompt() const { return m_initialPrompt; }
89 template<typename InitialPromptT = Aws::String>
90 void SetInitialPrompt(InitialPromptT&& value) { m_initialPromptHasBeenSet = true; m_initialPrompt = std::forward<InitialPromptT>(value); }
91 template<typename InitialPromptT = Aws::String>
92 GetQAppResult& WithInitialPrompt(InitialPromptT&& value) { SetInitialPrompt(std::forward<InitialPromptT>(value)); return *this;}
94
96
99 inline int GetAppVersion() const { return m_appVersion; }
100 inline void SetAppVersion(int value) { m_appVersionHasBeenSet = true; m_appVersion = value; }
101 inline GetQAppResult& WithAppVersion(int value) { SetAppVersion(value); return *this;}
103
105
108 inline AppStatus GetStatus() const { return m_status; }
109 inline void SetStatus(AppStatus value) { m_statusHasBeenSet = true; m_status = value; }
110 inline GetQAppResult& WithStatus(AppStatus value) { SetStatus(value); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
118 template<typename CreatedAtT = Aws::Utils::DateTime>
119 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
120 template<typename CreatedAtT = Aws::Utils::DateTime>
121 GetQAppResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
123
125
128 inline const Aws::String& GetCreatedBy() const { return m_createdBy; }
129 template<typename CreatedByT = Aws::String>
130 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
131 template<typename CreatedByT = Aws::String>
132 GetQAppResult& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
134
136
139 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
140 template<typename UpdatedAtT = Aws::Utils::DateTime>
141 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
142 template<typename UpdatedAtT = Aws::Utils::DateTime>
143 GetQAppResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
145
147
150 inline const Aws::String& GetUpdatedBy() const { return m_updatedBy; }
151 template<typename UpdatedByT = Aws::String>
152 void SetUpdatedBy(UpdatedByT&& value) { m_updatedByHasBeenSet = true; m_updatedBy = std::forward<UpdatedByT>(value); }
153 template<typename UpdatedByT = Aws::String>
154 GetQAppResult& WithUpdatedBy(UpdatedByT&& value) { SetUpdatedBy(std::forward<UpdatedByT>(value)); return *this;}
156
158
162 inline const Aws::Vector<AppRequiredCapability>& GetRequiredCapabilities() const { return m_requiredCapabilities; }
163 template<typename RequiredCapabilitiesT = Aws::Vector<AppRequiredCapability>>
164 void SetRequiredCapabilities(RequiredCapabilitiesT&& value) { m_requiredCapabilitiesHasBeenSet = true; m_requiredCapabilities = std::forward<RequiredCapabilitiesT>(value); }
165 template<typename RequiredCapabilitiesT = Aws::Vector<AppRequiredCapability>>
166 GetQAppResult& WithRequiredCapabilities(RequiredCapabilitiesT&& value) { SetRequiredCapabilities(std::forward<RequiredCapabilitiesT>(value)); return *this;}
167 inline GetQAppResult& AddRequiredCapabilities(AppRequiredCapability value) { m_requiredCapabilitiesHasBeenSet = true; m_requiredCapabilities.push_back(value); return *this; }
169
171
174 inline const AppDefinition& GetAppDefinition() const { return m_appDefinition; }
175 template<typename AppDefinitionT = AppDefinition>
176 void SetAppDefinition(AppDefinitionT&& value) { m_appDefinitionHasBeenSet = true; m_appDefinition = std::forward<AppDefinitionT>(value); }
177 template<typename AppDefinitionT = AppDefinition>
178 GetQAppResult& WithAppDefinition(AppDefinitionT&& value) { SetAppDefinition(std::forward<AppDefinitionT>(value)); return *this;}
180
182
183 inline const Aws::String& GetRequestId() const { return m_requestId; }
184 template<typename RequestIdT = Aws::String>
185 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
186 template<typename RequestIdT = Aws::String>
187 GetQAppResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
189 private:
190
191 Aws::String m_appId;
192 bool m_appIdHasBeenSet = false;
193
194 Aws::String m_appArn;
195 bool m_appArnHasBeenSet = false;
196
197 Aws::String m_title;
198 bool m_titleHasBeenSet = false;
199
200 Aws::String m_description;
201 bool m_descriptionHasBeenSet = false;
202
203 Aws::String m_initialPrompt;
204 bool m_initialPromptHasBeenSet = false;
205
206 int m_appVersion{0};
207 bool m_appVersionHasBeenSet = false;
208
210 bool m_statusHasBeenSet = false;
211
212 Aws::Utils::DateTime m_createdAt{};
213 bool m_createdAtHasBeenSet = false;
214
215 Aws::String m_createdBy;
216 bool m_createdByHasBeenSet = false;
217
218 Aws::Utils::DateTime m_updatedAt{};
219 bool m_updatedAtHasBeenSet = false;
220
221 Aws::String m_updatedBy;
222 bool m_updatedByHasBeenSet = false;
223
224 Aws::Vector<AppRequiredCapability> m_requiredCapabilities;
225 bool m_requiredCapabilitiesHasBeenSet = false;
226
227 AppDefinition m_appDefinition;
228 bool m_appDefinitionHasBeenSet = false;
229
230 Aws::String m_requestId;
231 bool m_requestIdHasBeenSet = false;
232 };
233
234} // namespace Model
235} // namespace QApps
236} // namespace Aws
const Aws::Utils::DateTime & GetCreatedAt() const
GetQAppResult & WithUpdatedBy(UpdatedByT &&value)
GetQAppResult & WithRequiredCapabilities(RequiredCapabilitiesT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
GetQAppResult & WithDescription(DescriptionT &&value)
const Aws::Vector< AppRequiredCapability > & GetRequiredCapabilities() const
void SetAppArn(AppArnT &&value)
void SetAppId(AppIdT &&value)
const Aws::String & GetAppId() const
const Aws::String & GetUpdatedBy() const
GetQAppResult & WithCreatedBy(CreatedByT &&value)
GetQAppResult & WithTitle(TitleT &&value)
GetQAppResult & WithUpdatedAt(UpdatedAtT &&value)
GetQAppResult & WithAppArn(AppArnT &&value)
GetQAppResult & AddRequiredCapabilities(AppRequiredCapability value)
const AppDefinition & GetAppDefinition() const
void SetRequiredCapabilities(RequiredCapabilitiesT &&value)
const Aws::String & GetCreatedBy() const
const Aws::String & GetAppArn() const
GetQAppResult & WithAppVersion(int value)
const Aws::String & GetDescription() const
void SetCreatedBy(CreatedByT &&value)
void SetRequestId(RequestIdT &&value)
GetQAppResult & WithCreatedAt(CreatedAtT &&value)
void SetStatus(AppStatus value)
void SetInitialPrompt(InitialPromptT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetTitle() const
GetQAppResult & WithInitialPrompt(InitialPromptT &&value)
const Aws::String & GetInitialPrompt() const
GetQAppResult & WithAppId(AppIdT &&value)
AWS_QAPPS_API GetQAppResult()=default
void SetTitle(TitleT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
void SetDescription(DescriptionT &&value)
void SetUpdatedBy(UpdatedByT &&value)
void SetAppDefinition(AppDefinitionT &&value)
GetQAppResult & WithRequestId(RequestIdT &&value)
GetQAppResult & WithAppDefinition(AppDefinitionT &&value)
AWS_QAPPS_API GetQAppResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetQAppResult & WithStatus(AppStatus value)
void SetCreatedAt(CreatedAtT &&value)
AWS_QAPPS_API GetQAppResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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