AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PublishAppVersionResult.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 PublishAppVersionResult();
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 PublishAppVersionResult& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
50 inline PublishAppVersionResult& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
51 inline PublishAppVersionResult& 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 PublishAppVersionResult& WithAppVersion(const Aws::String& value) { SetAppVersion(value); return *this;}
63 inline PublishAppVersionResult& WithAppVersion(Aws::String&& value) { SetAppVersion(std::move(value)); return *this;}
64 inline PublishAppVersionResult& WithAppVersion(const char* value) { SetAppVersion(value); return *this;}
66
68
71 inline long long GetIdentifier() const{ return m_identifier; }
72 inline void SetIdentifier(long long value) { m_identifier = value; }
73 inline PublishAppVersionResult& WithIdentifier(long long value) { SetIdentifier(value); return *this;}
75
77
80 inline const Aws::String& GetVersionName() const{ return m_versionName; }
81 inline void SetVersionName(const Aws::String& value) { m_versionName = value; }
82 inline void SetVersionName(Aws::String&& value) { m_versionName = std::move(value); }
83 inline void SetVersionName(const char* value) { m_versionName.assign(value); }
84 inline PublishAppVersionResult& WithVersionName(const Aws::String& value) { SetVersionName(value); return *this;}
85 inline PublishAppVersionResult& WithVersionName(Aws::String&& value) { SetVersionName(std::move(value)); return *this;}
86 inline PublishAppVersionResult& WithVersionName(const char* value) { SetVersionName(value); return *this;}
88
90
91 inline const Aws::String& GetRequestId() const{ return m_requestId; }
92 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
93 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
94 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
95 inline PublishAppVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
96 inline PublishAppVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
97 inline PublishAppVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
99 private:
100
101 Aws::String m_appArn;
102
103 Aws::String m_appVersion;
104
105 long long m_identifier;
106
107 Aws::String m_versionName;
108
109 Aws::String m_requestId;
110 };
111
112} // namespace Model
113} // namespace ResilienceHub
114} // namespace Aws
PublishAppVersionResult & WithAppArn(const char *value)
PublishAppVersionResult & WithAppVersion(const Aws::String &value)
PublishAppVersionResult & WithVersionName(const Aws::String &value)
PublishAppVersionResult & WithAppVersion(Aws::String &&value)
PublishAppVersionResult & WithVersionName(Aws::String &&value)
PublishAppVersionResult & WithAppVersion(const char *value)
PublishAppVersionResult & WithRequestId(const char *value)
PublishAppVersionResult & WithRequestId(const Aws::String &value)
PublishAppVersionResult & WithIdentifier(long long value)
AWS_RESILIENCEHUB_API PublishAppVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PublishAppVersionResult & WithRequestId(Aws::String &&value)
PublishAppVersionResult & WithAppArn(Aws::String &&value)
PublishAppVersionResult & WithVersionName(const char *value)
PublishAppVersionResult & WithAppArn(const Aws::String &value)
AWS_RESILIENCEHUB_API PublishAppVersionResult & operator=(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