AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = 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 PublishAppVersionResult& 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 PublishAppVersionResult& WithAppVersion(AppVersionT&& value) { SetAppVersion(std::forward<AppVersionT>(value)); return *this;}
62
64
67 inline long long GetIdentifier() const { return m_identifier; }
68 inline void SetIdentifier(long long value) { m_identifierHasBeenSet = true; m_identifier = value; }
69 inline PublishAppVersionResult& WithIdentifier(long long value) { SetIdentifier(value); return *this;}
71
73
76 inline const Aws::String& GetVersionName() const { return m_versionName; }
77 template<typename VersionNameT = Aws::String>
78 void SetVersionName(VersionNameT&& value) { m_versionNameHasBeenSet = true; m_versionName = std::forward<VersionNameT>(value); }
79 template<typename VersionNameT = Aws::String>
80 PublishAppVersionResult& WithVersionName(VersionNameT&& value) { SetVersionName(std::forward<VersionNameT>(value)); return *this;}
82
84
85 inline const Aws::String& GetRequestId() const { return m_requestId; }
86 template<typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
88 template<typename RequestIdT = Aws::String>
89 PublishAppVersionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
91 private:
92
93 Aws::String m_appArn;
94 bool m_appArnHasBeenSet = false;
95
96 Aws::String m_appVersion;
97 bool m_appVersionHasBeenSet = false;
98
99 long long m_identifier{0};
100 bool m_identifierHasBeenSet = false;
101
102 Aws::String m_versionName;
103 bool m_versionNameHasBeenSet = false;
104
105 Aws::String m_requestId;
106 bool m_requestIdHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace ResilienceHub
111} // namespace Aws
PublishAppVersionResult & WithAppArn(AppArnT &&value)
AWS_RESILIENCEHUB_API PublishAppVersionResult()=default
PublishAppVersionResult & WithRequestId(RequestIdT &&value)
PublishAppVersionResult & WithAppVersion(AppVersionT &&value)
PublishAppVersionResult & WithVersionName(VersionNameT &&value)
PublishAppVersionResult & WithIdentifier(long long value)
AWS_RESILIENCEHUB_API PublishAppVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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