AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
CreateAppVersionResourceResult.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/PhysicalResource.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 CreateAppVersionResourceResult() = 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
77 inline const PhysicalResource& GetPhysicalResource() const { return m_physicalResource; }
78 template <typename PhysicalResourceT = PhysicalResource>
79 void SetPhysicalResource(PhysicalResourceT&& value) {
80 m_physicalResourceHasBeenSet = true;
81 m_physicalResource = std::forward<PhysicalResourceT>(value);
82 }
83 template <typename PhysicalResourceT = PhysicalResource>
85 SetPhysicalResource(std::forward<PhysicalResourceT>(value));
86 return *this;
87 }
89
91
92 inline const Aws::String& GetRequestId() const { return m_requestId; }
93 template <typename RequestIdT = Aws::String>
94 void SetRequestId(RequestIdT&& value) {
95 m_requestIdHasBeenSet = true;
96 m_requestId = std::forward<RequestIdT>(value);
97 }
98 template <typename RequestIdT = Aws::String>
100 SetRequestId(std::forward<RequestIdT>(value));
101 return *this;
102 }
104 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
105
106 private:
107 Aws::String m_appArn;
108
109 Aws::String m_appVersion;
110
111 PhysicalResource m_physicalResource;
112
113 Aws::String m_requestId;
114 Aws::Http::HttpResponseCode m_HttpResponseCode;
115 bool m_appArnHasBeenSet = false;
116 bool m_appVersionHasBeenSet = false;
117 bool m_physicalResourceHasBeenSet = false;
118 bool m_requestIdHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace ResilienceHub
123} // namespace Aws
CreateAppVersionResourceResult & WithPhysicalResource(PhysicalResourceT &&value)
AWS_RESILIENCEHUB_API CreateAppVersionResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_RESILIENCEHUB_API CreateAppVersionResourceResult()=default
CreateAppVersionResourceResult & WithAppVersion(AppVersionT &&value)
AWS_RESILIENCEHUB_API CreateAppVersionResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAppVersionResourceResult & WithAppArn(AppArnT &&value)
CreateAppVersionResourceResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue