AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeAppVersionResult.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 DescribeAppVersionResult();
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 DescribeAppVersionResult& AddAdditionalInfo(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_additionalInfo.emplace(key, value); return *this; }
52 inline DescribeAppVersionResult& AddAdditionalInfo(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_additionalInfo.emplace(std::move(key), value); return *this; }
53 inline DescribeAppVersionResult& AddAdditionalInfo(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_additionalInfo.emplace(key, std::move(value)); return *this; }
54 inline DescribeAppVersionResult& AddAdditionalInfo(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_additionalInfo.emplace(std::move(key), std::move(value)); return *this; }
55 inline DescribeAppVersionResult& AddAdditionalInfo(const char* key, Aws::Vector<Aws::String>&& value) { m_additionalInfo.emplace(key, std::move(value)); return *this; }
56 inline DescribeAppVersionResult& 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 DescribeAppVersionResult& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
74 inline DescribeAppVersionResult& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
75 inline DescribeAppVersionResult& 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 DescribeAppVersionResult& WithAppVersion(const Aws::String& value) { SetAppVersion(value); return *this;}
87 inline DescribeAppVersionResult& WithAppVersion(Aws::String&& value) { SetAppVersion(std::move(value)); return *this;}
88 inline DescribeAppVersionResult& 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 DescribeAppVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
98 inline DescribeAppVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
99 inline DescribeAppVersionResult& 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(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
DescribeAppVersionResult & WithAppVersion(Aws::String &&value)
DescribeAppVersionResult & WithAppArn(const char *value)
DescribeAppVersionResult & AddAdditionalInfo(Aws::String &&key, const Aws::Vector< Aws::String > &value)
DescribeAppVersionResult & AddAdditionalInfo(const char *key, const Aws::Vector< Aws::String > &value)
AWS_RESILIENCEHUB_API DescribeAppVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAdditionalInfo(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
DescribeAppVersionResult & AddAdditionalInfo(Aws::String &&key, Aws::Vector< Aws::String > &&value)
DescribeAppVersionResult & WithAppVersion(const char *value)
DescribeAppVersionResult & AddAdditionalInfo(const char *key, Aws::Vector< Aws::String > &&value)
DescribeAppVersionResult & WithRequestId(Aws::String &&value)
AWS_RESILIENCEHUB_API DescribeAppVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetAdditionalInfo() const
DescribeAppVersionResult & AddAdditionalInfo(const Aws::String &key, Aws::Vector< Aws::String > &&value)
DescribeAppVersionResult & WithAdditionalInfo(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
DescribeAppVersionResult & WithAppArn(Aws::String &&value)
DescribeAppVersionResult & WithAppArn(const Aws::String &value)
DescribeAppVersionResult & AddAdditionalInfo(const Aws::String &key, const Aws::Vector< Aws::String > &value)
DescribeAppVersionResult & WithRequestId(const Aws::String &value)
DescribeAppVersionResult & WithAdditionalInfo(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
DescribeAppVersionResult & WithAppVersion(const Aws::String &value)
DescribeAppVersionResult & WithRequestId(const char *value)
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