AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
PublishAppVersionResult.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 PublishAppVersionResult() = 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
57 inline const Aws::String& GetAppVersion() const { return m_appVersion; }
58 template <typename AppVersionT = Aws::String>
59 void SetAppVersion(AppVersionT&& value) {
60 m_appVersionHasBeenSet = true;
61 m_appVersion = std::forward<AppVersionT>(value);
62 }
63 template <typename AppVersionT = Aws::String>
65 SetAppVersion(std::forward<AppVersionT>(value));
66 return *this;
67 }
69
71
74 inline long long GetIdentifier() const { return m_identifier; }
75 inline void SetIdentifier(long long value) {
76 m_identifierHasBeenSet = true;
77 m_identifier = value;
78 }
79 inline PublishAppVersionResult& WithIdentifier(long long value) {
80 SetIdentifier(value);
81 return *this;
82 }
84
86
89 inline const Aws::String& GetVersionName() const { return m_versionName; }
90 template <typename VersionNameT = Aws::String>
91 void SetVersionName(VersionNameT&& value) {
92 m_versionNameHasBeenSet = true;
93 m_versionName = std::forward<VersionNameT>(value);
94 }
95 template <typename VersionNameT = Aws::String>
97 SetVersionName(std::forward<VersionNameT>(value));
98 return *this;
99 }
101
103
104 inline const Aws::String& GetRequestId() const { return m_requestId; }
105 template <typename RequestIdT = Aws::String>
106 void SetRequestId(RequestIdT&& value) {
107 m_requestIdHasBeenSet = true;
108 m_requestId = std::forward<RequestIdT>(value);
109 }
110 template <typename RequestIdT = Aws::String>
112 SetRequestId(std::forward<RequestIdT>(value));
113 return *this;
114 }
116 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
117
118 private:
119 Aws::String m_appArn;
120
121 Aws::String m_appVersion;
122
123 long long m_identifier{0};
124
125 Aws::String m_versionName;
126
127 Aws::String m_requestId;
128 Aws::Http::HttpResponseCode m_HttpResponseCode;
129 bool m_appArnHasBeenSet = false;
130 bool m_appVersionHasBeenSet = false;
131 bool m_identifierHasBeenSet = false;
132 bool m_versionNameHasBeenSet = false;
133 bool m_requestIdHasBeenSet = false;
134};
135
136} // namespace Model
137} // namespace ResilienceHub
138} // namespace Aws
PublishAppVersionResult & WithAppArn(AppArnT &&value)
AWS_RESILIENCEHUB_API PublishAppVersionResult()=default
PublishAppVersionResult & WithRequestId(RequestIdT &&value)
PublishAppVersionResult & WithAppVersion(AppVersionT &&value)
PublishAppVersionResult & WithVersionName(VersionNameT &&value)
PublishAppVersionResult & WithIdentifier(long long value)
AWS_RESILIENCEHUB_API PublishAppVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_RESILIENCEHUB_API PublishAppVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue