AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetMetadataResult.h
1
6#pragma once
7#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace AmplifyUIBuilder
25{
26namespace Model
27{
29 {
30 public:
31 AWS_AMPLIFYUIBUILDER_API GetMetadataResult();
34
35
37
40 inline const Aws::Map<Aws::String, Aws::String>& GetFeatures() const{ return m_features; }
41 inline void SetFeatures(const Aws::Map<Aws::String, Aws::String>& value) { m_features = value; }
42 inline void SetFeatures(Aws::Map<Aws::String, Aws::String>&& value) { m_features = std::move(value); }
44 inline GetMetadataResult& WithFeatures(Aws::Map<Aws::String, Aws::String>&& value) { SetFeatures(std::move(value)); return *this;}
45 inline GetMetadataResult& AddFeatures(const Aws::String& key, const Aws::String& value) { m_features.emplace(key, value); return *this; }
46 inline GetMetadataResult& AddFeatures(Aws::String&& key, const Aws::String& value) { m_features.emplace(std::move(key), value); return *this; }
47 inline GetMetadataResult& AddFeatures(const Aws::String& key, Aws::String&& value) { m_features.emplace(key, std::move(value)); return *this; }
48 inline GetMetadataResult& AddFeatures(Aws::String&& key, Aws::String&& value) { m_features.emplace(std::move(key), std::move(value)); return *this; }
49 inline GetMetadataResult& AddFeatures(const char* key, Aws::String&& value) { m_features.emplace(key, std::move(value)); return *this; }
50 inline GetMetadataResult& AddFeatures(Aws::String&& key, const char* value) { m_features.emplace(std::move(key), value); return *this; }
51 inline GetMetadataResult& AddFeatures(const char* key, const char* value) { m_features.emplace(key, value); return *this; }
53
55
56 inline const Aws::String& GetRequestId() const{ return m_requestId; }
57 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
58 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
59 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
60 inline GetMetadataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
61 inline GetMetadataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
62 inline GetMetadataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
64 private:
65
67
68 Aws::String m_requestId;
69 };
70
71} // namespace Model
72} // namespace AmplifyUIBuilder
73} // namespace Aws
GetMetadataResult & AddFeatures(Aws::String &&key, Aws::String &&value)
GetMetadataResult & WithFeatures(const Aws::Map< Aws::String, Aws::String > &value)
AWS_AMPLIFYUIBUILDER_API GetMetadataResult()
GetMetadataResult & AddFeatures(const Aws::String &key, Aws::String &&value)
AWS_AMPLIFYUIBUILDER_API GetMetadataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFeatures(Aws::Map< Aws::String, Aws::String > &&value)
AWS_AMPLIFYUIBUILDER_API GetMetadataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFeatures(const Aws::Map< Aws::String, Aws::String > &value)
GetMetadataResult & AddFeatures(const Aws::String &key, const Aws::String &value)
GetMetadataResult & WithFeatures(Aws::Map< Aws::String, Aws::String > &&value)
GetMetadataResult & AddFeatures(const char *key, Aws::String &&value)
GetMetadataResult & WithRequestId(const char *value)
GetMetadataResult & WithRequestId(const Aws::String &value)
GetMetadataResult & WithRequestId(Aws::String &&value)
GetMetadataResult & AddFeatures(Aws::String &&key, const Aws::String &value)
GetMetadataResult & AddFeatures(Aws::String &&key, const char *value)
GetMetadataResult & AddFeatures(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetFeatures() const
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