AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateFolderResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
24 public:
25 AWS_QUICKSIGHT_API CreateFolderResult() = default;
28
30
33 inline int GetStatus() const { return m_status; }
34 inline void SetStatus(int value) {
35 m_statusHasBeenSet = true;
36 m_status = value;
37 }
38 inline CreateFolderResult& WithStatus(int value) {
39 SetStatus(value);
40 return *this;
41 }
43
45
48 inline const Aws::String& GetArn() const { return m_arn; }
49 template <typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) {
51 m_arnHasBeenSet = true;
52 m_arn = std::forward<ArnT>(value);
53 }
54 template <typename ArnT = Aws::String>
55 CreateFolderResult& WithArn(ArnT&& value) {
56 SetArn(std::forward<ArnT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetFolderId() const { return m_folderId; }
66 template <typename FolderIdT = Aws::String>
67 void SetFolderId(FolderIdT&& value) {
68 m_folderIdHasBeenSet = true;
69 m_folderId = std::forward<FolderIdT>(value);
70 }
71 template <typename FolderIdT = Aws::String>
72 CreateFolderResult& WithFolderId(FolderIdT&& value) {
73 SetFolderId(std::forward<FolderIdT>(value));
74 return *this;
75 }
77
79
80 inline const Aws::String& GetRequestId() const { return m_requestId; }
81 template <typename RequestIdT = Aws::String>
82 void SetRequestId(RequestIdT&& value) {
83 m_requestIdHasBeenSet = true;
84 m_requestId = std::forward<RequestIdT>(value);
85 }
86 template <typename RequestIdT = Aws::String>
87 CreateFolderResult& WithRequestId(RequestIdT&& value) {
88 SetRequestId(std::forward<RequestIdT>(value));
89 return *this;
90 }
92 private:
93 int m_status{0};
94
95 Aws::String m_arn;
96
97 Aws::String m_folderId;
98
99 Aws::String m_requestId;
100 bool m_statusHasBeenSet = false;
101 bool m_arnHasBeenSet = false;
102 bool m_folderIdHasBeenSet = false;
103 bool m_requestIdHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace QuickSight
108} // namespace Aws
AWS_QUICKSIGHT_API CreateFolderResult()=default
CreateFolderResult & WithStatus(int value)
CreateFolderResult & WithRequestId(RequestIdT &&value)
CreateFolderResult & WithArn(ArnT &&value)
CreateFolderResult & WithFolderId(FolderIdT &&value)
AWS_QUICKSIGHT_API CreateFolderResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QUICKSIGHT_API CreateFolderResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue