AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DescribeFolderResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/Folder.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight {
23namespace Model {
25 public:
26 AWS_QUICKSIGHT_API DescribeFolderResult() = default;
29
31
34 inline int GetStatus() const { return m_status; }
35 inline void SetStatus(int value) {
36 m_statusHasBeenSet = true;
37 m_status = value;
38 }
39 inline DescribeFolderResult& WithStatus(int value) {
40 SetStatus(value);
41 return *this;
42 }
44
46
49 inline const Folder& GetFolder() const { return m_folder; }
50 template <typename FolderT = Folder>
51 void SetFolder(FolderT&& value) {
52 m_folderHasBeenSet = true;
53 m_folder = std::forward<FolderT>(value);
54 }
55 template <typename FolderT = Folder>
56 DescribeFolderResult& WithFolder(FolderT&& value) {
57 SetFolder(std::forward<FolderT>(value));
58 return *this;
59 }
61
63
64 inline const Aws::String& GetRequestId() const { return m_requestId; }
65 template <typename RequestIdT = Aws::String>
66 void SetRequestId(RequestIdT&& value) {
67 m_requestIdHasBeenSet = true;
68 m_requestId = std::forward<RequestIdT>(value);
69 }
70 template <typename RequestIdT = Aws::String>
71 DescribeFolderResult& WithRequestId(RequestIdT&& value) {
72 SetRequestId(std::forward<RequestIdT>(value));
73 return *this;
74 }
76 private:
77 int m_status{0};
78
79 Folder m_folder;
80
81 Aws::String m_requestId;
82 bool m_statusHasBeenSet = false;
83 bool m_folderHasBeenSet = false;
84 bool m_requestIdHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace QuickSight
89} // namespace Aws
AWS_QUICKSIGHT_API DescribeFolderResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFolderResult & WithStatus(int value)
DescribeFolderResult & WithFolder(FolderT &&value)
AWS_QUICKSIGHT_API DescribeFolderResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QUICKSIGHT_API DescribeFolderResult()=default
DescribeFolderResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue