AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateFolderPermissionsResult.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/ResourcePermission.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace QuickSight
26{
27namespace Model
28{
30 {
31 public:
32 AWS_QUICKSIGHT_API UpdateFolderPermissionsResult();
35
36
38
41 inline int GetStatus() const{ return m_status; }
42 inline void SetStatus(int value) { m_status = value; }
43 inline UpdateFolderPermissionsResult& WithStatus(int value) { SetStatus(value); return *this;}
45
47
50 inline const Aws::String& GetArn() const{ return m_arn; }
51 inline void SetArn(const Aws::String& value) { m_arn = value; }
52 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
53 inline void SetArn(const char* value) { m_arn.assign(value); }
54 inline UpdateFolderPermissionsResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
55 inline UpdateFolderPermissionsResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
56 inline UpdateFolderPermissionsResult& WithArn(const char* value) { SetArn(value); return *this;}
58
60
63 inline const Aws::String& GetFolderId() const{ return m_folderId; }
64 inline void SetFolderId(const Aws::String& value) { m_folderId = value; }
65 inline void SetFolderId(Aws::String&& value) { m_folderId = std::move(value); }
66 inline void SetFolderId(const char* value) { m_folderId.assign(value); }
67 inline UpdateFolderPermissionsResult& WithFolderId(const Aws::String& value) { SetFolderId(value); return *this;}
68 inline UpdateFolderPermissionsResult& WithFolderId(Aws::String&& value) { SetFolderId(std::move(value)); return *this;}
69 inline UpdateFolderPermissionsResult& WithFolderId(const char* value) { SetFolderId(value); return *this;}
71
73
76 inline const Aws::Vector<ResourcePermission>& GetPermissions() const{ return m_permissions; }
77 inline void SetPermissions(const Aws::Vector<ResourcePermission>& value) { m_permissions = value; }
78 inline void SetPermissions(Aws::Vector<ResourcePermission>&& value) { m_permissions = std::move(value); }
81 inline UpdateFolderPermissionsResult& AddPermissions(const ResourcePermission& value) { m_permissions.push_back(value); return *this; }
82 inline UpdateFolderPermissionsResult& AddPermissions(ResourcePermission&& value) { m_permissions.push_back(std::move(value)); return *this; }
84
86
87 inline const Aws::String& GetRequestId() const{ return m_requestId; }
88 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
89 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
90 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
91 inline UpdateFolderPermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
92 inline UpdateFolderPermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
93 inline UpdateFolderPermissionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
95 private:
96
97 int m_status;
98
99 Aws::String m_arn;
100
101 Aws::String m_folderId;
102
104
105 Aws::String m_requestId;
106 };
107
108} // namespace Model
109} // namespace QuickSight
110} // namespace Aws
const Aws::Vector< ResourcePermission > & GetPermissions() const
UpdateFolderPermissionsResult & WithPermissions(const Aws::Vector< ResourcePermission > &value)
AWS_QUICKSIGHT_API UpdateFolderPermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateFolderPermissionsResult & AddPermissions(const ResourcePermission &value)
UpdateFolderPermissionsResult & AddPermissions(ResourcePermission &&value)
UpdateFolderPermissionsResult & WithArn(const Aws::String &value)
UpdateFolderPermissionsResult & WithArn(Aws::String &&value)
AWS_QUICKSIGHT_API UpdateFolderPermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateFolderPermissionsResult & WithFolderId(const char *value)
UpdateFolderPermissionsResult & WithFolderId(const Aws::String &value)
UpdateFolderPermissionsResult & WithRequestId(const Aws::String &value)
UpdateFolderPermissionsResult & WithRequestId(Aws::String &&value)
void SetPermissions(const Aws::Vector< ResourcePermission > &value)
UpdateFolderPermissionsResult & WithPermissions(Aws::Vector< ResourcePermission > &&value)
void SetPermissions(Aws::Vector< ResourcePermission > &&value)
UpdateFolderPermissionsResult & WithRequestId(const char *value)
UpdateFolderPermissionsResult & WithFolderId(Aws::String &&value)
UpdateFolderPermissionsResult & WithArn(const char *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