7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSightRequest.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/ResourcePermission.h>
40 template <
typename AwsAccountIdT = Aws::String>
42 m_awsAccountIdHasBeenSet =
true;
43 m_awsAccountId = std::forward<AwsAccountIdT>(value);
45 template <
typename AwsAccountIdT = Aws::String>
59 template <
typename TopicIdT = Aws::String>
61 m_topicIdHasBeenSet =
true;
62 m_topicId = std::forward<TopicIdT>(value);
64 template <
typename TopicIdT = Aws::String>
77 template <
typename GrantPermissionsT = Aws::Vector<ResourcePermission>>
79 m_grantPermissionsHasBeenSet =
true;
80 m_grantPermissions = std::forward<GrantPermissionsT>(value);
82 template <
typename GrantPermissionsT = Aws::Vector<ResourcePermission>>
87 template <
typename GrantPermissionsT = ResourcePermission>
89 m_grantPermissionsHasBeenSet =
true;
90 m_grantPermissions.emplace_back(std::forward<GrantPermissionsT>(value));
101 template <
typename RevokePermissionsT = Aws::Vector<ResourcePermission>>
103 m_revokePermissionsHasBeenSet =
true;
104 m_revokePermissions = std::forward<RevokePermissionsT>(value);
106 template <
typename RevokePermissionsT = Aws::Vector<ResourcePermission>>
111 template <
typename RevokePermissionsT = ResourcePermission>
113 m_revokePermissionsHasBeenSet =
true;
114 m_revokePermissions.emplace_back(std::forward<RevokePermissionsT>(value));
126 bool m_awsAccountIdHasBeenSet =
false;
127 bool m_topicIdHasBeenSet =
false;
128 bool m_grantPermissionsHasBeenSet =
false;
129 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