AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
UpdateAppVersionResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace ResilienceHub {
24namespace Model {
26 public:
27 AWS_RESILIENCEHUB_API UpdateAppVersionResult() = default;
30
32
40 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetAdditionalInfo() const { return m_additionalInfo; }
41 template <typename AdditionalInfoT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
42 void SetAdditionalInfo(AdditionalInfoT&& value) {
43 m_additionalInfoHasBeenSet = true;
44 m_additionalInfo = std::forward<AdditionalInfoT>(value);
45 }
46 template <typename AdditionalInfoT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
47 UpdateAppVersionResult& WithAdditionalInfo(AdditionalInfoT&& value) {
48 SetAdditionalInfo(std::forward<AdditionalInfoT>(value));
49 return *this;
50 }
51 template <typename AdditionalInfoKeyT = Aws::String, typename AdditionalInfoValueT = Aws::Vector<Aws::String>>
52 UpdateAppVersionResult& AddAdditionalInfo(AdditionalInfoKeyT&& key, AdditionalInfoValueT&& value) {
53 m_additionalInfoHasBeenSet = true;
54 m_additionalInfo.emplace(std::forward<AdditionalInfoKeyT>(key), std::forward<AdditionalInfoValueT>(value));
55 return *this;
56 }
58
60
69 inline const Aws::String& GetAppArn() const { return m_appArn; }
70 template <typename AppArnT = Aws::String>
71 void SetAppArn(AppArnT&& value) {
72 m_appArnHasBeenSet = true;
73 m_appArn = std::forward<AppArnT>(value);
74 }
75 template <typename AppArnT = Aws::String>
77 SetAppArn(std::forward<AppArnT>(value));
78 return *this;
79 }
81
83
86 inline const Aws::String& GetAppVersion() const { return m_appVersion; }
87 template <typename AppVersionT = Aws::String>
88 void SetAppVersion(AppVersionT&& value) {
89 m_appVersionHasBeenSet = true;
90 m_appVersion = std::forward<AppVersionT>(value);
91 }
92 template <typename AppVersionT = Aws::String>
93 UpdateAppVersionResult& WithAppVersion(AppVersionT&& value) {
94 SetAppVersion(std::forward<AppVersionT>(value));
95 return *this;
96 }
98
100
101 inline const Aws::String& GetRequestId() const { return m_requestId; }
102 template <typename RequestIdT = Aws::String>
103 void SetRequestId(RequestIdT&& value) {
104 m_requestIdHasBeenSet = true;
105 m_requestId = std::forward<RequestIdT>(value);
106 }
107 template <typename RequestIdT = Aws::String>
109 SetRequestId(std::forward<RequestIdT>(value));
110 return *this;
111 }
113 private:
115
116 Aws::String m_appArn;
117
118 Aws::String m_appVersion;
119
120 Aws::String m_requestId;
121 bool m_additionalInfoHasBeenSet = false;
122 bool m_appArnHasBeenSet = false;
123 bool m_appVersionHasBeenSet = false;
124 bool m_requestIdHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace ResilienceHub
129} // namespace Aws
UpdateAppVersionResult & WithAppArn(AppArnT &&value)
AWS_RESILIENCEHUB_API UpdateAppVersionResult()=default
UpdateAppVersionResult & AddAdditionalInfo(AdditionalInfoKeyT &&key, AdditionalInfoValueT &&value)
UpdateAppVersionResult & WithAppVersion(AppVersionT &&value)
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