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); }
59 inline void SetTemplateId(
const char* value) { m_templateIdHasBeenSet =
true; m_templateId.assign(value); }
95 bool m_awsAccountIdHasBeenSet =
false;
98 bool m_templateIdHasBeenSet =
false;
101 bool m_grantPermissionsHasBeenSet =
false;
104 bool m_revokePermissionsHasBeenSet =
false;
void SetTemplateId(Aws::String &&value)
UpdateTemplatePermissionsRequest & WithAwsAccountId(const Aws::String &value)
UpdateTemplatePermissionsRequest & WithGrantPermissions(const Aws::Vector< ResourcePermission > &value)
UpdateTemplatePermissionsRequest & WithRevokePermissions(Aws::Vector< ResourcePermission > &&value)
const Aws::Vector< ResourcePermission > & GetRevokePermissions() const
void SetTemplateId(const char *value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
void SetRevokePermissions(Aws::Vector< ResourcePermission > &&value)
void SetAwsAccountId(const Aws::String &value)
bool TemplateIdHasBeenSet() const
UpdateTemplatePermissionsRequest & WithTemplateId(Aws::String &&value)
void SetGrantPermissions(const Aws::Vector< ResourcePermission > &value)
const Aws::String & GetTemplateId() const
bool RevokePermissionsHasBeenSet() const
void SetTemplateId(const Aws::String &value)
void SetAwsAccountId(Aws::String &&value)
UpdateTemplatePermissionsRequest & AddGrantPermissions(ResourcePermission &&value)
UpdateTemplatePermissionsRequest & AddRevokePermissions(const ResourcePermission &value)
UpdateTemplatePermissionsRequest & WithTemplateId(const char *value)
bool AwsAccountIdHasBeenSet() const
const Aws::String & GetAwsAccountId() const
UpdateTemplatePermissionsRequest & WithRevokePermissions(const Aws::Vector< ResourcePermission > &value)
UpdateTemplatePermissionsRequest & WithTemplateId(const Aws::String &value)
UpdateTemplatePermissionsRequest & WithGrantPermissions(Aws::Vector< ResourcePermission > &&value)
const Aws::Vector< ResourcePermission > & GetGrantPermissions() const
UpdateTemplatePermissionsRequest & AddGrantPermissions(const ResourcePermission &value)
UpdateTemplatePermissionsRequest & AddRevokePermissions(ResourcePermission &&value)
void SetGrantPermissions(Aws::Vector< ResourcePermission > &&value)
virtual const char * GetServiceRequestName() const override
AWS_QUICKSIGHT_API UpdateTemplatePermissionsRequest()
UpdateTemplatePermissionsRequest & WithAwsAccountId(Aws::String &&value)
UpdateTemplatePermissionsRequest & WithAwsAccountId(const char *value)
void SetAwsAccountId(const char *value)
void SetRevokePermissions(const Aws::Vector< ResourcePermission > &value)
bool GrantPermissionsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector