AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAppVersionResourceResult.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 UpdateAppVersionResourceResult();
34
35
37
46 inline const Aws::String& GetAppArn() const{ return m_appArn; }
47 inline void SetAppArn(const Aws::String& value) { m_appArn = value; }
48 inline void SetAppArn(Aws::String&& value) { m_appArn = std::move(value); }
49 inline void SetAppArn(const char* value) { m_appArn.assign(value); }
50 inline UpdateAppVersionResourceResult& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
51 inline UpdateAppVersionResourceResult& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
52 inline UpdateAppVersionResourceResult& WithAppArn(const char* value) { SetAppArn(value); return *this;}
54
56
59 inline const Aws::String& GetAppVersion() const{ return m_appVersion; }
60 inline void SetAppVersion(const Aws::String& value) { m_appVersion = value; }
61 inline void SetAppVersion(Aws::String&& value) { m_appVersion = std::move(value); }
62 inline void SetAppVersion(const char* value) { m_appVersion.assign(value); }
63 inline UpdateAppVersionResourceResult& WithAppVersion(const Aws::String& value) { SetAppVersion(value); return *this;}
64 inline UpdateAppVersionResourceResult& WithAppVersion(Aws::String&& value) { SetAppVersion(std::move(value)); return *this;}
65 inline UpdateAppVersionResourceResult& WithAppVersion(const char* value) { SetAppVersion(value); return *this;}
67
69
74 inline const PhysicalResource& GetPhysicalResource() const{ return m_physicalResource; }
75 inline void SetPhysicalResource(const PhysicalResource& value) { m_physicalResource = value; }
76 inline void SetPhysicalResource(PhysicalResource&& value) { m_physicalResource = std::move(value); }
80
82
83 inline const Aws::String& GetRequestId() const{ return m_requestId; }
84 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
85 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
86 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
87 inline UpdateAppVersionResourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
88 inline UpdateAppVersionResourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
89 inline UpdateAppVersionResourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
91 private:
92
93 Aws::String m_appArn;
94
95 Aws::String m_appVersion;
96
97 PhysicalResource m_physicalResource;
98
99 Aws::String m_requestId;
100 };
101
102} // namespace Model
103} // namespace ResilienceHub
104} // namespace Aws
UpdateAppVersionResourceResult & WithRequestId(Aws::String &&value)
UpdateAppVersionResourceResult & WithAppArn(const Aws::String &value)
UpdateAppVersionResourceResult & WithAppArn(Aws::String &&value)
UpdateAppVersionResourceResult & WithAppArn(const char *value)
UpdateAppVersionResourceResult & WithRequestId(const Aws::String &value)
UpdateAppVersionResourceResult & WithAppVersion(const char *value)
UpdateAppVersionResourceResult & WithAppVersion(const Aws::String &value)
UpdateAppVersionResourceResult & WithPhysicalResource(const PhysicalResource &value)
UpdateAppVersionResourceResult & WithRequestId(const char *value)
AWS_RESILIENCEHUB_API UpdateAppVersionResourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateAppVersionResourceResult & WithPhysicalResource(PhysicalResource &&value)
AWS_RESILIENCEHUB_API UpdateAppVersionResourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateAppVersionResourceResult & WithAppVersion(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue