AWS SDK for C++  1.9.154
AWS SDK for C++
DescribeDashboardPermissionsResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace QuickSight
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const Aws::String& GetDashboardId() const{ return m_dashboardId; }
42 
46  inline void SetDashboardId(const Aws::String& value) { m_dashboardId = value; }
47 
51  inline void SetDashboardId(Aws::String&& value) { m_dashboardId = std::move(value); }
52 
56  inline void SetDashboardId(const char* value) { m_dashboardId.assign(value); }
57 
61  inline DescribeDashboardPermissionsResult& WithDashboardId(const Aws::String& value) { SetDashboardId(value); return *this;}
62 
66  inline DescribeDashboardPermissionsResult& WithDashboardId(Aws::String&& value) { SetDashboardId(std::move(value)); return *this;}
67 
71  inline DescribeDashboardPermissionsResult& WithDashboardId(const char* value) { SetDashboardId(value); return *this;}
72 
73 
77  inline const Aws::String& GetDashboardArn() const{ return m_dashboardArn; }
78 
82  inline void SetDashboardArn(const Aws::String& value) { m_dashboardArn = value; }
83 
87  inline void SetDashboardArn(Aws::String&& value) { m_dashboardArn = std::move(value); }
88 
92  inline void SetDashboardArn(const char* value) { m_dashboardArn.assign(value); }
93 
97  inline DescribeDashboardPermissionsResult& WithDashboardArn(const Aws::String& value) { SetDashboardArn(value); return *this;}
98 
102  inline DescribeDashboardPermissionsResult& WithDashboardArn(Aws::String&& value) { SetDashboardArn(std::move(value)); return *this;}
103 
107  inline DescribeDashboardPermissionsResult& WithDashboardArn(const char* value) { SetDashboardArn(value); return *this;}
108 
109 
113  inline const Aws::Vector<ResourcePermission>& GetPermissions() const{ return m_permissions; }
114 
118  inline void SetPermissions(const Aws::Vector<ResourcePermission>& value) { m_permissions = value; }
119 
123  inline void SetPermissions(Aws::Vector<ResourcePermission>&& value) { m_permissions = std::move(value); }
124 
128  inline DescribeDashboardPermissionsResult& WithPermissions(const Aws::Vector<ResourcePermission>& value) { SetPermissions(value); return *this;}
129 
133  inline DescribeDashboardPermissionsResult& WithPermissions(Aws::Vector<ResourcePermission>&& value) { SetPermissions(std::move(value)); return *this;}
134 
138  inline DescribeDashboardPermissionsResult& AddPermissions(const ResourcePermission& value) { m_permissions.push_back(value); return *this; }
139 
143  inline DescribeDashboardPermissionsResult& AddPermissions(ResourcePermission&& value) { m_permissions.push_back(std::move(value)); return *this; }
144 
145 
149  inline int GetStatus() const{ return m_status; }
150 
154  inline void SetStatus(int value) { m_status = value; }
155 
159  inline DescribeDashboardPermissionsResult& WithStatus(int value) { SetStatus(value); return *this;}
160 
161 
165  inline const Aws::String& GetRequestId() const{ return m_requestId; }
166 
170  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
171 
175  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
176 
180  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
181 
185  inline DescribeDashboardPermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
186 
190  inline DescribeDashboardPermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
191 
195  inline DescribeDashboardPermissionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
196 
197 
206  inline const LinkSharingConfiguration& GetLinkSharingConfiguration() const{ return m_linkSharingConfiguration; }
207 
216  inline void SetLinkSharingConfiguration(const LinkSharingConfiguration& value) { m_linkSharingConfiguration = value; }
217 
226  inline void SetLinkSharingConfiguration(LinkSharingConfiguration&& value) { m_linkSharingConfiguration = std::move(value); }
227 
236  inline DescribeDashboardPermissionsResult& WithLinkSharingConfiguration(const LinkSharingConfiguration& value) { SetLinkSharingConfiguration(value); return *this;}
237 
246  inline DescribeDashboardPermissionsResult& WithLinkSharingConfiguration(LinkSharingConfiguration&& value) { SetLinkSharingConfiguration(std::move(value)); return *this;}
247 
248  private:
249 
250  Aws::String m_dashboardId;
251 
252  Aws::String m_dashboardArn;
253 
254  Aws::Vector<ResourcePermission> m_permissions;
255 
256  int m_status;
257 
258  Aws::String m_requestId;
259 
260  LinkSharingConfiguration m_linkSharingConfiguration;
261  };
262 
263 } // namespace Model
264 } // namespace QuickSight
265 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
QuickSight_EXPORTS.h
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::WithPermissions
DescribeDashboardPermissionsResult & WithPermissions(Aws::Vector< ResourcePermission > &&value)
Definition: DescribeDashboardPermissionsResult.h:133
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::WithRequestId
DescribeDashboardPermissionsResult & WithRequestId(const Aws::String &value)
Definition: DescribeDashboardPermissionsResult.h:185
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::WithLinkSharingConfiguration
DescribeDashboardPermissionsResult & WithLinkSharingConfiguration(LinkSharingConfiguration &&value)
Definition: DescribeDashboardPermissionsResult.h:246
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::SetDashboardId
void SetDashboardId(const Aws::String &value)
Definition: DescribeDashboardPermissionsResult.h:46
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::AddPermissions
DescribeDashboardPermissionsResult & AddPermissions(ResourcePermission &&value)
Definition: DescribeDashboardPermissionsResult.h:143
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::WithDashboardId
DescribeDashboardPermissionsResult & WithDashboardId(Aws::String &&value)
Definition: DescribeDashboardPermissionsResult.h:66
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::SetPermissions
void SetPermissions(const Aws::Vector< ResourcePermission > &value)
Definition: DescribeDashboardPermissionsResult.h:118
Aws::QuickSight::Model::DescribeDashboardPermissionsResult
Definition: DescribeDashboardPermissionsResult.h:31
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::WithStatus
DescribeDashboardPermissionsResult & WithStatus(int value)
Definition: DescribeDashboardPermissionsResult.h:159
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::SetPermissions
void SetPermissions(Aws::Vector< ResourcePermission > &&value)
Definition: DescribeDashboardPermissionsResult.h:123
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::WithPermissions
DescribeDashboardPermissionsResult & WithPermissions(const Aws::Vector< ResourcePermission > &value)
Definition: DescribeDashboardPermissionsResult.h:128
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: DescribeDashboardPermissionsResult.h:175
ResourcePermission.h
AWSVector.h
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::WithDashboardId
DescribeDashboardPermissionsResult & WithDashboardId(const char *value)
Definition: DescribeDashboardPermissionsResult.h:71
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: DescribeDashboardPermissionsResult.h:170
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::SetRequestId
void SetRequestId(const char *value)
Definition: DescribeDashboardPermissionsResult.h:180
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::GetDashboardArn
const Aws::String & GetDashboardArn() const
Definition: DescribeDashboardPermissionsResult.h:77
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::WithRequestId
DescribeDashboardPermissionsResult & WithRequestId(Aws::String &&value)
Definition: DescribeDashboardPermissionsResult.h:190
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::SetLinkSharingConfiguration
void SetLinkSharingConfiguration(const LinkSharingConfiguration &value)
Definition: DescribeDashboardPermissionsResult.h:216
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::WithRequestId
DescribeDashboardPermissionsResult & WithRequestId(const char *value)
Definition: DescribeDashboardPermissionsResult.h:195
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::WithDashboardArn
DescribeDashboardPermissionsResult & WithDashboardArn(Aws::String &&value)
Definition: DescribeDashboardPermissionsResult.h:102
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::GetStatus
int GetStatus() const
Definition: DescribeDashboardPermissionsResult.h:149
Aws::QuickSight::Model::ResourcePermission
Definition: ResourcePermission.h:33
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::SetStatus
void SetStatus(int value)
Definition: DescribeDashboardPermissionsResult.h:154
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::SetDashboardId
void SetDashboardId(const char *value)
Definition: DescribeDashboardPermissionsResult.h:56
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::GetPermissions
const Aws::Vector< ResourcePermission > & GetPermissions() const
Definition: DescribeDashboardPermissionsResult.h:113
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::WithDashboardId
DescribeDashboardPermissionsResult & WithDashboardId(const Aws::String &value)
Definition: DescribeDashboardPermissionsResult.h:61
AWSString.h
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::DescribeDashboardPermissionsResult
DescribeDashboardPermissionsResult()
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::SetDashboardArn
void SetDashboardArn(const Aws::String &value)
Definition: DescribeDashboardPermissionsResult.h:82
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::GetLinkSharingConfiguration
const LinkSharingConfiguration & GetLinkSharingConfiguration() const
Definition: DescribeDashboardPermissionsResult.h:206
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::SetLinkSharingConfiguration
void SetLinkSharingConfiguration(LinkSharingConfiguration &&value)
Definition: DescribeDashboardPermissionsResult.h:226
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::DescribeDashboardPermissionsResult
DescribeDashboardPermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::SetDashboardId
void SetDashboardId(Aws::String &&value)
Definition: DescribeDashboardPermissionsResult.h:51
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::WithLinkSharingConfiguration
DescribeDashboardPermissionsResult & WithLinkSharingConfiguration(const LinkSharingConfiguration &value)
Definition: DescribeDashboardPermissionsResult.h:236
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: DescribeDashboardPermissionsResult.h:165
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::WithDashboardArn
DescribeDashboardPermissionsResult & WithDashboardArn(const char *value)
Definition: DescribeDashboardPermissionsResult.h:107
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::GetDashboardId
const Aws::String & GetDashboardId() const
Definition: DescribeDashboardPermissionsResult.h:41
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::WithDashboardArn
DescribeDashboardPermissionsResult & WithDashboardArn(const Aws::String &value)
Definition: DescribeDashboardPermissionsResult.h:97
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::SetDashboardArn
void SetDashboardArn(const char *value)
Definition: DescribeDashboardPermissionsResult.h:92
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::AddPermissions
DescribeDashboardPermissionsResult & AddPermissions(const ResourcePermission &value)
Definition: DescribeDashboardPermissionsResult.h:138
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::operator=
DescribeDashboardPermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::DescribeDashboardPermissionsResult::SetDashboardArn
void SetDashboardArn(Aws::String &&value)
Definition: DescribeDashboardPermissionsResult.h:87