7#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
8#include <aws/amplifygen3/model/FileReference.h>
9#include <aws/amplifygen3/model/FolderReference.h>
10#include <aws/core/http/HttpResponse.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace AmplifyGen3 {
38 template <
typename FolderPathT = Aws::String>
40 m_folderPathHasBeenSet =
true;
41 m_folderPath = std::forward<FolderPathT>(value);
43 template <
typename FolderPathT = Aws::String>
55 template <
typename SubFoldersT = Aws::Vector<FolderReference>>
57 m_subFoldersHasBeenSet =
true;
58 m_subFolders = std::forward<SubFoldersT>(value);
60 template <
typename SubFoldersT = Aws::Vector<FolderReference>>
65 template <
typename SubFoldersT = FolderReference>
67 m_subFoldersHasBeenSet =
true;
68 m_subFolders.emplace_back(std::forward<SubFoldersT>(value));
78 template <
typename FilesT = Aws::Vector<FileReference>>
80 m_filesHasBeenSet =
true;
81 m_files = std::forward<FilesT>(value);
83 template <
typename FilesT = Aws::Vector<FileReference>>
85 SetFiles(std::forward<FilesT>(value));
88 template <
typename FilesT = FileReference>
90 m_filesHasBeenSet =
true;
91 m_files.emplace_back(std::forward<FilesT>(value));
99 template <
typename RequestIdT = Aws::String>
101 m_requestIdHasBeenSet =
true;
102 m_requestId = std::forward<RequestIdT>(value);
104 template <
typename RequestIdT = Aws::String>
121 bool m_folderPathHasBeenSet =
false;
122 bool m_subFoldersHasBeenSet =
false;
123 bool m_filesHasBeenSet =
false;
124 bool m_requestIdHasBeenSet =
false;
AWS_AMPLIFYGEN3_API GetFolderResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFolderPath(FolderPathT &&value)
void SetRequestId(RequestIdT &&value)
GetFolderResult & WithFolderPath(FolderPathT &&value)
AWS_AMPLIFYGEN3_API GetFolderResult()=default
GetFolderResult & AddSubFolders(SubFoldersT &&value)
AWS_AMPLIFYGEN3_API GetFolderResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFolderResult & AddFiles(FilesT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Vector< FolderReference > & GetSubFolders() const
const Aws::Vector< FileReference > & GetFiles() const
void SetSubFolders(SubFoldersT &&value)
const Aws::String & GetRequestId() const
GetFolderResult & WithFiles(FilesT &&value)
void SetFiles(FilesT &&value)
const Aws::String & GetFolderPath() const
GetFolderResult & WithRequestId(RequestIdT &&value)
GetFolderResult & WithSubFolders(SubFoldersT &&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