/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an AWS Identity and Access Management (IAM) role that is associated
* with a DB instance.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the IAM role that is associated with the DB * instance.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The Amazon Resource Name (ARN) of the IAM role that is associated with the DB * instance.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the IAM role that is associated with the DB * instance.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *The Amazon Resource Name (ARN) of the IAM role that is associated with the DB * instance.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the IAM role that is associated with the DB * instance.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *The Amazon Resource Name (ARN) of the IAM role that is associated with the DB * instance.
*/ inline DBInstanceRole& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the IAM role that is associated with the DB * instance.
*/ inline DBInstanceRole& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the IAM role that is associated with the DB * instance.
*/ inline DBInstanceRole& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *The name of the feature associated with the AWS Identity and Access
* Management (IAM) role. For the list of supported feature names, see
* DBEngineVersion.
The name of the feature associated with the AWS Identity and Access
* Management (IAM) role. For the list of supported feature names, see
* DBEngineVersion.
The name of the feature associated with the AWS Identity and Access
* Management (IAM) role. For the list of supported feature names, see
* DBEngineVersion.
The name of the feature associated with the AWS Identity and Access
* Management (IAM) role. For the list of supported feature names, see
* DBEngineVersion.
The name of the feature associated with the AWS Identity and Access
* Management (IAM) role. For the list of supported feature names, see
* DBEngineVersion.
The name of the feature associated with the AWS Identity and Access
* Management (IAM) role. For the list of supported feature names, see
* DBEngineVersion.
The name of the feature associated with the AWS Identity and Access
* Management (IAM) role. For the list of supported feature names, see
* DBEngineVersion.
The name of the feature associated with the AWS Identity and Access
* Management (IAM) role. For the list of supported feature names, see
* DBEngineVersion.
Describes the state of association between the IAM role and the DB instance. * The Status property returns one of the following values:
* ACTIVE - the IAM role ARN is associated with the DB instance and
* can be used to access other AWS services on your behalf.
* PENDING - the IAM role ARN is being associated with the DB
* instance.
INVALID - the IAM role ARN is
* associated with the DB instance, but the DB instance is unable to assume the IAM
* role in order to access other AWS services on your behalf.
Describes the state of association between the IAM role and the DB instance. * The Status property returns one of the following values:
* ACTIVE - the IAM role ARN is associated with the DB instance and
* can be used to access other AWS services on your behalf.
* PENDING - the IAM role ARN is being associated with the DB
* instance.
INVALID - the IAM role ARN is
* associated with the DB instance, but the DB instance is unable to assume the IAM
* role in order to access other AWS services on your behalf.
Describes the state of association between the IAM role and the DB instance. * The Status property returns one of the following values:
* ACTIVE - the IAM role ARN is associated with the DB instance and
* can be used to access other AWS services on your behalf.
* PENDING - the IAM role ARN is being associated with the DB
* instance.
INVALID - the IAM role ARN is
* associated with the DB instance, but the DB instance is unable to assume the IAM
* role in order to access other AWS services on your behalf.
Describes the state of association between the IAM role and the DB instance. * The Status property returns one of the following values:
* ACTIVE - the IAM role ARN is associated with the DB instance and
* can be used to access other AWS services on your behalf.
* PENDING - the IAM role ARN is being associated with the DB
* instance.
INVALID - the IAM role ARN is
* associated with the DB instance, but the DB instance is unable to assume the IAM
* role in order to access other AWS services on your behalf.
Describes the state of association between the IAM role and the DB instance. * The Status property returns one of the following values:
* ACTIVE - the IAM role ARN is associated with the DB instance and
* can be used to access other AWS services on your behalf.
* PENDING - the IAM role ARN is being associated with the DB
* instance.
INVALID - the IAM role ARN is
* associated with the DB instance, but the DB instance is unable to assume the IAM
* role in order to access other AWS services on your behalf.
Describes the state of association between the IAM role and the DB instance. * The Status property returns one of the following values:
* ACTIVE - the IAM role ARN is associated with the DB instance and
* can be used to access other AWS services on your behalf.
* PENDING - the IAM role ARN is being associated with the DB
* instance.
INVALID - the IAM role ARN is
* associated with the DB instance, but the DB instance is unable to assume the IAM
* role in order to access other AWS services on your behalf.
Describes the state of association between the IAM role and the DB instance. * The Status property returns one of the following values:
* ACTIVE - the IAM role ARN is associated with the DB instance and
* can be used to access other AWS services on your behalf.
* PENDING - the IAM role ARN is being associated with the DB
* instance.
INVALID - the IAM role ARN is
* associated with the DB instance, but the DB instance is unable to assume the IAM
* role in order to access other AWS services on your behalf.
Describes the state of association between the IAM role and the DB instance. * The Status property returns one of the following values:
* ACTIVE - the IAM role ARN is associated with the DB instance and
* can be used to access other AWS services on your behalf.
* PENDING - the IAM role ARN is being associated with the DB
* instance.
INVALID - the IAM role ARN is
* associated with the DB instance, but the DB instance is unable to assume the IAM
* role in order to access other AWS services on your behalf.