AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateAppVersionResourceResult.h
1
6#pragma once
7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehub/model/PhysicalResource.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace ResilienceHub
25{
26namespace Model
27{
29 {
30 public:
31 AWS_RESILIENCEHUB_API CreateAppVersionResourceResult() = default;
34
35
37
46 inline const Aws::String& GetAppArn() const { return m_appArn; }
47 template<typename AppArnT = Aws::String>
48 void SetAppArn(AppArnT&& value) { m_appArnHasBeenSet = true; m_appArn = std::forward<AppArnT>(value); }
49 template<typename AppArnT = Aws::String>
50 CreateAppVersionResourceResult& WithAppArn(AppArnT&& value) { SetAppArn(std::forward<AppArnT>(value)); return *this;}
52
54
57 inline const Aws::String& GetAppVersion() const { return m_appVersion; }
58 template<typename AppVersionT = Aws::String>
59 void SetAppVersion(AppVersionT&& value) { m_appVersionHasBeenSet = true; m_appVersion = std::forward<AppVersionT>(value); }
60 template<typename AppVersionT = Aws::String>
61 CreateAppVersionResourceResult& WithAppVersion(AppVersionT&& value) { SetAppVersion(std::forward<AppVersionT>(value)); return *this;}
63
65
70 inline const PhysicalResource& GetPhysicalResource() const { return m_physicalResource; }
71 template<typename PhysicalResourceT = PhysicalResource>
72 void SetPhysicalResource(PhysicalResourceT&& value) { m_physicalResourceHasBeenSet = true; m_physicalResource = std::forward<PhysicalResourceT>(value); }
73 template<typename PhysicalResourceT = PhysicalResource>
74 CreateAppVersionResourceResult& WithPhysicalResource(PhysicalResourceT&& value) { SetPhysicalResource(std::forward<PhysicalResourceT>(value)); return *this;}
76
78
79 inline const Aws::String& GetRequestId() const { return m_requestId; }
80 template<typename RequestIdT = Aws::String>
81 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
82 template<typename RequestIdT = Aws::String>
83 CreateAppVersionResourceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
85 private:
86
87 Aws::String m_appArn;
88 bool m_appArnHasBeenSet = false;
89
90 Aws::String m_appVersion;
91 bool m_appVersionHasBeenSet = false;
92
93 PhysicalResource m_physicalResource;
94 bool m_physicalResourceHasBeenSet = false;
95
96 Aws::String m_requestId;
97 bool m_requestIdHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace ResilienceHub
102} // 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