7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11#include <aws/quicksight/model/AssignmentStatus.h>
44 template <
typename AwsAccountIdT = Aws::String>
46 m_awsAccountIdHasBeenSet =
true;
47 m_awsAccountId = std::forward<AwsAccountIdT>(value);
49 template <
typename AwsAccountIdT = Aws::String>
62 template <
typename AssignmentIdT = Aws::String>
64 m_assignmentIdHasBeenSet =
true;
65 m_assignmentId = std::forward<AssignmentIdT>(value);
67 template <
typename AssignmentIdT = Aws::String>
80 template <
typename AssignmentNameT = Aws::String>
82 m_assignmentNameHasBeenSet =
true;
83 m_assignmentName = std::forward<AssignmentNameT>(value);
85 template <
typename AssignmentNameT = Aws::String>
98 template <
typename PolicyArnT = Aws::String>
100 m_policyArnHasBeenSet =
true;
101 m_policyArn = std::forward<PolicyArnT>(value);
103 template <
typename PolicyArnT = Aws::String>
116 template <
typename IdentitiesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
118 m_identitiesHasBeenSet =
true;
119 m_identities = std::forward<IdentitiesT>(value);
121 template <
typename IdentitiesT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
126 template <
typename IdentitiesKeyT = Aws::String,
typename IdentitiesValueT = Aws::Vector<Aws::String>>
128 m_identitiesHasBeenSet =
true;
129 m_identities.emplace(std::forward<IdentitiesKeyT>(key), std::forward<IdentitiesValueT>(value));
141 m_assignmentStatusHasBeenSet =
true;
142 m_assignmentStatus = value;
161 bool m_awsAccountIdHasBeenSet =
false;
162 bool m_assignmentIdHasBeenSet =
false;
163 bool m_assignmentNameHasBeenSet =
false;
164 bool m_policyArnHasBeenSet =
false;
165 bool m_identitiesHasBeenSet =
false;
166 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