AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetFolderResult.h
1
6#pragma once
7#include <aws/workdocs/WorkDocs_EXPORTS.h>
8#include <aws/workdocs/model/FolderMetadata.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.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 WorkDocs
26{
27namespace Model
28{
30 {
31 public:
32 AWS_WORKDOCS_API GetFolderResult();
35
36
38
41 inline const FolderMetadata& GetMetadata() const{ return m_metadata; }
42 inline void SetMetadata(const FolderMetadata& value) { m_metadata = value; }
43 inline void SetMetadata(FolderMetadata&& value) { m_metadata = std::move(value); }
44 inline GetFolderResult& WithMetadata(const FolderMetadata& value) { SetMetadata(value); return *this;}
45 inline GetFolderResult& WithMetadata(FolderMetadata&& value) { SetMetadata(std::move(value)); return *this;}
47
49
52 inline const Aws::Map<Aws::String, Aws::String>& GetCustomMetadata() const{ return m_customMetadata; }
53 inline void SetCustomMetadata(const Aws::Map<Aws::String, Aws::String>& value) { m_customMetadata = value; }
54 inline void SetCustomMetadata(Aws::Map<Aws::String, Aws::String>&& value) { m_customMetadata = std::move(value); }
57 inline GetFolderResult& AddCustomMetadata(const Aws::String& key, const Aws::String& value) { m_customMetadata.emplace(key, value); return *this; }
58 inline GetFolderResult& AddCustomMetadata(Aws::String&& key, const Aws::String& value) { m_customMetadata.emplace(std::move(key), value); return *this; }
59 inline GetFolderResult& AddCustomMetadata(const Aws::String& key, Aws::String&& value) { m_customMetadata.emplace(key, std::move(value)); return *this; }
60 inline GetFolderResult& AddCustomMetadata(Aws::String&& key, Aws::String&& value) { m_customMetadata.emplace(std::move(key), std::move(value)); return *this; }
61 inline GetFolderResult& AddCustomMetadata(const char* key, Aws::String&& value) { m_customMetadata.emplace(key, std::move(value)); return *this; }
62 inline GetFolderResult& AddCustomMetadata(Aws::String&& key, const char* value) { m_customMetadata.emplace(std::move(key), value); return *this; }
63 inline GetFolderResult& AddCustomMetadata(const char* key, const char* value) { m_customMetadata.emplace(key, value); return *this; }
65
67
68 inline const Aws::String& GetRequestId() const{ return m_requestId; }
69 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
70 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
71 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
72 inline GetFolderResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
73 inline GetFolderResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
74 inline GetFolderResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
76 private:
77
78 FolderMetadata m_metadata;
79
81
82 Aws::String m_requestId;
83 };
84
85} // namespace Model
86} // namespace WorkDocs
87} // namespace Aws
void SetRequestId(Aws::String &&value)
void SetMetadata(const FolderMetadata &value)
GetFolderResult & WithMetadata(FolderMetadata &&value)
GetFolderResult & WithCustomMetadata(const Aws::Map< Aws::String, Aws::String > &value)
void SetMetadata(FolderMetadata &&value)
GetFolderResult & AddCustomMetadata(Aws::String &&key, Aws::String &&value)
void SetCustomMetadata(Aws::Map< Aws::String, Aws::String > &&value)
GetFolderResult & WithRequestId(const Aws::String &value)
AWS_WORKDOCS_API GetFolderResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFolderResult & AddCustomMetadata(Aws::String &&key, const char *value)
GetFolderResult & AddCustomMetadata(const Aws::String &key, Aws::String &&value)
GetFolderResult & AddCustomMetadata(const Aws::String &key, const Aws::String &value)
GetFolderResult & AddCustomMetadata(const char *key, Aws::String &&value)
void SetRequestId(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetCustomMetadata() const
GetFolderResult & WithRequestId(const char *value)
const Aws::String & GetRequestId() const
AWS_WORKDOCS_API GetFolderResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCustomMetadata(const Aws::Map< Aws::String, Aws::String > &value)
GetFolderResult & WithRequestId(Aws::String &&value)
GetFolderResult & WithCustomMetadata(Aws::Map< Aws::String, Aws::String > &&value)
GetFolderResult & AddCustomMetadata(Aws::String &&key, const Aws::String &value)
GetFolderResult & WithMetadata(const FolderMetadata &value)
GetFolderResult & AddCustomMetadata(const char *key, const char *value)
const FolderMetadata & GetMetadata() 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