AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRestoreJobMetadataResult.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.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 Backup
25{
26namespace Model
27{
29 {
30 public:
34
35
37
40 inline const Aws::String& GetRestoreJobId() const{ return m_restoreJobId; }
41 inline void SetRestoreJobId(const Aws::String& value) { m_restoreJobId = value; }
42 inline void SetRestoreJobId(Aws::String&& value) { m_restoreJobId = std::move(value); }
43 inline void SetRestoreJobId(const char* value) { m_restoreJobId.assign(value); }
44 inline GetRestoreJobMetadataResult& WithRestoreJobId(const Aws::String& value) { SetRestoreJobId(value); return *this;}
45 inline GetRestoreJobMetadataResult& WithRestoreJobId(Aws::String&& value) { SetRestoreJobId(std::move(value)); return *this;}
46 inline GetRestoreJobMetadataResult& WithRestoreJobId(const char* value) { SetRestoreJobId(value); return *this;}
48
50
53 inline const Aws::Map<Aws::String, Aws::String>& GetMetadata() const{ return m_metadata; }
54 inline void SetMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_metadata = value; }
55 inline void SetMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_metadata = std::move(value); }
58 inline GetRestoreJobMetadataResult& AddMetadata(const Aws::String& key, const Aws::String& value) { m_metadata.emplace(key, value); return *this; }
59 inline GetRestoreJobMetadataResult& AddMetadata(Aws::String&& key, const Aws::String& value) { m_metadata.emplace(std::move(key), value); return *this; }
60 inline GetRestoreJobMetadataResult& AddMetadata(const Aws::String& key, Aws::String&& value) { m_metadata.emplace(key, std::move(value)); return *this; }
61 inline GetRestoreJobMetadataResult& AddMetadata(Aws::String&& key, Aws::String&& value) { m_metadata.emplace(std::move(key), std::move(value)); return *this; }
62 inline GetRestoreJobMetadataResult& AddMetadata(const char* key, Aws::String&& value) { m_metadata.emplace(key, std::move(value)); return *this; }
63 inline GetRestoreJobMetadataResult& AddMetadata(Aws::String&& key, const char* value) { m_metadata.emplace(std::move(key), value); return *this; }
64 inline GetRestoreJobMetadataResult& AddMetadata(const char* key, const char* value) { m_metadata.emplace(key, value); return *this; }
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline GetRestoreJobMetadataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline GetRestoreJobMetadataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline GetRestoreJobMetadataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
79 Aws::String m_restoreJobId;
80
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace Backup
88} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
GetRestoreJobMetadataResult & WithRestoreJobId(const Aws::String &value)
GetRestoreJobMetadataResult & WithRestoreJobId(Aws::String &&value)
AWS_BACKUP_API GetRestoreJobMetadataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRestoreJobMetadataResult & AddMetadata(const Aws::String &key, const Aws::String &value)
GetRestoreJobMetadataResult & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
GetRestoreJobMetadataResult & AddMetadata(const char *key, Aws::String &&value)
AWS_BACKUP_API GetRestoreJobMetadataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
GetRestoreJobMetadataResult & WithRequestId(Aws::String &&value)
GetRestoreJobMetadataResult & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
GetRestoreJobMetadataResult & AddMetadata(Aws::String &&key, Aws::String &&value)
GetRestoreJobMetadataResult & AddMetadata(Aws::String &&key, const char *value)
GetRestoreJobMetadataResult & AddMetadata(const Aws::String &key, Aws::String &&value)
GetRestoreJobMetadataResult & AddMetadata(const char *key, const char *value)
GetRestoreJobMetadataResult & WithRequestId(const char *value)
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
GetRestoreJobMetadataResult & AddMetadata(Aws::String &&key, const Aws::String &value)
GetRestoreJobMetadataResult & WithRestoreJobId(const char *value)
GetRestoreJobMetadataResult & WithRequestId(const Aws::String &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
Aws::Utils::Json::JsonValue JsonValue