AWS SDK for C++

AWS SDK for C++ Version 1.11.760

Loading...
Searching...
No Matches
ResolveAppVersionResourcesResult.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#include <aws/resiliencehub/model/ResourceResolutionStatusType.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace ResilienceHub {
24namespace Model {
26 public:
27 AWS_RESILIENCEHUB_API ResolveAppVersionResourcesResult() = default;
30
32
41 inline const Aws::String& GetAppArn() const { return m_appArn; }
42 template <typename AppArnT = Aws::String>
43 void SetAppArn(AppArnT&& value) {
44 m_appArnHasBeenSet = true;
45 m_appArn = std::forward<AppArnT>(value);
46 }
47 template <typename AppArnT = Aws::String>
49 SetAppArn(std::forward<AppArnT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetAppVersion() const { return m_appVersion; }
59 template <typename AppVersionT = Aws::String>
60 void SetAppVersion(AppVersionT&& value) {
61 m_appVersionHasBeenSet = true;
62 m_appVersion = std::forward<AppVersionT>(value);
63 }
64 template <typename AppVersionT = Aws::String>
66 SetAppVersion(std::forward<AppVersionT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetResolutionId() const { return m_resolutionId; }
76 template <typename ResolutionIdT = Aws::String>
77 void SetResolutionId(ResolutionIdT&& value) {
78 m_resolutionIdHasBeenSet = true;
79 m_resolutionId = std::forward<ResolutionIdT>(value);
80 }
81 template <typename ResolutionIdT = Aws::String>
83 SetResolutionId(std::forward<ResolutionIdT>(value));
84 return *this;
85 }
87
89
92 inline ResourceResolutionStatusType GetStatus() const { return m_status; }
94 m_statusHasBeenSet = true;
95 m_status = value;
96 }
98 SetStatus(value);
99 return *this;
100 }
102
104
105 inline const Aws::String& GetRequestId() const { return m_requestId; }
106 template <typename RequestIdT = Aws::String>
107 void SetRequestId(RequestIdT&& value) {
108 m_requestIdHasBeenSet = true;
109 m_requestId = std::forward<RequestIdT>(value);
110 }
111 template <typename RequestIdT = Aws::String>
113 SetRequestId(std::forward<RequestIdT>(value));
114 return *this;
115 }
117 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
118
119 private:
120 Aws::String m_appArn;
121
122 Aws::String m_appVersion;
123
124 Aws::String m_resolutionId;
125
127
128 Aws::String m_requestId;
129 Aws::Http::HttpResponseCode m_HttpResponseCode;
130 bool m_appArnHasBeenSet = false;
131 bool m_appVersionHasBeenSet = false;
132 bool m_resolutionIdHasBeenSet = false;
133 bool m_statusHasBeenSet = false;
134 bool m_requestIdHasBeenSet = false;
135};
136
137} // namespace Model
138} // namespace ResilienceHub
139} // namespace Aws
ResolveAppVersionResourcesResult & WithAppArn(AppArnT &&value)
ResolveAppVersionResourcesResult & WithStatus(ResourceResolutionStatusType value)
AWS_RESILIENCEHUB_API ResolveAppVersionResourcesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ResolveAppVersionResourcesResult & WithRequestId(RequestIdT &&value)
ResolveAppVersionResourcesResult & WithAppVersion(AppVersionT &&value)
ResolveAppVersionResourcesResult & WithResolutionId(ResolutionIdT &&value)
AWS_RESILIENCEHUB_API ResolveAppVersionResourcesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_RESILIENCEHUB_API ResolveAppVersionResourcesResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue