/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An IAM role that the cluster can use to access other Amazon Web Services
* services.See Also:
AWS
* API Reference
The status of the IAM role's association with the cluster.
Valid
* values: in-sync
| adding
| removing
The status of the IAM role's association with the cluster.
Valid
* values: in-sync
| adding
| removing
The status of the IAM role's association with the cluster.
Valid
* values: in-sync
| adding
| removing
The status of the IAM role's association with the cluster.
Valid
* values: in-sync
| adding
| removing
The status of the IAM role's association with the cluster.
Valid
* values: in-sync
| adding
| removing
The status of the IAM role's association with the cluster.
Valid
* values: in-sync
| adding
| removing
The status of the IAM role's association with the cluster.
Valid
* values: in-sync
| adding
| removing
The status of the IAM role's association with the cluster.
Valid
* values: in-sync
| adding
| removing
The ARN of the IAM role.
*/ inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; } /** *The ARN of the IAM role.
*/ inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; } /** *The ARN of the IAM role.
*/ inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; } /** *The ARN of the IAM role.
*/ inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); } /** *The ARN of the IAM role.
*/ inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); } /** *The ARN of the IAM role.
*/ inline AwsRedshiftClusterIamRole& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;} /** *The ARN of the IAM role.
*/ inline AwsRedshiftClusterIamRole& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;} /** *The ARN of the IAM role.
*/ inline AwsRedshiftClusterIamRole& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;} private: Aws::String m_applyStatus; bool m_applyStatusHasBeenSet = false; Aws::String m_iamRoleArn; bool m_iamRoleArnHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws