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>
43 template<
typename AwsAccountIdT = Aws::String>
44 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet =
true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
45 template<
typename AwsAccountIdT = Aws::String>
55 template<
typename ThemeIdT = Aws::String>
56 void SetThemeId(ThemeIdT&& value) { m_themeIdHasBeenSet =
true; m_themeId = std::forward<ThemeIdT>(value); }
57 template<
typename ThemeIdT = Aws::String>
67 template<
typename GrantPermissionsT = Aws::Vector<ResourcePermission>>
68 void SetGrantPermissions(GrantPermissionsT&& value) { m_grantPermissionsHasBeenSet =
true; m_grantPermissions = std::forward<GrantPermissionsT>(value); }
69 template<
typename GrantPermissionsT = Aws::Vector<ResourcePermission>>
71 template<
typename GrantPermissionsT = ResourcePermission>
81 template<
typename RevokePermissionsT = Aws::Vector<ResourcePermission>>
82 void SetRevokePermissions(RevokePermissionsT&& value) { m_revokePermissionsHasBeenSet =
true; m_revokePermissions = std::forward<RevokePermissionsT>(value); }
83 template<
typename RevokePermissionsT = Aws::Vector<ResourcePermission>>
85 template<
typename RevokePermissionsT = ResourcePermission>
91 bool m_awsAccountIdHasBeenSet =
false;
94 bool m_themeIdHasBeenSet =
false;
97 bool m_grantPermissionsHasBeenSet =
false;
100 bool m_revokePermissionsHasBeenSet =
false;
UpdateThemePermissionsRequest & WithThemeId(ThemeIdT &&value)
void SetThemeId(ThemeIdT &&value)
const Aws::Vector< ResourcePermission > & GetGrantPermissions() const
void SetAwsAccountId(AwsAccountIdT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
UpdateThemePermissionsRequest & WithRevokePermissions(RevokePermissionsT &&value)
UpdateThemePermissionsRequest & WithGrantPermissions(GrantPermissionsT &&value)
virtual const char * GetServiceRequestName() const override
void SetGrantPermissions(GrantPermissionsT &&value)
bool RevokePermissionsHasBeenSet() const
void SetRevokePermissions(RevokePermissionsT &&value)
const Aws::String & GetAwsAccountId() const
bool GrantPermissionsHasBeenSet() const
UpdateThemePermissionsRequest & AddGrantPermissions(GrantPermissionsT &&value)
const Aws::Vector< ResourcePermission > & GetRevokePermissions() const
UpdateThemePermissionsRequest & WithAwsAccountId(AwsAccountIdT &&value)
AWS_QUICKSIGHT_API UpdateThemePermissionsRequest()=default
UpdateThemePermissionsRequest & AddRevokePermissions(RevokePermissionsT &&value)
const Aws::String & GetThemeId() const
bool AwsAccountIdHasBeenSet() const
bool ThemeIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector