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>
46 inline void SetAwsAccountId(
const char* value) { m_awsAccountIdHasBeenSet =
true; m_awsAccountId.assign(value); }
61 inline void SetTopicId(
const char* value) { m_topicIdHasBeenSet =
true; m_topicId.assign(value); }
97 bool m_awsAccountIdHasBeenSet =
false;
100 bool m_topicIdHasBeenSet =
false;
103 bool m_grantPermissionsHasBeenSet =
false;
106 bool m_revokePermissionsHasBeenSet =
false;
const Aws::Vector< ResourcePermission > & GetRevokePermissions() const
UpdateTopicPermissionsRequest & AddGrantPermissions(const ResourcePermission &value)
UpdateTopicPermissionsRequest & AddRevokePermissions(const ResourcePermission &value)
UpdateTopicPermissionsRequest & WithGrantPermissions(Aws::Vector< ResourcePermission > &&value)
void SetGrantPermissions(const Aws::Vector< ResourcePermission > &value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
bool GrantPermissionsHasBeenSet() const
void SetRevokePermissions(Aws::Vector< ResourcePermission > &&value)
void SetAwsAccountId(const char *value)
const Aws::String & GetAwsAccountId() const
void SetTopicId(const Aws::String &value)
UpdateTopicPermissionsRequest & WithRevokePermissions(const Aws::Vector< ResourcePermission > &value)
void SetRevokePermissions(const Aws::Vector< ResourcePermission > &value)
UpdateTopicPermissionsRequest & WithTopicId(const Aws::String &value)
UpdateTopicPermissionsRequest & AddGrantPermissions(ResourcePermission &&value)
bool TopicIdHasBeenSet() const
const Aws::Vector< ResourcePermission > & GetGrantPermissions() const
bool RevokePermissionsHasBeenSet() const
UpdateTopicPermissionsRequest & WithAwsAccountId(const Aws::String &value)
void SetTopicId(const char *value)
void SetTopicId(Aws::String &&value)
UpdateTopicPermissionsRequest & AddRevokePermissions(ResourcePermission &&value)
UpdateTopicPermissionsRequest & WithTopicId(const char *value)
virtual const char * GetServiceRequestName() const override
void SetGrantPermissions(Aws::Vector< ResourcePermission > &&value)
const Aws::String & GetTopicId() const
UpdateTopicPermissionsRequest & WithGrantPermissions(const Aws::Vector< ResourcePermission > &value)
AWS_QUICKSIGHT_API UpdateTopicPermissionsRequest()
UpdateTopicPermissionsRequest & WithTopicId(Aws::String &&value)
UpdateTopicPermissionsRequest & WithAwsAccountId(Aws::String &&value)
void SetAwsAccountId(const Aws::String &value)
UpdateTopicPermissionsRequest & WithAwsAccountId(const char *value)
UpdateTopicPermissionsRequest & WithRevokePermissions(Aws::Vector< ResourcePermission > &&value)
bool AwsAccountIdHasBeenSet() const
void SetAwsAccountId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector