AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDashboardPermissionsResult.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& GetDashboardArn() const{ return m_dashboardArn; }
43 inline void SetDashboardArn(const Aws::String& value) { m_dashboardArn = value; }
44 inline void SetDashboardArn(Aws::String&& value) { m_dashboardArn = std::move(value); }
45 inline void SetDashboardArn(const char* value) { m_dashboardArn.assign(value); }
47 inline UpdateDashboardPermissionsResult& WithDashboardArn(Aws::String&& value) { SetDashboardArn(std::move(value)); return *this;}
48 inline UpdateDashboardPermissionsResult& WithDashboardArn(const char* value) { SetDashboardArn(value); return *this;}
50
52
55 inline const Aws::String& GetDashboardId() const{ return m_dashboardId; }
56 inline void SetDashboardId(const Aws::String& value) { m_dashboardId = value; }
57 inline void SetDashboardId(Aws::String&& value) { m_dashboardId = std::move(value); }
58 inline void SetDashboardId(const char* value) { m_dashboardId.assign(value); }
59 inline UpdateDashboardPermissionsResult& WithDashboardId(const Aws::String& value) { SetDashboardId(value); return *this;}
60 inline UpdateDashboardPermissionsResult& WithDashboardId(Aws::String&& value) { SetDashboardId(std::move(value)); return *this;}
61 inline UpdateDashboardPermissionsResult& WithDashboardId(const char* value) { SetDashboardId(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 UpdateDashboardPermissionsResult& AddPermissions(const ResourcePermission& value) { m_permissions.push_back(value); return *this; }
74 inline UpdateDashboardPermissionsResult& AddPermissions(ResourcePermission&& value) { m_permissions.push_back(std::move(value)); return *this; }
76
78
79 inline const Aws::String& GetRequestId() const{ return m_requestId; }
80 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
81 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
82 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
83 inline UpdateDashboardPermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
84 inline UpdateDashboardPermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
85 inline UpdateDashboardPermissionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
87
89
92 inline int GetStatus() const{ return m_status; }
93 inline void SetStatus(int value) { m_status = value; }
94 inline UpdateDashboardPermissionsResult& WithStatus(int value) { SetStatus(value); return *this;}
96
98
102 inline const LinkSharingConfiguration& GetLinkSharingConfiguration() const{ return m_linkSharingConfiguration; }
103 inline void SetLinkSharingConfiguration(const LinkSharingConfiguration& value) { m_linkSharingConfiguration = value; }
104 inline void SetLinkSharingConfiguration(LinkSharingConfiguration&& value) { m_linkSharingConfiguration = std::move(value); }
108 private:
109
110 Aws::String m_dashboardArn;
111
112 Aws::String m_dashboardId;
113
115
116 Aws::String m_requestId;
117
118 int m_status;
119
120 LinkSharingConfiguration m_linkSharingConfiguration;
121 };
122
123} // namespace Model
124} // namespace QuickSight
125} // namespace Aws
UpdateDashboardPermissionsResult & WithRequestId(const Aws::String &value)
UpdateDashboardPermissionsResult & WithDashboardId(Aws::String &&value)
void SetPermissions(const Aws::Vector< ResourcePermission > &value)
UpdateDashboardPermissionsResult & WithRequestId(Aws::String &&value)
UpdateDashboardPermissionsResult & WithRequestId(const char *value)
UpdateDashboardPermissionsResult & WithDashboardArn(Aws::String &&value)
AWS_QUICKSIGHT_API UpdateDashboardPermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLinkSharingConfiguration(const LinkSharingConfiguration &value)
UpdateDashboardPermissionsResult & WithPermissions(Aws::Vector< ResourcePermission > &&value)
UpdateDashboardPermissionsResult & WithDashboardId(const Aws::String &value)
UpdateDashboardPermissionsResult & WithLinkSharingConfiguration(const LinkSharingConfiguration &value)
UpdateDashboardPermissionsResult & WithDashboardId(const char *value)
UpdateDashboardPermissionsResult & AddPermissions(const ResourcePermission &value)
const Aws::Vector< ResourcePermission > & GetPermissions() const
UpdateDashboardPermissionsResult & AddPermissions(ResourcePermission &&value)
UpdateDashboardPermissionsResult & WithPermissions(const Aws::Vector< ResourcePermission > &value)
AWS_QUICKSIGHT_API UpdateDashboardPermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPermissions(Aws::Vector< ResourcePermission > &&value)
UpdateDashboardPermissionsResult & WithDashboardArn(const char *value)
UpdateDashboardPermissionsResult & WithLinkSharingConfiguration(LinkSharingConfiguration &&value)
UpdateDashboardPermissionsResult & WithDashboardArn(const 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