AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
46 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetAdditionalInfo() const{ return m_additionalInfo; }
47 inline void SetAdditionalInfo(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_additionalInfo = value; }
48 inline void SetAdditionalInfo(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_additionalInfo = std::move(value); }
51 inline UpdateAppVersionResult& AddAdditionalInfo(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_additionalInfo.emplace(key, value); return *this; }
52 inline UpdateAppVersionResult& AddAdditionalInfo(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_additionalInfo.emplace(std::move(key), value); return *this; }
53 inline UpdateAppVersionResult& AddAdditionalInfo(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_additionalInfo.emplace(key, std::move(value)); return *this; }
54 inline UpdateAppVersionResult& AddAdditionalInfo(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_additionalInfo.emplace(std::move(key), std::move(value)); return *this; }
55 inline UpdateAppVersionResult& AddAdditionalInfo(const char* key, Aws::Vector<Aws::String>&& value) { m_additionalInfo.emplace(key, std::move(value)); return *this; }
56 inline UpdateAppVersionResult& AddAdditionalInfo(const char* key, const Aws::Vector<Aws::String>& value) { m_additionalInfo.emplace(key, value); return *this; }
58
60
69 inline const Aws::String& GetAppArn() const{ return m_appArn; }
70 inline void SetAppArn(const Aws::String& value) { m_appArn = value; }
71 inline void SetAppArn(Aws::String&& value) { m_appArn = std::move(value); }
72 inline void SetAppArn(const char* value) { m_appArn.assign(value); }
73 inline UpdateAppVersionResult& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
74 inline UpdateAppVersionResult& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
75 inline UpdateAppVersionResult& WithAppArn(const char* value) { SetAppArn(value); return *this;}
77
79
82 inline const Aws::String& GetAppVersion() const{ return m_appVersion; }
83 inline void SetAppVersion(const Aws::String& value) { m_appVersion = value; }
84 inline void SetAppVersion(Aws::String&& value) { m_appVersion = std::move(value); }
85 inline void SetAppVersion(const char* value) { m_appVersion.assign(value); }
86 inline UpdateAppVersionResult& WithAppVersion(const Aws::String& value) { SetAppVersion(value); return *this;}
87 inline UpdateAppVersionResult& WithAppVersion(Aws::String&& value) { SetAppVersion(std::move(value)); return *this;}
88 inline UpdateAppVersionResult& WithAppVersion(const char* value) { SetAppVersion(value); return *this;}
90
92
93 inline const Aws::String& GetRequestId() const{ return m_requestId; }
94 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
95 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
96 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
97 inline UpdateAppVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
98 inline UpdateAppVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
99 inline UpdateAppVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
101 private:
102
104
105 Aws::String m_appArn;
106
107 Aws::String m_appVersion;
108
109 Aws::String m_requestId;
110 };
111
112} // namespace Model
113} // namespace ResilienceHub
114} // namespace Aws
void SetAdditionalInfo(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
UpdateAppVersionResult & WithRequestId(const char *value)
UpdateAppVersionResult & WithAppVersion(const char *value)
UpdateAppVersionResult & WithAppVersion(Aws::String &&value)
UpdateAppVersionResult & WithRequestId(const Aws::String &value)
UpdateAppVersionResult & AddAdditionalInfo(const Aws::String &key, Aws::Vector< Aws::String > &&value)
UpdateAppVersionResult & WithRequestId(Aws::String &&value)
UpdateAppVersionResult & AddAdditionalInfo(const char *key, Aws::Vector< Aws::String > &&value)
UpdateAppVersionResult & WithAdditionalInfo(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
UpdateAppVersionResult & WithAppArn(Aws::String &&value)
UpdateAppVersionResult & WithAppVersion(const Aws::String &value)
UpdateAppVersionResult & AddAdditionalInfo(const Aws::String &key, const Aws::Vector< Aws::String > &value)
UpdateAppVersionResult & AddAdditionalInfo(const char *key, const Aws::Vector< Aws::String > &value)
UpdateAppVersionResult & AddAdditionalInfo(Aws::String &&key, const Aws::Vector< Aws::String > &value)
UpdateAppVersionResult & WithAppArn(const Aws::String &value)
UpdateAppVersionResult & WithAppArn(const char *value)
UpdateAppVersionResult & AddAdditionalInfo(Aws::String &&key, Aws::Vector< Aws::String > &&value)
UpdateAppVersionResult & WithAdditionalInfo(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
void SetAdditionalInfo(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue