AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
35
36
38
41 inline const FolderMetadata& GetMetadata() const { return m_metadata; }
42 template<typename MetadataT = FolderMetadata>
43 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet = true; m_metadata = std::forward<MetadataT>(value); }
44 template<typename MetadataT = FolderMetadata>
45 GetFolderResult& WithMetadata(MetadataT&& value) { SetMetadata(std::forward<MetadataT>(value)); return *this;}
47
49
52 inline const Aws::Map<Aws::String, Aws::String>& GetCustomMetadata() const { return m_customMetadata; }
53 template<typename CustomMetadataT = Aws::Map<Aws::String, Aws::String>>
54 void SetCustomMetadata(CustomMetadataT&& value) { m_customMetadataHasBeenSet = true; m_customMetadata = std::forward<CustomMetadataT>(value); }
55 template<typename CustomMetadataT = Aws::Map<Aws::String, Aws::String>>
56 GetFolderResult& WithCustomMetadata(CustomMetadataT&& value) { SetCustomMetadata(std::forward<CustomMetadataT>(value)); return *this;}
57 template<typename CustomMetadataKeyT = Aws::String, typename CustomMetadataValueT = Aws::String>
58 GetFolderResult& AddCustomMetadata(CustomMetadataKeyT&& key, CustomMetadataValueT&& value) {
59 m_customMetadataHasBeenSet = true; m_customMetadata.emplace(std::forward<CustomMetadataKeyT>(key), std::forward<CustomMetadataValueT>(value)); return *this;
60 }
62
64
65 inline const Aws::String& GetRequestId() const { return m_requestId; }
66 template<typename RequestIdT = Aws::String>
67 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
68 template<typename RequestIdT = Aws::String>
69 GetFolderResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
71 private:
72
73 FolderMetadata m_metadata;
74 bool m_metadataHasBeenSet = false;
75
77 bool m_customMetadataHasBeenSet = false;
78
79 Aws::String m_requestId;
80 bool m_requestIdHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace WorkDocs
85} // namespace Aws
AWS_WORKDOCS_API GetFolderResult()=default
void SetRequestId(RequestIdT &&value)
AWS_WORKDOCS_API GetFolderResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFolderResult & WithRequestId(RequestIdT &&value)
void SetCustomMetadata(CustomMetadataT &&value)
GetFolderResult & WithMetadata(MetadataT &&value)
const Aws::Map< Aws::String, Aws::String > & GetCustomMetadata() const
const Aws::String & GetRequestId() const
GetFolderResult & WithCustomMetadata(CustomMetadataT &&value)
AWS_WORKDOCS_API GetFolderResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFolderResult & AddCustomMetadata(CustomMetadataKeyT &&key, CustomMetadataValueT &&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