/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The wrapper that contains the Audit Manager role information of the current
* user. This includes the role type and IAM Amazon Resource Name (ARN).
* See Also:
AWS
* API Reference
The type of customer persona.
In
* CreateAssessment
, roleType
can only be
* PROCESS_OWNER
.
In UpdateSettings
,
* roleType
can only be PROCESS_OWNER
.
In
* BatchCreateDelegationByAssessment
, roleType
can only
* be RESOURCE_OWNER
.
The type of customer persona.
In
* CreateAssessment
, roleType
can only be
* PROCESS_OWNER
.
In UpdateSettings
,
* roleType
can only be PROCESS_OWNER
.
In
* BatchCreateDelegationByAssessment
, roleType
can only
* be RESOURCE_OWNER
.
The type of customer persona.
In
* CreateAssessment
, roleType
can only be
* PROCESS_OWNER
.
In UpdateSettings
,
* roleType
can only be PROCESS_OWNER
.
In
* BatchCreateDelegationByAssessment
, roleType
can only
* be RESOURCE_OWNER
.
The type of customer persona.
In
* CreateAssessment
, roleType
can only be
* PROCESS_OWNER
.
In UpdateSettings
,
* roleType
can only be PROCESS_OWNER
.
In
* BatchCreateDelegationByAssessment
, roleType
can only
* be RESOURCE_OWNER
.
The type of customer persona.
In
* CreateAssessment
, roleType
can only be
* PROCESS_OWNER
.
In UpdateSettings
,
* roleType
can only be PROCESS_OWNER
.
In
* BatchCreateDelegationByAssessment
, roleType
can only
* be RESOURCE_OWNER
.
The type of customer persona.
In
* CreateAssessment
, roleType
can only be
* PROCESS_OWNER
.
In UpdateSettings
,
* roleType
can only be PROCESS_OWNER
.
In
* BatchCreateDelegationByAssessment
, roleType
can only
* be RESOURCE_OWNER
.
The Amazon Resource Name (ARN) of the IAM role.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The Amazon Resource Name (ARN) of the IAM role.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the IAM role.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *The Amazon Resource Name (ARN) of the IAM role.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the IAM role.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *The Amazon Resource Name (ARN) of the IAM role.
*/ inline Role& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the IAM role.
*/ inline Role& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the IAM role.
*/ inline Role& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} private: RoleType m_roleType; bool m_roleTypeHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws