7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/quicksight/model/AssignmentStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
50 template<
typename AwsAccountIdT = Aws::String>
51 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet =
true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
52 template<
typename AwsAccountIdT = Aws::String>
62 template<
typename AssignmentIdT = Aws::String>
63 void SetAssignmentId(AssignmentIdT&& value) { m_assignmentIdHasBeenSet =
true; m_assignmentId = std::forward<AssignmentIdT>(value); }
64 template<
typename AssignmentIdT = Aws::String>
74 template<
typename AssignmentNameT = Aws::String>
75 void SetAssignmentName(AssignmentNameT&& value) { m_assignmentNameHasBeenSet =
true; m_assignmentName = std::forward<AssignmentNameT>(value); }
76 template<
typename AssignmentNameT = Aws::String>
86 template<
typename PolicyArnT = Aws::String>
87 void SetPolicyArn(PolicyArnT&& value) { m_policyArnHasBeenSet =
true; m_policyArn = std::forward<PolicyArnT>(value); }
88 template<
typename PolicyArnT = Aws::String>
98 template<
typename IdentitiesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
99 void SetIdentities(IdentitiesT&& value) { m_identitiesHasBeenSet =
true; m_identities = std::forward<IdentitiesT>(value); }
100 template<
typename IdentitiesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
102 template<
typename IdentitiesKeyT = Aws::String,
typename IdentitiesValueT = Aws::Vector<Aws::String>>
104 m_identitiesHasBeenSet =
true; m_identities.emplace(std::forward<IdentitiesKeyT>(key), std::forward<IdentitiesValueT>(value));
return *
this;
120 bool m_awsAccountIdHasBeenSet =
false;
123 bool m_assignmentIdHasBeenSet =
false;
126 bool m_assignmentNameHasBeenSet =
false;
129 bool m_policyArnHasBeenSet =
false;
132 bool m_identitiesHasBeenSet =
false;
135 bool m_assignmentStatusHasBeenSet =
false;
AWS_QUICKSIGHT_API IAMPolicyAssignment(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
IAMPolicyAssignment & WithAwsAccountId(AwsAccountIdT &&value)
bool AssignmentStatusHasBeenSet() const
IAMPolicyAssignment & WithAssignmentId(AssignmentIdT &&value)
AWS_QUICKSIGHT_API IAMPolicyAssignment & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPolicyArn() const
AWS_QUICKSIGHT_API IAMPolicyAssignment()=default
bool AssignmentNameHasBeenSet() const
IAMPolicyAssignment & WithPolicyArn(PolicyArnT &&value)
void SetAssignmentName(AssignmentNameT &&value)
const Aws::String & GetAssignmentId() const
void SetAssignmentId(AssignmentIdT &&value)
bool PolicyArnHasBeenSet() const
bool AwsAccountIdHasBeenSet() const
const Aws::String & GetAssignmentName() const
IAMPolicyAssignment & WithIdentities(IdentitiesT &&value)
IAMPolicyAssignment & AddIdentities(IdentitiesKeyT &&key, IdentitiesValueT &&value)
void SetAwsAccountId(AwsAccountIdT &&value)
AssignmentStatus GetAssignmentStatus() const
bool IdentitiesHasBeenSet() const
const Aws::String & GetAwsAccountId() const
void SetPolicyArn(PolicyArnT &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetIdentities() const
IAMPolicyAssignment & WithAssignmentName(AssignmentNameT &&value)
void SetAssignmentStatus(AssignmentStatus value)
void SetIdentities(IdentitiesT &&value)
IAMPolicyAssignment & WithAssignmentStatus(AssignmentStatus value)
bool AssignmentIdHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue