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>
45 inline void SetAwsAccountId(
const char* value) { m_awsAccountIdHasBeenSet =
true; m_awsAccountId.assign(value); }
60 inline void SetDataSourceId(
const char* value) { m_dataSourceIdHasBeenSet =
true; m_dataSourceId.assign(value); }
97 bool m_awsAccountIdHasBeenSet =
false;
100 bool m_dataSourceIdHasBeenSet =
false;
103 bool m_grantPermissionsHasBeenSet =
false;
106 bool m_revokePermissionsHasBeenSet =
false;
void SetAwsAccountId(Aws::String &&value)
UpdateDataSourcePermissionsRequest & AddGrantPermissions(ResourcePermission &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
bool GrantPermissionsHasBeenSet() const
void SetRevokePermissions(Aws::Vector< ResourcePermission > &&value)
void SetRevokePermissions(const Aws::Vector< ResourcePermission > &value)
void SetGrantPermissions(Aws::Vector< ResourcePermission > &&value)
void SetAwsAccountId(const char *value)
UpdateDataSourcePermissionsRequest & AddRevokePermissions(const ResourcePermission &value)
AWS_QUICKSIGHT_API UpdateDataSourcePermissionsRequest()
UpdateDataSourcePermissionsRequest & AddRevokePermissions(ResourcePermission &&value)
UpdateDataSourcePermissionsRequest & WithRevokePermissions(const Aws::Vector< ResourcePermission > &value)
UpdateDataSourcePermissionsRequest & WithAwsAccountId(const Aws::String &value)
const Aws::String & GetDataSourceId() const
void SetGrantPermissions(const Aws::Vector< ResourcePermission > &value)
void SetDataSourceId(const char *value)
UpdateDataSourcePermissionsRequest & WithDataSourceId(const char *value)
UpdateDataSourcePermissionsRequest & WithGrantPermissions(const Aws::Vector< ResourcePermission > &value)
UpdateDataSourcePermissionsRequest & WithDataSourceId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
bool AwsAccountIdHasBeenSet() const
const Aws::String & GetAwsAccountId() const
void SetAwsAccountId(const Aws::String &value)
UpdateDataSourcePermissionsRequest & AddGrantPermissions(const ResourcePermission &value)
void SetDataSourceId(Aws::String &&value)
UpdateDataSourcePermissionsRequest & WithGrantPermissions(Aws::Vector< ResourcePermission > &&value)
UpdateDataSourcePermissionsRequest & WithRevokePermissions(Aws::Vector< ResourcePermission > &&value)
void SetDataSourceId(const Aws::String &value)
bool DataSourceIdHasBeenSet() const
UpdateDataSourcePermissionsRequest & WithAwsAccountId(Aws::String &&value)
const Aws::Vector< ResourcePermission > & GetGrantPermissions() const
UpdateDataSourcePermissionsRequest & WithDataSourceId(const Aws::String &value)
const Aws::Vector< ResourcePermission > & GetRevokePermissions() const
bool RevokePermissionsHasBeenSet() const
UpdateDataSourcePermissionsRequest & WithAwsAccountId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector