AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDashboardPermissionsRequest.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/quicksight/model/ResourcePermission.h>
12#include <utility>
13
14namespace Aws
15{
16namespace QuickSight
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateDashboardPermissions"; }
33
34 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
43 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
44 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
45 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
46 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
48 inline UpdateDashboardPermissionsRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
49 inline UpdateDashboardPermissionsRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
51
53
56 inline const Aws::String& GetDashboardId() const{ return m_dashboardId; }
57 inline bool DashboardIdHasBeenSet() const { return m_dashboardIdHasBeenSet; }
58 inline void SetDashboardId(const Aws::String& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = value; }
59 inline void SetDashboardId(Aws::String&& value) { m_dashboardIdHasBeenSet = true; m_dashboardId = std::move(value); }
60 inline void SetDashboardId(const char* value) { m_dashboardIdHasBeenSet = true; m_dashboardId.assign(value); }
61 inline UpdateDashboardPermissionsRequest& WithDashboardId(const Aws::String& value) { SetDashboardId(value); return *this;}
62 inline UpdateDashboardPermissionsRequest& WithDashboardId(Aws::String&& value) { SetDashboardId(std::move(value)); return *this;}
63 inline UpdateDashboardPermissionsRequest& WithDashboardId(const char* value) { SetDashboardId(value); return *this;}
65
67
70 inline const Aws::Vector<ResourcePermission>& GetGrantPermissions() const{ return m_grantPermissions; }
71 inline bool GrantPermissionsHasBeenSet() const { return m_grantPermissionsHasBeenSet; }
72 inline void SetGrantPermissions(const Aws::Vector<ResourcePermission>& value) { m_grantPermissionsHasBeenSet = true; m_grantPermissions = value; }
73 inline void SetGrantPermissions(Aws::Vector<ResourcePermission>&& value) { m_grantPermissionsHasBeenSet = true; m_grantPermissions = std::move(value); }
76 inline UpdateDashboardPermissionsRequest& AddGrantPermissions(const ResourcePermission& value) { m_grantPermissionsHasBeenSet = true; m_grantPermissions.push_back(value); return *this; }
77 inline UpdateDashboardPermissionsRequest& AddGrantPermissions(ResourcePermission&& value) { m_grantPermissionsHasBeenSet = true; m_grantPermissions.push_back(std::move(value)); return *this; }
79
81
84 inline const Aws::Vector<ResourcePermission>& GetRevokePermissions() const{ return m_revokePermissions; }
85 inline bool RevokePermissionsHasBeenSet() const { return m_revokePermissionsHasBeenSet; }
86 inline void SetRevokePermissions(const Aws::Vector<ResourcePermission>& value) { m_revokePermissionsHasBeenSet = true; m_revokePermissions = value; }
87 inline void SetRevokePermissions(Aws::Vector<ResourcePermission>&& value) { m_revokePermissionsHasBeenSet = true; m_revokePermissions = std::move(value); }
90 inline UpdateDashboardPermissionsRequest& AddRevokePermissions(const ResourcePermission& value) { m_revokePermissionsHasBeenSet = true; m_revokePermissions.push_back(value); return *this; }
91 inline UpdateDashboardPermissionsRequest& AddRevokePermissions(ResourcePermission&& value) { m_revokePermissionsHasBeenSet = true; m_revokePermissions.push_back(std::move(value)); return *this; }
93
95
98 inline const Aws::Vector<ResourcePermission>& GetGrantLinkPermissions() const{ return m_grantLinkPermissions; }
99 inline bool GrantLinkPermissionsHasBeenSet() const { return m_grantLinkPermissionsHasBeenSet; }
100 inline void SetGrantLinkPermissions(const Aws::Vector<ResourcePermission>& value) { m_grantLinkPermissionsHasBeenSet = true; m_grantLinkPermissions = value; }
101 inline void SetGrantLinkPermissions(Aws::Vector<ResourcePermission>&& value) { m_grantLinkPermissionsHasBeenSet = true; m_grantLinkPermissions = std::move(value); }
104 inline UpdateDashboardPermissionsRequest& AddGrantLinkPermissions(const ResourcePermission& value) { m_grantLinkPermissionsHasBeenSet = true; m_grantLinkPermissions.push_back(value); return *this; }
105 inline UpdateDashboardPermissionsRequest& AddGrantLinkPermissions(ResourcePermission&& value) { m_grantLinkPermissionsHasBeenSet = true; m_grantLinkPermissions.push_back(std::move(value)); return *this; }
107
109
112 inline const Aws::Vector<ResourcePermission>& GetRevokeLinkPermissions() const{ return m_revokeLinkPermissions; }
113 inline bool RevokeLinkPermissionsHasBeenSet() const { return m_revokeLinkPermissionsHasBeenSet; }
114 inline void SetRevokeLinkPermissions(const Aws::Vector<ResourcePermission>& value) { m_revokeLinkPermissionsHasBeenSet = true; m_revokeLinkPermissions = value; }
115 inline void SetRevokeLinkPermissions(Aws::Vector<ResourcePermission>&& value) { m_revokeLinkPermissionsHasBeenSet = true; m_revokeLinkPermissions = std::move(value); }
118 inline UpdateDashboardPermissionsRequest& AddRevokeLinkPermissions(const ResourcePermission& value) { m_revokeLinkPermissionsHasBeenSet = true; m_revokeLinkPermissions.push_back(value); return *this; }
119 inline UpdateDashboardPermissionsRequest& AddRevokeLinkPermissions(ResourcePermission&& value) { m_revokeLinkPermissionsHasBeenSet = true; m_revokeLinkPermissions.push_back(std::move(value)); return *this; }
121 private:
122
123 Aws::String m_awsAccountId;
124 bool m_awsAccountIdHasBeenSet = false;
125
126 Aws::String m_dashboardId;
127 bool m_dashboardIdHasBeenSet = false;
128
129 Aws::Vector<ResourcePermission> m_grantPermissions;
130 bool m_grantPermissionsHasBeenSet = false;
131
132 Aws::Vector<ResourcePermission> m_revokePermissions;
133 bool m_revokePermissionsHasBeenSet = false;
134
135 Aws::Vector<ResourcePermission> m_grantLinkPermissions;
136 bool m_grantLinkPermissionsHasBeenSet = false;
137
138 Aws::Vector<ResourcePermission> m_revokeLinkPermissions;
139 bool m_revokeLinkPermissionsHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace QuickSight
144} // namespace Aws
void SetRevokeLinkPermissions(const Aws::Vector< ResourcePermission > &value)
UpdateDashboardPermissionsRequest & WithGrantLinkPermissions(Aws::Vector< ResourcePermission > &&value)
UpdateDashboardPermissionsRequest & AddRevokeLinkPermissions(ResourcePermission &&value)
UpdateDashboardPermissionsRequest & WithGrantLinkPermissions(const Aws::Vector< ResourcePermission > &value)
UpdateDashboardPermissionsRequest & AddRevokePermissions(ResourcePermission &&value)
void SetRevokePermissions(const Aws::Vector< ResourcePermission > &value)
UpdateDashboardPermissionsRequest & WithDashboardId(const Aws::String &value)
UpdateDashboardPermissionsRequest & AddGrantLinkPermissions(const ResourcePermission &value)
void SetGrantPermissions(const Aws::Vector< ResourcePermission > &value)
UpdateDashboardPermissionsRequest & WithAwsAccountId(Aws::String &&value)
UpdateDashboardPermissionsRequest & AddRevokePermissions(const ResourcePermission &value)
UpdateDashboardPermissionsRequest & WithRevokePermissions(Aws::Vector< ResourcePermission > &&value)
UpdateDashboardPermissionsRequest & WithDashboardId(Aws::String &&value)
void SetGrantLinkPermissions(Aws::Vector< ResourcePermission > &&value)
const Aws::Vector< ResourcePermission > & GetGrantPermissions() const
UpdateDashboardPermissionsRequest & AddRevokeLinkPermissions(const ResourcePermission &value)
void SetGrantLinkPermissions(const Aws::Vector< ResourcePermission > &value)
UpdateDashboardPermissionsRequest & WithAwsAccountId(const Aws::String &value)
UpdateDashboardPermissionsRequest & WithGrantPermissions(Aws::Vector< ResourcePermission > &&value)
void SetRevokeLinkPermissions(Aws::Vector< ResourcePermission > &&value)
UpdateDashboardPermissionsRequest & AddGrantPermissions(const ResourcePermission &value)
const Aws::Vector< ResourcePermission > & GetRevokeLinkPermissions() const
void SetRevokePermissions(Aws::Vector< ResourcePermission > &&value)
const Aws::Vector< ResourcePermission > & GetGrantLinkPermissions() const
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
UpdateDashboardPermissionsRequest & WithDashboardId(const char *value)
UpdateDashboardPermissionsRequest & WithRevokeLinkPermissions(const Aws::Vector< ResourcePermission > &value)
UpdateDashboardPermissionsRequest & AddGrantLinkPermissions(ResourcePermission &&value)
UpdateDashboardPermissionsRequest & AddGrantPermissions(ResourcePermission &&value)
UpdateDashboardPermissionsRequest & WithGrantPermissions(const Aws::Vector< ResourcePermission > &value)
const Aws::Vector< ResourcePermission > & GetRevokePermissions() const
void SetGrantPermissions(Aws::Vector< ResourcePermission > &&value)
UpdateDashboardPermissionsRequest & WithRevokeLinkPermissions(Aws::Vector< ResourcePermission > &&value)
UpdateDashboardPermissionsRequest & WithAwsAccountId(const char *value)
UpdateDashboardPermissionsRequest & WithRevokePermissions(const Aws::Vector< ResourcePermission > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector