AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeFolderContentsResult.h
1
6#pragma once
7#include <aws/workdocs/WorkDocs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/workdocs/model/FolderMetadata.h>
11#include <aws/workdocs/model/DocumentMetadata.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace WorkDocs
27{
28namespace Model
29{
31 {
32 public:
33 AWS_WORKDOCS_API DescribeFolderContentsResult();
36
37
39
42 inline const Aws::Vector<FolderMetadata>& GetFolders() const{ return m_folders; }
43 inline void SetFolders(const Aws::Vector<FolderMetadata>& value) { m_folders = value; }
44 inline void SetFolders(Aws::Vector<FolderMetadata>&& value) { m_folders = std::move(value); }
46 inline DescribeFolderContentsResult& WithFolders(Aws::Vector<FolderMetadata>&& value) { SetFolders(std::move(value)); return *this;}
47 inline DescribeFolderContentsResult& AddFolders(const FolderMetadata& value) { m_folders.push_back(value); return *this; }
48 inline DescribeFolderContentsResult& AddFolders(FolderMetadata&& value) { m_folders.push_back(std::move(value)); return *this; }
50
52
55 inline const Aws::Vector<DocumentMetadata>& GetDocuments() const{ return m_documents; }
56 inline void SetDocuments(const Aws::Vector<DocumentMetadata>& value) { m_documents = value; }
57 inline void SetDocuments(Aws::Vector<DocumentMetadata>&& value) { m_documents = std::move(value); }
59 inline DescribeFolderContentsResult& WithDocuments(Aws::Vector<DocumentMetadata>&& value) { SetDocuments(std::move(value)); return *this;}
60 inline DescribeFolderContentsResult& AddDocuments(const DocumentMetadata& value) { m_documents.push_back(value); return *this; }
61 inline DescribeFolderContentsResult& AddDocuments(DocumentMetadata&& value) { m_documents.push_back(std::move(value)); return *this; }
63
65
69 inline const Aws::String& GetMarker() const{ return m_marker; }
70 inline void SetMarker(const Aws::String& value) { m_marker = value; }
71 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
72 inline void SetMarker(const char* value) { m_marker.assign(value); }
73 inline DescribeFolderContentsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
74 inline DescribeFolderContentsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
75 inline DescribeFolderContentsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
77
79
80 inline const Aws::String& GetRequestId() const{ return m_requestId; }
81 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
82 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
83 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
84 inline DescribeFolderContentsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
85 inline DescribeFolderContentsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
86 inline DescribeFolderContentsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
88 private:
89
91
93
94 Aws::String m_marker;
95
96 Aws::String m_requestId;
97 };
98
99} // namespace Model
100} // namespace WorkDocs
101} // namespace Aws
DescribeFolderContentsResult & WithMarker(Aws::String &&value)
DescribeFolderContentsResult & WithFolders(Aws::Vector< FolderMetadata > &&value)
void SetFolders(const Aws::Vector< FolderMetadata > &value)
AWS_WORKDOCS_API DescribeFolderContentsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< DocumentMetadata > & GetDocuments() const
DescribeFolderContentsResult & WithDocuments(const Aws::Vector< DocumentMetadata > &value)
DescribeFolderContentsResult & AddFolders(FolderMetadata &&value)
DescribeFolderContentsResult & AddDocuments(const DocumentMetadata &value)
AWS_WORKDOCS_API DescribeFolderContentsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFolderContentsResult & WithMarker(const char *value)
DescribeFolderContentsResult & WithDocuments(Aws::Vector< DocumentMetadata > &&value)
void SetDocuments(Aws::Vector< DocumentMetadata > &&value)
DescribeFolderContentsResult & WithRequestId(const char *value)
void SetFolders(Aws::Vector< FolderMetadata > &&value)
DescribeFolderContentsResult & WithMarker(const Aws::String &value)
void SetDocuments(const Aws::Vector< DocumentMetadata > &value)
DescribeFolderContentsResult & WithRequestId(Aws::String &&value)
const Aws::Vector< FolderMetadata > & GetFolders() const
DescribeFolderContentsResult & WithRequestId(const Aws::String &value)
DescribeFolderContentsResult & AddFolders(const FolderMetadata &value)
DescribeFolderContentsResult & WithFolders(const Aws::Vector< FolderMetadata > &value)
DescribeFolderContentsResult & AddDocuments(DocumentMetadata &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue