AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAppVersionAppComponentResult.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/AppComponent.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 CreateAppVersionAppComponentResult();
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 CreateAppVersionAppComponentResult& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
51 inline CreateAppVersionAppComponentResult& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
52 inline CreateAppVersionAppComponentResult& WithAppArn(const char* value) { SetAppArn(value); return *this;}
54
56
59 inline const AppComponent& GetAppComponent() const{ return m_appComponent; }
60 inline void SetAppComponent(const AppComponent& value) { m_appComponent = value; }
61 inline void SetAppComponent(AppComponent&& value) { m_appComponent = std::move(value); }
63 inline CreateAppVersionAppComponentResult& WithAppComponent(AppComponent&& value) { SetAppComponent(std::move(value)); return *this;}
65
67
70 inline const Aws::String& GetAppVersion() const{ return m_appVersion; }
71 inline void SetAppVersion(const Aws::String& value) { m_appVersion = value; }
72 inline void SetAppVersion(Aws::String&& value) { m_appVersion = std::move(value); }
73 inline void SetAppVersion(const char* value) { m_appVersion.assign(value); }
74 inline CreateAppVersionAppComponentResult& WithAppVersion(const Aws::String& value) { SetAppVersion(value); return *this;}
75 inline CreateAppVersionAppComponentResult& WithAppVersion(Aws::String&& value) { SetAppVersion(std::move(value)); return *this;}
76 inline CreateAppVersionAppComponentResult& WithAppVersion(const char* value) { SetAppVersion(value); return *this;}
78
80
81 inline const Aws::String& GetRequestId() const{ return m_requestId; }
82 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
83 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
84 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
85 inline CreateAppVersionAppComponentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
86 inline CreateAppVersionAppComponentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
87 inline CreateAppVersionAppComponentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
89 private:
90
91 Aws::String m_appArn;
92
93 AppComponent m_appComponent;
94
95 Aws::String m_appVersion;
96
97 Aws::String m_requestId;
98 };
99
100} // namespace Model
101} // namespace ResilienceHub
102} // namespace Aws
CreateAppVersionAppComponentResult & WithAppArn(Aws::String &&value)
CreateAppVersionAppComponentResult & WithAppVersion(const char *value)
CreateAppVersionAppComponentResult & WithAppComponent(AppComponent &&value)
AWS_RESILIENCEHUB_API CreateAppVersionAppComponentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAppVersionAppComponentResult & WithAppVersion(const Aws::String &value)
CreateAppVersionAppComponentResult & WithRequestId(const Aws::String &value)
AWS_RESILIENCEHUB_API CreateAppVersionAppComponentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAppVersionAppComponentResult & WithRequestId(const char *value)
CreateAppVersionAppComponentResult & WithAppVersion(Aws::String &&value)
CreateAppVersionAppComponentResult & WithAppComponent(const AppComponent &value)
CreateAppVersionAppComponentResult & WithAppArn(const Aws::String &value)
CreateAppVersionAppComponentResult & WithAppArn(const char *value)
CreateAppVersionAppComponentResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue