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>
44 template<
typename AwsAccountIdT = Aws::String>
45 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet =
true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
46 template<
typename AwsAccountIdT = Aws::String>
57 template<
typename TopicIdT = Aws::String>
58 void SetTopicId(TopicIdT&& value) { m_topicIdHasBeenSet =
true; m_topicId = std::forward<TopicIdT>(value); }
59 template<
typename TopicIdT = Aws::String>
69 template<
typename GrantPermissionsT = Aws::Vector<ResourcePermission>>
70 void SetGrantPermissions(GrantPermissionsT&& value) { m_grantPermissionsHasBeenSet =
true; m_grantPermissions = std::forward<GrantPermissionsT>(value); }
71 template<
typename GrantPermissionsT = Aws::Vector<ResourcePermission>>
73 template<
typename GrantPermissionsT = ResourcePermission>
83 template<
typename RevokePermissionsT = Aws::Vector<ResourcePermission>>
84 void SetRevokePermissions(RevokePermissionsT&& value) { m_revokePermissionsHasBeenSet =
true; m_revokePermissions = std::forward<RevokePermissionsT>(value); }
85 template<
typename RevokePermissionsT = Aws::Vector<ResourcePermission>>
87 template<
typename RevokePermissionsT = ResourcePermission>
93 bool m_awsAccountIdHasBeenSet =
false;
96 bool m_topicIdHasBeenSet =
false;
99 bool m_grantPermissionsHasBeenSet =
false;
102 bool m_revokePermissionsHasBeenSet =
false;
const Aws::Vector< ResourcePermission > & GetRevokePermissions() const
UpdateTopicPermissionsRequest & WithAwsAccountId(AwsAccountIdT &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
void SetRevokePermissions(RevokePermissionsT &&value)
bool GrantPermissionsHasBeenSet() const
UpdateTopicPermissionsRequest & AddRevokePermissions(RevokePermissionsT &&value)
const Aws::String & GetAwsAccountId() const
void SetGrantPermissions(GrantPermissionsT &&value)
bool TopicIdHasBeenSet() const
const Aws::Vector< ResourcePermission > & GetGrantPermissions() const
bool RevokePermissionsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetTopicId(TopicIdT &&value)
const Aws::String & GetTopicId() const
void SetAwsAccountId(AwsAccountIdT &&value)
UpdateTopicPermissionsRequest & WithRevokePermissions(RevokePermissionsT &&value)
UpdateTopicPermissionsRequest & WithTopicId(TopicIdT &&value)
UpdateTopicPermissionsRequest & WithGrantPermissions(GrantPermissionsT &&value)
AWS_QUICKSIGHT_API UpdateTopicPermissionsRequest()=default
UpdateTopicPermissionsRequest & AddGrantPermissions(GrantPermissionsT &&value)
bool AwsAccountIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector