AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = 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 CreateAppVersionAppComponentResult& WithAppArn(AppArnT&& value) { SetAppArn(std::forward<AppArnT>(value)); return *this;}
52
54
57 inline const AppComponent& GetAppComponent() const { return m_appComponent; }
58 template<typename AppComponentT = AppComponent>
59 void SetAppComponent(AppComponentT&& value) { m_appComponentHasBeenSet = true; m_appComponent = std::forward<AppComponentT>(value); }
60 template<typename AppComponentT = AppComponent>
61 CreateAppVersionAppComponentResult& WithAppComponent(AppComponentT&& value) { SetAppComponent(std::forward<AppComponentT>(value)); return *this;}
63
65
68 inline const Aws::String& GetAppVersion() const { return m_appVersion; }
69 template<typename AppVersionT = Aws::String>
70 void SetAppVersion(AppVersionT&& value) { m_appVersionHasBeenSet = true; m_appVersion = std::forward<AppVersionT>(value); }
71 template<typename AppVersionT = Aws::String>
72 CreateAppVersionAppComponentResult& WithAppVersion(AppVersionT&& value) { SetAppVersion(std::forward<AppVersionT>(value)); return *this;}
74
76
77 inline const Aws::String& GetRequestId() const { return m_requestId; }
78 template<typename RequestIdT = Aws::String>
79 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
80 template<typename RequestIdT = Aws::String>
81 CreateAppVersionAppComponentResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
83 private:
84
85 Aws::String m_appArn;
86 bool m_appArnHasBeenSet = false;
87
88 AppComponent m_appComponent;
89 bool m_appComponentHasBeenSet = false;
90
91 Aws::String m_appVersion;
92 bool m_appVersionHasBeenSet = false;
93
94 Aws::String m_requestId;
95 bool m_requestIdHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace ResilienceHub
100} // namespace Aws
CreateAppVersionAppComponentResult & WithAppArn(AppArnT &&value)
AWS_RESILIENCEHUB_API CreateAppVersionAppComponentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_RESILIENCEHUB_API CreateAppVersionAppComponentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAppVersionAppComponentResult & WithRequestId(RequestIdT &&value)
CreateAppVersionAppComponentResult & WithAppVersion(AppVersionT &&value)
CreateAppVersionAppComponentResult & WithAppComponent(AppComponentT &&value)
AWS_RESILIENCEHUB_API CreateAppVersionAppComponentResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue