AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDashboardPermissionsResult.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/LinkSharingConfiguration.h>
11#include <aws/quicksight/model/ResourcePermission.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace QuickSight
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline const Aws::String& GetDashboardId() const{ return m_dashboardId; }
43 inline void SetDashboardId(const Aws::String& value) { m_dashboardId = value; }
44 inline void SetDashboardId(Aws::String&& value) { m_dashboardId = std::move(value); }
45 inline void SetDashboardId(const char* value) { m_dashboardId.assign(value); }
47 inline DescribeDashboardPermissionsResult& WithDashboardId(Aws::String&& value) { SetDashboardId(std::move(value)); return *this;}
48 inline DescribeDashboardPermissionsResult& WithDashboardId(const char* value) { SetDashboardId(value); return *this;}
50
52
55 inline const Aws::String& GetDashboardArn() const{ return m_dashboardArn; }
56 inline void SetDashboardArn(const Aws::String& value) { m_dashboardArn = value; }
57 inline void SetDashboardArn(Aws::String&& value) { m_dashboardArn = std::move(value); }
58 inline void SetDashboardArn(const char* value) { m_dashboardArn.assign(value); }
60 inline DescribeDashboardPermissionsResult& WithDashboardArn(Aws::String&& value) { SetDashboardArn(std::move(value)); return *this;}
61 inline DescribeDashboardPermissionsResult& WithDashboardArn(const char* value) { SetDashboardArn(value); return *this;}
63
65
68 inline const Aws::Vector<ResourcePermission>& GetPermissions() const{ return m_permissions; }
69 inline void SetPermissions(const Aws::Vector<ResourcePermission>& value) { m_permissions = value; }
70 inline void SetPermissions(Aws::Vector<ResourcePermission>&& value) { m_permissions = std::move(value); }
73 inline DescribeDashboardPermissionsResult& AddPermissions(const ResourcePermission& value) { m_permissions.push_back(value); return *this; }
74 inline DescribeDashboardPermissionsResult& AddPermissions(ResourcePermission&& value) { m_permissions.push_back(std::move(value)); return *this; }
76
78
81 inline int GetStatus() const{ return m_status; }
82 inline void SetStatus(int value) { m_status = value; }
83 inline DescribeDashboardPermissionsResult& WithStatus(int value) { SetStatus(value); return *this;}
85
87
88 inline const Aws::String& GetRequestId() const{ return m_requestId; }
89 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
90 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
91 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
92 inline DescribeDashboardPermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
93 inline DescribeDashboardPermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
94 inline DescribeDashboardPermissionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
96
98
106 inline const LinkSharingConfiguration& GetLinkSharingConfiguration() const{ return m_linkSharingConfiguration; }
107 inline void SetLinkSharingConfiguration(const LinkSharingConfiguration& value) { m_linkSharingConfiguration = value; }
108 inline void SetLinkSharingConfiguration(LinkSharingConfiguration&& value) { m_linkSharingConfiguration = std::move(value); }
112 private:
113
114 Aws::String m_dashboardId;
115
116 Aws::String m_dashboardArn;
117
119
120 int m_status;
121
122 Aws::String m_requestId;
123
124 LinkSharingConfiguration m_linkSharingConfiguration;
125 };
126
127} // namespace Model
128} // namespace QuickSight
129} // namespace Aws
DescribeDashboardPermissionsResult & WithDashboardArn(const Aws::String &value)
DescribeDashboardPermissionsResult & WithLinkSharingConfiguration(LinkSharingConfiguration &&value)
DescribeDashboardPermissionsResult & WithPermissions(Aws::Vector< ResourcePermission > &&value)
DescribeDashboardPermissionsResult & WithDashboardArn(const char *value)
DescribeDashboardPermissionsResult & AddPermissions(ResourcePermission &&value)
void SetPermissions(const Aws::Vector< ResourcePermission > &value)
DescribeDashboardPermissionsResult & WithDashboardArn(Aws::String &&value)
DescribeDashboardPermissionsResult & WithDashboardId(const Aws::String &value)
AWS_QUICKSIGHT_API DescribeDashboardPermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDashboardPermissionsResult & WithDashboardId(Aws::String &&value)
DescribeDashboardPermissionsResult & AddPermissions(const ResourcePermission &value)
DescribeDashboardPermissionsResult & WithRequestId(const Aws::String &value)
DescribeDashboardPermissionsResult & WithDashboardId(const char *value)
DescribeDashboardPermissionsResult & WithLinkSharingConfiguration(const LinkSharingConfiguration &value)
AWS_QUICKSIGHT_API DescribeDashboardPermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDashboardPermissionsResult & WithRequestId(const char *value)
DescribeDashboardPermissionsResult & WithPermissions(const Aws::Vector< ResourcePermission > &value)
DescribeDashboardPermissionsResult & WithRequestId(Aws::String &&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