/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The active Identity and Access Management (IAM) policy
* assignment.See Also:
AWS
* API Reference
A name for the IAM policy assignment.
*/ inline const Aws::String& GetAssignmentName() const{ return m_assignmentName; } /** *A name for the IAM policy assignment.
*/ inline bool AssignmentNameHasBeenSet() const { return m_assignmentNameHasBeenSet; } /** *A name for the IAM policy assignment.
*/ inline void SetAssignmentName(const Aws::String& value) { m_assignmentNameHasBeenSet = true; m_assignmentName = value; } /** *A name for the IAM policy assignment.
*/ inline void SetAssignmentName(Aws::String&& value) { m_assignmentNameHasBeenSet = true; m_assignmentName = std::move(value); } /** *A name for the IAM policy assignment.
*/ inline void SetAssignmentName(const char* value) { m_assignmentNameHasBeenSet = true; m_assignmentName.assign(value); } /** *A name for the IAM policy assignment.
*/ inline ActiveIAMPolicyAssignment& WithAssignmentName(const Aws::String& value) { SetAssignmentName(value); return *this;} /** *A name for the IAM policy assignment.
*/ inline ActiveIAMPolicyAssignment& WithAssignmentName(Aws::String&& value) { SetAssignmentName(std::move(value)); return *this;} /** *A name for the IAM policy assignment.
*/ inline ActiveIAMPolicyAssignment& WithAssignmentName(const char* value) { SetAssignmentName(value); return *this;} /** *The Amazon Resource Name (ARN) of the resource.
*/ inline const Aws::String& GetPolicyArn() const{ return m_policyArn; } /** *The Amazon Resource Name (ARN) of the resource.
*/ inline bool PolicyArnHasBeenSet() const { return m_policyArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the resource.
*/ inline void SetPolicyArn(const Aws::String& value) { m_policyArnHasBeenSet = true; m_policyArn = value; } /** *The Amazon Resource Name (ARN) of the resource.
*/ inline void SetPolicyArn(Aws::String&& value) { m_policyArnHasBeenSet = true; m_policyArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the resource.
*/ inline void SetPolicyArn(const char* value) { m_policyArnHasBeenSet = true; m_policyArn.assign(value); } /** *The Amazon Resource Name (ARN) of the resource.
*/ inline ActiveIAMPolicyAssignment& WithPolicyArn(const Aws::String& value) { SetPolicyArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the resource.
*/ inline ActiveIAMPolicyAssignment& WithPolicyArn(Aws::String&& value) { SetPolicyArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the resource.
*/ inline ActiveIAMPolicyAssignment& WithPolicyArn(const char* value) { SetPolicyArn(value); return *this;} private: Aws::String m_assignmentName; bool m_assignmentNameHasBeenSet = false; Aws::String m_policyArn; bool m_policyArnHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws