AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
UpdateAppVersionResourceResult.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/PhysicalResource.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 UpdateAppVersionResourceResult() = 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
76 inline const PhysicalResource& GetPhysicalResource() const { return m_physicalResource; }
77 template <typename PhysicalResourceT = PhysicalResource>
78 void SetPhysicalResource(PhysicalResourceT&& value) {
79 m_physicalResourceHasBeenSet = true;
80 m_physicalResource = std::forward<PhysicalResourceT>(value);
81 }
82 template <typename PhysicalResourceT = PhysicalResource>
84 SetPhysicalResource(std::forward<PhysicalResourceT>(value));
85 return *this;
86 }
88
90
91 inline const Aws::String& GetRequestId() const { return m_requestId; }
92 template <typename RequestIdT = Aws::String>
93 void SetRequestId(RequestIdT&& value) {
94 m_requestIdHasBeenSet = true;
95 m_requestId = std::forward<RequestIdT>(value);
96 }
97 template <typename RequestIdT = Aws::String>
99 SetRequestId(std::forward<RequestIdT>(value));
100 return *this;
101 }
103 private:
104 Aws::String m_appArn;
105
106 Aws::String m_appVersion;
107
108 PhysicalResource m_physicalResource;
109
110 Aws::String m_requestId;
111 bool m_appArnHasBeenSet = false;
112 bool m_appVersionHasBeenSet = false;
113 bool m_physicalResourceHasBeenSet = false;
114 bool m_requestIdHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace ResilienceHub
119} // namespace Aws
UpdateAppVersionResourceResult & WithAppVersion(AppVersionT &&value)
UpdateAppVersionResourceResult & WithPhysicalResource(PhysicalResourceT &&value)
UpdateAppVersionResourceResult & WithAppArn(AppArnT &&value)
UpdateAppVersionResourceResult & WithRequestId(RequestIdT &&value)
AWS_RESILIENCEHUB_API UpdateAppVersionResourceResult()=default
AWS_RESILIENCEHUB_API UpdateAppVersionResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_RESILIENCEHUB_API UpdateAppVersionResourceResult & 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