AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
DescribeAppVersionTemplateResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace ResilienceHub {
23namespace Model {
25 public:
26 AWS_RESILIENCEHUB_API DescribeAppVersionTemplateResult() = default;
29
31
40 inline const Aws::String& GetAppArn() const { return m_appArn; }
41 template <typename AppArnT = Aws::String>
42 void SetAppArn(AppArnT&& value) {
43 m_appArnHasBeenSet = true;
44 m_appArn = std::forward<AppArnT>(value);
45 }
46 template <typename AppArnT = Aws::String>
48 SetAppArn(std::forward<AppArnT>(value));
49 return *this;
50 }
52
54
142 inline const Aws::String& GetAppTemplateBody() const { return m_appTemplateBody; }
143 template <typename AppTemplateBodyT = Aws::String>
144 void SetAppTemplateBody(AppTemplateBodyT&& value) {
145 m_appTemplateBodyHasBeenSet = true;
146 m_appTemplateBody = std::forward<AppTemplateBodyT>(value);
147 }
148 template <typename AppTemplateBodyT = Aws::String>
150 SetAppTemplateBody(std::forward<AppTemplateBodyT>(value));
151 return *this;
152 }
154
156
159 inline const Aws::String& GetAppVersion() const { return m_appVersion; }
160 template <typename AppVersionT = Aws::String>
161 void SetAppVersion(AppVersionT&& value) {
162 m_appVersionHasBeenSet = true;
163 m_appVersion = std::forward<AppVersionT>(value);
164 }
165 template <typename AppVersionT = Aws::String>
167 SetAppVersion(std::forward<AppVersionT>(value));
168 return *this;
169 }
171
173
174 inline const Aws::String& GetRequestId() const { return m_requestId; }
175 template <typename RequestIdT = Aws::String>
176 void SetRequestId(RequestIdT&& value) {
177 m_requestIdHasBeenSet = true;
178 m_requestId = std::forward<RequestIdT>(value);
179 }
180 template <typename RequestIdT = Aws::String>
182 SetRequestId(std::forward<RequestIdT>(value));
183 return *this;
184 }
186 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
187
188 private:
189 Aws::String m_appArn;
190
191 Aws::String m_appTemplateBody;
192
193 Aws::String m_appVersion;
194
195 Aws::String m_requestId;
196 Aws::Http::HttpResponseCode m_HttpResponseCode;
197 bool m_appArnHasBeenSet = false;
198 bool m_appTemplateBodyHasBeenSet = false;
199 bool m_appVersionHasBeenSet = false;
200 bool m_requestIdHasBeenSet = false;
201};
202
203} // namespace Model
204} // namespace ResilienceHub
205} // namespace Aws
AWS_RESILIENCEHUB_API DescribeAppVersionTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAppVersionTemplateResult & WithAppTemplateBody(AppTemplateBodyT &&value)
AWS_RESILIENCEHUB_API DescribeAppVersionTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_RESILIENCEHUB_API DescribeAppVersionTemplateResult()=default
DescribeAppVersionTemplateResult & WithRequestId(RequestIdT &&value)
DescribeAppVersionTemplateResult & WithAppVersion(AppVersionT &&value)
DescribeAppVersionTemplateResult & WithAppArn(AppArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue