AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
PublishAppVersionResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace ResilienceHub {
22namespace Model {
24 public:
25 AWS_RESILIENCEHUB_API PublishAppVersionResult() = default;
28
30
39 inline const Aws::String& GetAppArn() const { return m_appArn; }
40 template <typename AppArnT = Aws::String>
41 void SetAppArn(AppArnT&& value) {
42 m_appArnHasBeenSet = true;
43 m_appArn = std::forward<AppArnT>(value);
44 }
45 template <typename AppArnT = Aws::String>
47 SetAppArn(std::forward<AppArnT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetAppVersion() const { return m_appVersion; }
57 template <typename AppVersionT = Aws::String>
58 void SetAppVersion(AppVersionT&& value) {
59 m_appVersionHasBeenSet = true;
60 m_appVersion = std::forward<AppVersionT>(value);
61 }
62 template <typename AppVersionT = Aws::String>
64 SetAppVersion(std::forward<AppVersionT>(value));
65 return *this;
66 }
68
70
73 inline long long GetIdentifier() const { return m_identifier; }
74 inline void SetIdentifier(long long value) {
75 m_identifierHasBeenSet = true;
76 m_identifier = value;
77 }
78 inline PublishAppVersionResult& WithIdentifier(long long value) {
79 SetIdentifier(value);
80 return *this;
81 }
83
85
88 inline const Aws::String& GetVersionName() const { return m_versionName; }
89 template <typename VersionNameT = Aws::String>
90 void SetVersionName(VersionNameT&& value) {
91 m_versionNameHasBeenSet = true;
92 m_versionName = std::forward<VersionNameT>(value);
93 }
94 template <typename VersionNameT = Aws::String>
96 SetVersionName(std::forward<VersionNameT>(value));
97 return *this;
98 }
100
102
103 inline const Aws::String& GetRequestId() const { return m_requestId; }
104 template <typename RequestIdT = Aws::String>
105 void SetRequestId(RequestIdT&& value) {
106 m_requestIdHasBeenSet = true;
107 m_requestId = std::forward<RequestIdT>(value);
108 }
109 template <typename RequestIdT = Aws::String>
111 SetRequestId(std::forward<RequestIdT>(value));
112 return *this;
113 }
115 private:
116 Aws::String m_appArn;
117
118 Aws::String m_appVersion;
119
120 long long m_identifier{0};
121
122 Aws::String m_versionName;
123
124 Aws::String m_requestId;
125 bool m_appArnHasBeenSet = false;
126 bool m_appVersionHasBeenSet = false;
127 bool m_identifierHasBeenSet = false;
128 bool m_versionNameHasBeenSet = false;
129 bool m_requestIdHasBeenSet = false;
130};
131
132} // namespace Model
133} // namespace ResilienceHub
134} // 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