AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
33
34
36
45 inline const Aws::String& GetAppArn() const{ return m_appArn; }
46 inline void SetAppArn(const Aws::String& value) { m_appArn = value; }
47 inline void SetAppArn(Aws::String&& value) { m_appArn = std::move(value); }
48 inline void SetAppArn(const char* value) { m_appArn.assign(value); }
49 inline PutDraftAppVersionTemplateResult& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
50 inline PutDraftAppVersionTemplateResult& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
51 inline PutDraftAppVersionTemplateResult& WithAppArn(const char* value) { SetAppArn(value); return *this;}
53
55
58 inline const Aws::String& GetAppVersion() const{ return m_appVersion; }
59 inline void SetAppVersion(const Aws::String& value) { m_appVersion = value; }
60 inline void SetAppVersion(Aws::String&& value) { m_appVersion = std::move(value); }
61 inline void SetAppVersion(const char* value) { m_appVersion.assign(value); }
62 inline PutDraftAppVersionTemplateResult& WithAppVersion(const Aws::String& value) { SetAppVersion(value); return *this;}
63 inline PutDraftAppVersionTemplateResult& WithAppVersion(Aws::String&& value) { SetAppVersion(std::move(value)); return *this;}
64 inline PutDraftAppVersionTemplateResult& WithAppVersion(const char* value) { SetAppVersion(value); return *this;}
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline PutDraftAppVersionTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline PutDraftAppVersionTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline PutDraftAppVersionTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
79 Aws::String m_appArn;
80
81 Aws::String m_appVersion;
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace ResilienceHub
88} // namespace Aws
PutDraftAppVersionTemplateResult & WithAppVersion(const Aws::String &value)
PutDraftAppVersionTemplateResult & WithAppVersion(Aws::String &&value)
PutDraftAppVersionTemplateResult & WithAppArn(const char *value)
PutDraftAppVersionTemplateResult & WithAppVersion(const char *value)
AWS_RESILIENCEHUB_API PutDraftAppVersionTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutDraftAppVersionTemplateResult & WithRequestId(Aws::String &&value)
PutDraftAppVersionTemplateResult & WithAppArn(Aws::String &&value)
PutDraftAppVersionTemplateResult & WithAppArn(const Aws::String &value)
AWS_RESILIENCEHUB_API PutDraftAppVersionTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutDraftAppVersionTemplateResult & WithRequestId(const char *value)
PutDraftAppVersionTemplateResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue