AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
UpdateAppVersionResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace ResilienceHub {
25namespace Model {
27 public:
28 AWS_RESILIENCEHUB_API UpdateAppVersionResult() = default;
31
33
41 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetAdditionalInfo() const { return m_additionalInfo; }
42 template <typename AdditionalInfoT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
43 void SetAdditionalInfo(AdditionalInfoT&& value) {
44 m_additionalInfoHasBeenSet = true;
45 m_additionalInfo = std::forward<AdditionalInfoT>(value);
46 }
47 template <typename AdditionalInfoT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
48 UpdateAppVersionResult& WithAdditionalInfo(AdditionalInfoT&& value) {
49 SetAdditionalInfo(std::forward<AdditionalInfoT>(value));
50 return *this;
51 }
52 template <typename AdditionalInfoKeyT = Aws::String, typename AdditionalInfoValueT = Aws::Vector<Aws::String>>
53 UpdateAppVersionResult& AddAdditionalInfo(AdditionalInfoKeyT&& key, AdditionalInfoValueT&& value) {
54 m_additionalInfoHasBeenSet = true;
55 m_additionalInfo.emplace(std::forward<AdditionalInfoKeyT>(key), std::forward<AdditionalInfoValueT>(value));
56 return *this;
57 }
59
61
70 inline const Aws::String& GetAppArn() const { return m_appArn; }
71 template <typename AppArnT = Aws::String>
72 void SetAppArn(AppArnT&& value) {
73 m_appArnHasBeenSet = true;
74 m_appArn = std::forward<AppArnT>(value);
75 }
76 template <typename AppArnT = Aws::String>
78 SetAppArn(std::forward<AppArnT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetAppVersion() const { return m_appVersion; }
88 template <typename AppVersionT = Aws::String>
89 void SetAppVersion(AppVersionT&& value) {
90 m_appVersionHasBeenSet = true;
91 m_appVersion = std::forward<AppVersionT>(value);
92 }
93 template <typename AppVersionT = Aws::String>
94 UpdateAppVersionResult& WithAppVersion(AppVersionT&& value) {
95 SetAppVersion(std::forward<AppVersionT>(value));
96 return *this;
97 }
99
101
102 inline const Aws::String& GetRequestId() const { return m_requestId; }
103 template <typename RequestIdT = Aws::String>
104 void SetRequestId(RequestIdT&& value) {
105 m_requestIdHasBeenSet = true;
106 m_requestId = std::forward<RequestIdT>(value);
107 }
108 template <typename RequestIdT = Aws::String>
110 SetRequestId(std::forward<RequestIdT>(value));
111 return *this;
112 }
114 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
115
116 private:
118
119 Aws::String m_appArn;
120
121 Aws::String m_appVersion;
122
123 Aws::String m_requestId;
124 Aws::Http::HttpResponseCode m_HttpResponseCode;
125 bool m_additionalInfoHasBeenSet = false;
126 bool m_appArnHasBeenSet = false;
127 bool m_appVersionHasBeenSet = false;
128 bool m_requestIdHasBeenSet = false;
129};
130
131} // namespace Model
132} // namespace ResilienceHub
133} // namespace Aws
UpdateAppVersionResult & WithAppArn(AppArnT &&value)
AWS_RESILIENCEHUB_API UpdateAppVersionResult()=default
UpdateAppVersionResult & AddAdditionalInfo(AdditionalInfoKeyT &&key, AdditionalInfoValueT &&value)
UpdateAppVersionResult & WithAppVersion(AppVersionT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
UpdateAppVersionResult & WithRequestId(RequestIdT &&value)
UpdateAppVersionResult & WithAdditionalInfo(AdditionalInfoT &&value)
AWS_RESILIENCEHUB_API UpdateAppVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetAdditionalInfo() const
AWS_RESILIENCEHUB_API UpdateAppVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue