AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
SearchFoldersResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/FolderSummary.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight {
25namespace Model {
27 public:
28 AWS_QUICKSIGHT_API SearchFoldersResult() = default;
31
33
36 inline int GetStatus() const { return m_status; }
37 inline void SetStatus(int value) {
38 m_statusHasBeenSet = true;
39 m_status = value;
40 }
41 inline SearchFoldersResult& WithStatus(int value) {
42 SetStatus(value);
43 return *this;
44 }
46
48
52 inline const Aws::Vector<FolderSummary>& GetFolderSummaryList() const { return m_folderSummaryList; }
53 template <typename FolderSummaryListT = Aws::Vector<FolderSummary>>
54 void SetFolderSummaryList(FolderSummaryListT&& value) {
55 m_folderSummaryListHasBeenSet = true;
56 m_folderSummaryList = std::forward<FolderSummaryListT>(value);
57 }
58 template <typename FolderSummaryListT = Aws::Vector<FolderSummary>>
59 SearchFoldersResult& WithFolderSummaryList(FolderSummaryListT&& value) {
60 SetFolderSummaryList(std::forward<FolderSummaryListT>(value));
61 return *this;
62 }
63 template <typename FolderSummaryListT = FolderSummary>
64 SearchFoldersResult& AddFolderSummaryList(FolderSummaryListT&& value) {
65 m_folderSummaryListHasBeenSet = true;
66 m_folderSummaryList.emplace_back(std::forward<FolderSummaryListT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetNextToken() const { return m_nextToken; }
77 template <typename NextTokenT = Aws::String>
78 void SetNextToken(NextTokenT&& value) {
79 m_nextTokenHasBeenSet = true;
80 m_nextToken = std::forward<NextTokenT>(value);
81 }
82 template <typename NextTokenT = Aws::String>
83 SearchFoldersResult& WithNextToken(NextTokenT&& value) {
84 SetNextToken(std::forward<NextTokenT>(value));
85 return *this;
86 }
88
90
91 inline const Aws::String& GetRequestId() const { return m_requestId; }
92 template <typename RequestIdT = Aws::String>
93 void SetRequestId(RequestIdT&& value) {
94 m_requestIdHasBeenSet = true;
95 m_requestId = std::forward<RequestIdT>(value);
96 }
97 template <typename RequestIdT = Aws::String>
98 SearchFoldersResult& WithRequestId(RequestIdT&& value) {
99 SetRequestId(std::forward<RequestIdT>(value));
100 return *this;
101 }
103 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
104
105 private:
106 int m_status{0};
107
108 Aws::Vector<FolderSummary> m_folderSummaryList;
109
110 Aws::String m_nextToken;
111
112 Aws::String m_requestId;
113 Aws::Http::HttpResponseCode m_HttpResponseCode;
114 bool m_statusHasBeenSet = false;
115 bool m_folderSummaryListHasBeenSet = false;
116 bool m_nextTokenHasBeenSet = false;
117 bool m_requestIdHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace QuickSight
122} // namespace Aws
SearchFoldersResult & WithFolderSummaryList(FolderSummaryListT &&value)
const Aws::Vector< FolderSummary > & GetFolderSummaryList() const
AWS_QUICKSIGHT_API SearchFoldersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchFoldersResult & AddFolderSummaryList(FolderSummaryListT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetFolderSummaryList(FolderSummaryListT &&value)
AWS_QUICKSIGHT_API SearchFoldersResult()=default
AWS_QUICKSIGHT_API SearchFoldersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SearchFoldersResult & WithRequestId(RequestIdT &&value)
SearchFoldersResult & WithStatus(int value)
SearchFoldersResult & WithNextToken(NextTokenT &&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