/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A collection of attributes that's used to create a delegation for an
* assessment in Audit Manager. See Also:
AWS
* API Reference
A comment that's related to the delegation request.
*/ inline const Aws::String& GetComment() const{ return m_comment; } /** *A comment that's related to the delegation request.
*/ inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; } /** *A comment that's related to the delegation request.
*/ inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; } /** *A comment that's related to the delegation request.
*/ inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); } /** *A comment that's related to the delegation request.
*/ inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); } /** *A comment that's related to the delegation request.
*/ inline CreateDelegationRequest& WithComment(const Aws::String& value) { SetComment(value); return *this;} /** *A comment that's related to the delegation request.
*/ inline CreateDelegationRequest& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;} /** *A comment that's related to the delegation request.
*/ inline CreateDelegationRequest& WithComment(const char* value) { SetComment(value); return *this;} /** *The unique identifier for the control set.
*/ inline const Aws::String& GetControlSetId() const{ return m_controlSetId; } /** *The unique identifier for the control set.
*/ inline bool ControlSetIdHasBeenSet() const { return m_controlSetIdHasBeenSet; } /** *The unique identifier for the control set.
*/ inline void SetControlSetId(const Aws::String& value) { m_controlSetIdHasBeenSet = true; m_controlSetId = value; } /** *The unique identifier for the control set.
*/ inline void SetControlSetId(Aws::String&& value) { m_controlSetIdHasBeenSet = true; m_controlSetId = std::move(value); } /** *The unique identifier for the control set.
*/ inline void SetControlSetId(const char* value) { m_controlSetIdHasBeenSet = true; m_controlSetId.assign(value); } /** *The unique identifier for the control set.
*/ inline CreateDelegationRequest& WithControlSetId(const Aws::String& value) { SetControlSetId(value); return *this;} /** *The unique identifier for the control set.
*/ inline CreateDelegationRequest& WithControlSetId(Aws::String&& value) { SetControlSetId(std::move(value)); return *this;} /** *The unique identifier for the control set.
*/ inline CreateDelegationRequest& WithControlSetId(const char* value) { SetControlSetId(value); return *this;} /** *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 CreateDelegationRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the IAM role.
*/ inline CreateDelegationRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the IAM role.
*/ inline CreateDelegationRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *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
.