AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateAppVersionResult.h
1
6#pragma once
7#include <aws/resiliencehub/ResilienceHub_EXPORTS.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 <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ResilienceHub
26{
27namespace Model
28{
30 {
31 public:
32 AWS_RESILIENCEHUB_API UpdateAppVersionResult() = default;
35
36
38
46 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetAdditionalInfo() const { return m_additionalInfo; }
47 template<typename AdditionalInfoT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
48 void SetAdditionalInfo(AdditionalInfoT&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = std::forward<AdditionalInfoT>(value); }
49 template<typename AdditionalInfoT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
50 UpdateAppVersionResult& WithAdditionalInfo(AdditionalInfoT&& value) { SetAdditionalInfo(std::forward<AdditionalInfoT>(value)); return *this;}
51 template<typename AdditionalInfoKeyT = Aws::String, typename AdditionalInfoValueT = Aws::Vector<Aws::String>>
52 UpdateAppVersionResult& AddAdditionalInfo(AdditionalInfoKeyT&& key, AdditionalInfoValueT&& value) {
53 m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::forward<AdditionalInfoKeyT>(key), std::forward<AdditionalInfoValueT>(value)); return *this;
54 }
56
58
67 inline const Aws::String& GetAppArn() const { return m_appArn; }
68 template<typename AppArnT = Aws::String>
69 void SetAppArn(AppArnT&& value) { m_appArnHasBeenSet = true; m_appArn = std::forward<AppArnT>(value); }
70 template<typename AppArnT = Aws::String>
71 UpdateAppVersionResult& WithAppArn(AppArnT&& value) { SetAppArn(std::forward<AppArnT>(value)); return *this;}
73
75
78 inline const Aws::String& GetAppVersion() const { return m_appVersion; }
79 template<typename AppVersionT = Aws::String>
80 void SetAppVersion(AppVersionT&& value) { m_appVersionHasBeenSet = true; m_appVersion = std::forward<AppVersionT>(value); }
81 template<typename AppVersionT = Aws::String>
82 UpdateAppVersionResult& WithAppVersion(AppVersionT&& value) { SetAppVersion(std::forward<AppVersionT>(value)); return *this;}
84
86
87 inline const Aws::String& GetRequestId() const { return m_requestId; }
88 template<typename RequestIdT = Aws::String>
89 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
90 template<typename RequestIdT = Aws::String>
91 UpdateAppVersionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
93 private:
94
96 bool m_additionalInfoHasBeenSet = false;
97
98 Aws::String m_appArn;
99 bool m_appArnHasBeenSet = false;
100
101 Aws::String m_appVersion;
102 bool m_appVersionHasBeenSet = false;
103
104 Aws::String m_requestId;
105 bool m_requestIdHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace ResilienceHub
110} // 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