AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PutDraftAppVersionTemplateResult.h
1
6#pragma once
7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace ResilienceHub
24{
25namespace Model
26{
28 {
29 public:
30 AWS_RESILIENCEHUB_API PutDraftAppVersionTemplateResult() = default;
33
34
36
45 inline const Aws::String& GetAppArn() const { return m_appArn; }
46 template<typename AppArnT = Aws::String>
47 void SetAppArn(AppArnT&& value) { m_appArnHasBeenSet = true; m_appArn = std::forward<AppArnT>(value); }
48 template<typename AppArnT = Aws::String>
49 PutDraftAppVersionTemplateResult& WithAppArn(AppArnT&& value) { SetAppArn(std::forward<AppArnT>(value)); return *this;}
51
53
56 inline const Aws::String& GetAppVersion() const { return m_appVersion; }
57 template<typename AppVersionT = Aws::String>
58 void SetAppVersion(AppVersionT&& value) { m_appVersionHasBeenSet = true; m_appVersion = std::forward<AppVersionT>(value); }
59 template<typename AppVersionT = Aws::String>
60 PutDraftAppVersionTemplateResult& WithAppVersion(AppVersionT&& value) { SetAppVersion(std::forward<AppVersionT>(value)); return *this;}
62
64
65 inline const Aws::String& GetRequestId() const { return m_requestId; }
66 template<typename RequestIdT = Aws::String>
67 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
68 template<typename RequestIdT = Aws::String>
69 PutDraftAppVersionTemplateResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
71 private:
72
73 Aws::String m_appArn;
74 bool m_appArnHasBeenSet = false;
75
76 Aws::String m_appVersion;
77 bool m_appVersionHasBeenSet = false;
78
79 Aws::String m_requestId;
80 bool m_requestIdHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace ResilienceHub
85} // namespace Aws
PutDraftAppVersionTemplateResult & WithAppVersion(AppVersionT &&value)
AWS_RESILIENCEHUB_API PutDraftAppVersionTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutDraftAppVersionTemplateResult & WithRequestId(RequestIdT &&value)
PutDraftAppVersionTemplateResult & WithAppArn(AppArnT &&value)
AWS_RESILIENCEHUB_API PutDraftAppVersionTemplateResult()=default
AWS_RESILIENCEHUB_API PutDraftAppVersionTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue