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