AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
ResolveAppVersionResourcesResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
9#include <aws/resiliencehub/model/ResourceResolutionStatusType.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 ResolveAppVersionResourcesResult() = 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 const Aws::String& GetResolutionId() const { return m_resolutionId; }
75 template <typename ResolutionIdT = Aws::String>
76 void SetResolutionId(ResolutionIdT&& value) {
77 m_resolutionIdHasBeenSet = true;
78 m_resolutionId = std::forward<ResolutionIdT>(value);
79 }
80 template <typename ResolutionIdT = Aws::String>
82 SetResolutionId(std::forward<ResolutionIdT>(value));
83 return *this;
84 }
86
88
91 inline ResourceResolutionStatusType GetStatus() const { return m_status; }
93 m_statusHasBeenSet = true;
94 m_status = value;
95 }
97 SetStatus(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 private:
117 Aws::String m_appArn;
118
119 Aws::String m_appVersion;
120
121 Aws::String m_resolutionId;
122
124
125 Aws::String m_requestId;
126 bool m_appArnHasBeenSet = false;
127 bool m_appVersionHasBeenSet = false;
128 bool m_resolutionIdHasBeenSet = false;
129 bool m_statusHasBeenSet = false;
130 bool m_requestIdHasBeenSet = false;
131};
132
133} // namespace Model
134} // namespace ResilienceHub
135} // 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