/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An IAM role associated with the DB instance.See Also:
AWS
* API Reference
The ARN of the IAM role that is associated with the DB instance.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The ARN of the IAM role that is associated with the DB instance.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The 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 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 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 ARN of the IAM role that is associated with the DB instance.
*/ inline AwsRdsDbInstanceAssociatedRole& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The ARN of the IAM role that is associated with the DB instance.
*/ inline AwsRdsDbInstanceAssociatedRole& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The ARN of the IAM role that is associated with the DB instance.
*/ inline AwsRdsDbInstanceAssociatedRole& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *The name of the feature associated with the IAM role.
*/ inline const Aws::String& GetFeatureName() const{ return m_featureName; } /** *The name of the feature associated with the IAM role.
*/ inline bool FeatureNameHasBeenSet() const { return m_featureNameHasBeenSet; } /** *The name of the feature associated with the IAM role.
*/ inline void SetFeatureName(const Aws::String& value) { m_featureNameHasBeenSet = true; m_featureName = value; } /** *The name of the feature associated with the IAM role.
*/ inline void SetFeatureName(Aws::String&& value) { m_featureNameHasBeenSet = true; m_featureName = std::move(value); } /** *The name of the feature associated with the IAM role.
*/ inline void SetFeatureName(const char* value) { m_featureNameHasBeenSet = true; m_featureName.assign(value); } /** *The name of the feature associated with the IAM role.
*/ inline AwsRdsDbInstanceAssociatedRole& WithFeatureName(const Aws::String& value) { SetFeatureName(value); return *this;} /** *The name of the feature associated with the IAM role.
*/ inline AwsRdsDbInstanceAssociatedRole& WithFeatureName(Aws::String&& value) { SetFeatureName(std::move(value)); return *this;} /** *The name of the feature associated with the IAM role.
*/ inline AwsRdsDbInstanceAssociatedRole& WithFeatureName(const char* value) { SetFeatureName(value); return *this;} /** *Describes the state of the 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 Amazon Web Services
* 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 Amazon
* Web Services services on your behalf.
Describes the state of the 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 Amazon Web Services
* 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 Amazon
* Web Services services on your behalf.
Describes the state of the 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 Amazon Web Services
* 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 Amazon
* Web Services services on your behalf.
Describes the state of the 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 Amazon Web Services
* 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 Amazon
* Web Services services on your behalf.
Describes the state of the 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 Amazon Web Services
* 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 Amazon
* Web Services services on your behalf.
Describes the state of the 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 Amazon Web Services
* 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 Amazon
* Web Services services on your behalf.
Describes the state of the 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 Amazon Web Services
* 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 Amazon
* Web Services services on your behalf.
Describes the state of the 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 Amazon Web Services
* 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 Amazon
* Web Services services on your behalf.