/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace KMS { namespace Model { /** */ class AWS_KMS_API CreateGrantRequest : public KMSRequest { public: CreateGrantRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateGrant"; } Aws::String SerializePayload() const override; Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The unique identifier for the customer master key (CMK) that the grant * applies to.

Specify the key ID or the Amazon Resource Name (ARN) of the * CMK. To specify a CMK in a different AWS account, you must use the key ARN.

*

For example:

  • Key ID: * 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: * arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab *

To get the key ID and key ARN for a CMK, use ListKeys * or DescribeKey.

*/ inline const Aws::String& GetKeyId() const{ return m_keyId; } /** *

The unique identifier for the customer master key (CMK) that the grant * applies to.

Specify the key ID or the Amazon Resource Name (ARN) of the * CMK. To specify a CMK in a different AWS account, you must use the key ARN.

*

For example:

  • Key ID: * 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: * arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab *

To get the key ID and key ARN for a CMK, use ListKeys * or DescribeKey.

*/ inline bool KeyIdHasBeenSet() const { return m_keyIdHasBeenSet; } /** *

The unique identifier for the customer master key (CMK) that the grant * applies to.

Specify the key ID or the Amazon Resource Name (ARN) of the * CMK. To specify a CMK in a different AWS account, you must use the key ARN.

*

For example:

  • Key ID: * 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: * arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab *

To get the key ID and key ARN for a CMK, use ListKeys * or DescribeKey.

*/ inline void SetKeyId(const Aws::String& value) { m_keyIdHasBeenSet = true; m_keyId = value; } /** *

The unique identifier for the customer master key (CMK) that the grant * applies to.

Specify the key ID or the Amazon Resource Name (ARN) of the * CMK. To specify a CMK in a different AWS account, you must use the key ARN.

*

For example:

  • Key ID: * 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: * arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab *

To get the key ID and key ARN for a CMK, use ListKeys * or DescribeKey.

*/ inline void SetKeyId(Aws::String&& value) { m_keyIdHasBeenSet = true; m_keyId = std::move(value); } /** *

The unique identifier for the customer master key (CMK) that the grant * applies to.

Specify the key ID or the Amazon Resource Name (ARN) of the * CMK. To specify a CMK in a different AWS account, you must use the key ARN.

*

For example:

  • Key ID: * 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: * arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab *

To get the key ID and key ARN for a CMK, use ListKeys * or DescribeKey.

*/ inline void SetKeyId(const char* value) { m_keyIdHasBeenSet = true; m_keyId.assign(value); } /** *

The unique identifier for the customer master key (CMK) that the grant * applies to.

Specify the key ID or the Amazon Resource Name (ARN) of the * CMK. To specify a CMK in a different AWS account, you must use the key ARN.

*

For example:

  • Key ID: * 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: * arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab *

To get the key ID and key ARN for a CMK, use ListKeys * or DescribeKey.

*/ inline CreateGrantRequest& WithKeyId(const Aws::String& value) { SetKeyId(value); return *this;} /** *

The unique identifier for the customer master key (CMK) that the grant * applies to.

Specify the key ID or the Amazon Resource Name (ARN) of the * CMK. To specify a CMK in a different AWS account, you must use the key ARN.

*

For example:

  • Key ID: * 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: * arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab *

To get the key ID and key ARN for a CMK, use ListKeys * or DescribeKey.

*/ inline CreateGrantRequest& WithKeyId(Aws::String&& value) { SetKeyId(std::move(value)); return *this;} /** *

The unique identifier for the customer master key (CMK) that the grant * applies to.

Specify the key ID or the Amazon Resource Name (ARN) of the * CMK. To specify a CMK in a different AWS account, you must use the key ARN.

*

For example:

  • Key ID: * 1234abcd-12ab-34cd-56ef-1234567890ab

  • Key ARN: * arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab *

To get the key ID and key ARN for a CMK, use ListKeys * or DescribeKey.

*/ inline CreateGrantRequest& WithKeyId(const char* value) { SetKeyId(value); return *this;} /** *

The principal that is given permission to perform the operations that the * grant permits.

To specify the principal, use the Amazon * Resource Name (ARN) of an AWS principal. Valid AWS principals include AWS * accounts (root), IAM users, IAM roles, federated users, and assumed role users. * For examples of the ARN syntax to use for specifying a principal, see AWS * Identity and Access Management (IAM) in the Example ARNs section of the * AWS General Reference.

*/ inline const Aws::String& GetGranteePrincipal() const{ return m_granteePrincipal; } /** *

The principal that is given permission to perform the operations that the * grant permits.

To specify the principal, use the Amazon * Resource Name (ARN) of an AWS principal. Valid AWS principals include AWS * accounts (root), IAM users, IAM roles, federated users, and assumed role users. * For examples of the ARN syntax to use for specifying a principal, see AWS * Identity and Access Management (IAM) in the Example ARNs section of the * AWS General Reference.

*/ inline bool GranteePrincipalHasBeenSet() const { return m_granteePrincipalHasBeenSet; } /** *

The principal that is given permission to perform the operations that the * grant permits.

To specify the principal, use the Amazon * Resource Name (ARN) of an AWS principal. Valid AWS principals include AWS * accounts (root), IAM users, IAM roles, federated users, and assumed role users. * For examples of the ARN syntax to use for specifying a principal, see AWS * Identity and Access Management (IAM) in the Example ARNs section of the * AWS General Reference.

*/ inline void SetGranteePrincipal(const Aws::String& value) { m_granteePrincipalHasBeenSet = true; m_granteePrincipal = value; } /** *

The principal that is given permission to perform the operations that the * grant permits.

To specify the principal, use the Amazon * Resource Name (ARN) of an AWS principal. Valid AWS principals include AWS * accounts (root), IAM users, IAM roles, federated users, and assumed role users. * For examples of the ARN syntax to use for specifying a principal, see AWS * Identity and Access Management (IAM) in the Example ARNs section of the * AWS General Reference.

*/ inline void SetGranteePrincipal(Aws::String&& value) { m_granteePrincipalHasBeenSet = true; m_granteePrincipal = std::move(value); } /** *

The principal that is given permission to perform the operations that the * grant permits.

To specify the principal, use the Amazon * Resource Name (ARN) of an AWS principal. Valid AWS principals include AWS * accounts (root), IAM users, IAM roles, federated users, and assumed role users. * For examples of the ARN syntax to use for specifying a principal, see AWS * Identity and Access Management (IAM) in the Example ARNs section of the * AWS General Reference.

*/ inline void SetGranteePrincipal(const char* value) { m_granteePrincipalHasBeenSet = true; m_granteePrincipal.assign(value); } /** *

The principal that is given permission to perform the operations that the * grant permits.

To specify the principal, use the Amazon * Resource Name (ARN) of an AWS principal. Valid AWS principals include AWS * accounts (root), IAM users, IAM roles, federated users, and assumed role users. * For examples of the ARN syntax to use for specifying a principal, see AWS * Identity and Access Management (IAM) in the Example ARNs section of the * AWS General Reference.

*/ inline CreateGrantRequest& WithGranteePrincipal(const Aws::String& value) { SetGranteePrincipal(value); return *this;} /** *

The principal that is given permission to perform the operations that the * grant permits.

To specify the principal, use the Amazon * Resource Name (ARN) of an AWS principal. Valid AWS principals include AWS * accounts (root), IAM users, IAM roles, federated users, and assumed role users. * For examples of the ARN syntax to use for specifying a principal, see AWS * Identity and Access Management (IAM) in the Example ARNs section of the * AWS General Reference.

*/ inline CreateGrantRequest& WithGranteePrincipal(Aws::String&& value) { SetGranteePrincipal(std::move(value)); return *this;} /** *

The principal that is given permission to perform the operations that the * grant permits.

To specify the principal, use the Amazon * Resource Name (ARN) of an AWS principal. Valid AWS principals include AWS * accounts (root), IAM users, IAM roles, federated users, and assumed role users. * For examples of the ARN syntax to use for specifying a principal, see AWS * Identity and Access Management (IAM) in the Example ARNs section of the * AWS General Reference.

*/ inline CreateGrantRequest& WithGranteePrincipal(const char* value) { SetGranteePrincipal(value); return *this;} /** *

The principal that is given permission to retire the grant by using * RetireGrant operation.

To specify the principal, use the Amazon * Resource Name (ARN) of an AWS principal. Valid AWS principals include AWS * accounts (root), IAM users, federated users, and assumed role users. For * examples of the ARN syntax to use for specifying a principal, see AWS * Identity and Access Management (IAM) in the Example ARNs section of the * AWS General Reference.

*/ inline const Aws::String& GetRetiringPrincipal() const{ return m_retiringPrincipal; } /** *

The principal that is given permission to retire the grant by using * RetireGrant operation.

To specify the principal, use the Amazon * Resource Name (ARN) of an AWS principal. Valid AWS principals include AWS * accounts (root), IAM users, federated users, and assumed role users. For * examples of the ARN syntax to use for specifying a principal, see AWS * Identity and Access Management (IAM) in the Example ARNs section of the * AWS General Reference.

*/ inline bool RetiringPrincipalHasBeenSet() const { return m_retiringPrincipalHasBeenSet; } /** *

The principal that is given permission to retire the grant by using * RetireGrant operation.

To specify the principal, use the Amazon * Resource Name (ARN) of an AWS principal. Valid AWS principals include AWS * accounts (root), IAM users, federated users, and assumed role users. For * examples of the ARN syntax to use for specifying a principal, see AWS * Identity and Access Management (IAM) in the Example ARNs section of the * AWS General Reference.

*/ inline void SetRetiringPrincipal(const Aws::String& value) { m_retiringPrincipalHasBeenSet = true; m_retiringPrincipal = value; } /** *

The principal that is given permission to retire the grant by using * RetireGrant operation.

To specify the principal, use the Amazon * Resource Name (ARN) of an AWS principal. Valid AWS principals include AWS * accounts (root), IAM users, federated users, and assumed role users. For * examples of the ARN syntax to use for specifying a principal, see AWS * Identity and Access Management (IAM) in the Example ARNs section of the * AWS General Reference.

*/ inline void SetRetiringPrincipal(Aws::String&& value) { m_retiringPrincipalHasBeenSet = true; m_retiringPrincipal = std::move(value); } /** *

The principal that is given permission to retire the grant by using * RetireGrant operation.

To specify the principal, use the Amazon * Resource Name (ARN) of an AWS principal. Valid AWS principals include AWS * accounts (root), IAM users, federated users, and assumed role users. For * examples of the ARN syntax to use for specifying a principal, see AWS * Identity and Access Management (IAM) in the Example ARNs section of the * AWS General Reference.

*/ inline void SetRetiringPrincipal(const char* value) { m_retiringPrincipalHasBeenSet = true; m_retiringPrincipal.assign(value); } /** *

The principal that is given permission to retire the grant by using * RetireGrant operation.

To specify the principal, use the Amazon * Resource Name (ARN) of an AWS principal. Valid AWS principals include AWS * accounts (root), IAM users, federated users, and assumed role users. For * examples of the ARN syntax to use for specifying a principal, see AWS * Identity and Access Management (IAM) in the Example ARNs section of the * AWS General Reference.

*/ inline CreateGrantRequest& WithRetiringPrincipal(const Aws::String& value) { SetRetiringPrincipal(value); return *this;} /** *

The principal that is given permission to retire the grant by using * RetireGrant operation.

To specify the principal, use the Amazon * Resource Name (ARN) of an AWS principal. Valid AWS principals include AWS * accounts (root), IAM users, federated users, and assumed role users. For * examples of the ARN syntax to use for specifying a principal, see AWS * Identity and Access Management (IAM) in the Example ARNs section of the * AWS General Reference.

*/ inline CreateGrantRequest& WithRetiringPrincipal(Aws::String&& value) { SetRetiringPrincipal(std::move(value)); return *this;} /** *

The principal that is given permission to retire the grant by using * RetireGrant operation.

To specify the principal, use the Amazon * Resource Name (ARN) of an AWS principal. Valid AWS principals include AWS * accounts (root), IAM users, federated users, and assumed role users. For * examples of the ARN syntax to use for specifying a principal, see AWS * Identity and Access Management (IAM) in the Example ARNs section of the * AWS General Reference.

*/ inline CreateGrantRequest& WithRetiringPrincipal(const char* value) { SetRetiringPrincipal(value); return *this;} /** *

A list of operations that the grant permits.

*/ inline const Aws::Vector& GetOperations() const{ return m_operations; } /** *

A list of operations that the grant permits.

*/ inline bool OperationsHasBeenSet() const { return m_operationsHasBeenSet; } /** *

A list of operations that the grant permits.

*/ inline void SetOperations(const Aws::Vector& value) { m_operationsHasBeenSet = true; m_operations = value; } /** *

A list of operations that the grant permits.

*/ inline void SetOperations(Aws::Vector&& value) { m_operationsHasBeenSet = true; m_operations = std::move(value); } /** *

A list of operations that the grant permits.

*/ inline CreateGrantRequest& WithOperations(const Aws::Vector& value) { SetOperations(value); return *this;} /** *

A list of operations that the grant permits.

*/ inline CreateGrantRequest& WithOperations(Aws::Vector&& value) { SetOperations(std::move(value)); return *this;} /** *

A list of operations that the grant permits.

*/ inline CreateGrantRequest& AddOperations(const GrantOperation& value) { m_operationsHasBeenSet = true; m_operations.push_back(value); return *this; } /** *

A list of operations that the grant permits.

*/ inline CreateGrantRequest& AddOperations(GrantOperation&& value) { m_operationsHasBeenSet = true; m_operations.push_back(std::move(value)); return *this; } /** *

Allows a cryptographic * operation only when the encryption context matches or includes the * encryption context specified in this structure. For more information about * encryption context, see Encryption * Context in the AWS Key Management Service Developer Guide * .

*/ inline const GrantConstraints& GetConstraints() const{ return m_constraints; } /** *

Allows a cryptographic * operation only when the encryption context matches or includes the * encryption context specified in this structure. For more information about * encryption context, see Encryption * Context in the AWS Key Management Service Developer Guide * .

*/ inline bool ConstraintsHasBeenSet() const { return m_constraintsHasBeenSet; } /** *

Allows a cryptographic * operation only when the encryption context matches or includes the * encryption context specified in this structure. For more information about * encryption context, see Encryption * Context in the AWS Key Management Service Developer Guide * .

*/ inline void SetConstraints(const GrantConstraints& value) { m_constraintsHasBeenSet = true; m_constraints = value; } /** *

Allows a cryptographic * operation only when the encryption context matches or includes the * encryption context specified in this structure. For more information about * encryption context, see Encryption * Context in the AWS Key Management Service Developer Guide * .

*/ inline void SetConstraints(GrantConstraints&& value) { m_constraintsHasBeenSet = true; m_constraints = std::move(value); } /** *

Allows a cryptographic * operation only when the encryption context matches or includes the * encryption context specified in this structure. For more information about * encryption context, see Encryption * Context in the AWS Key Management Service Developer Guide * .

*/ inline CreateGrantRequest& WithConstraints(const GrantConstraints& value) { SetConstraints(value); return *this;} /** *

Allows a cryptographic * operation only when the encryption context matches or includes the * encryption context specified in this structure. For more information about * encryption context, see Encryption * Context in the AWS Key Management Service Developer Guide * .

*/ inline CreateGrantRequest& WithConstraints(GrantConstraints&& value) { SetConstraints(std::move(value)); return *this;} /** *

A list of grant tokens.

For more information, see Grant * Tokens in the AWS Key Management Service Developer Guide.

*/ inline const Aws::Vector& GetGrantTokens() const{ return m_grantTokens; } /** *

A list of grant tokens.

For more information, see Grant * Tokens in the AWS Key Management Service Developer Guide.

*/ inline bool GrantTokensHasBeenSet() const { return m_grantTokensHasBeenSet; } /** *

A list of grant tokens.

For more information, see Grant * Tokens in the AWS Key Management Service Developer Guide.

*/ inline void SetGrantTokens(const Aws::Vector& value) { m_grantTokensHasBeenSet = true; m_grantTokens = value; } /** *

A list of grant tokens.

For more information, see Grant * Tokens in the AWS Key Management Service Developer Guide.

*/ inline void SetGrantTokens(Aws::Vector&& value) { m_grantTokensHasBeenSet = true; m_grantTokens = std::move(value); } /** *

A list of grant tokens.

For more information, see Grant * Tokens in the AWS Key Management Service Developer Guide.

*/ inline CreateGrantRequest& WithGrantTokens(const Aws::Vector& value) { SetGrantTokens(value); return *this;} /** *

A list of grant tokens.

For more information, see Grant * Tokens in the AWS Key Management Service Developer Guide.

*/ inline CreateGrantRequest& WithGrantTokens(Aws::Vector&& value) { SetGrantTokens(std::move(value)); return *this;} /** *

A list of grant tokens.

For more information, see Grant * Tokens in the AWS Key Management Service Developer Guide.

*/ inline CreateGrantRequest& AddGrantTokens(const Aws::String& value) { m_grantTokensHasBeenSet = true; m_grantTokens.push_back(value); return *this; } /** *

A list of grant tokens.

For more information, see Grant * Tokens in the AWS Key Management Service Developer Guide.

*/ inline CreateGrantRequest& AddGrantTokens(Aws::String&& value) { m_grantTokensHasBeenSet = true; m_grantTokens.push_back(std::move(value)); return *this; } /** *

A list of grant tokens.

For more information, see Grant * Tokens in the AWS Key Management Service Developer Guide.

*/ inline CreateGrantRequest& AddGrantTokens(const char* value) { m_grantTokensHasBeenSet = true; m_grantTokens.push_back(value); return *this; } /** *

A friendly name for identifying the grant. Use this value to prevent the * unintended creation of duplicate grants when retrying this request.

When * this value is absent, all CreateGrant requests result in a new * grant with a unique GrantId even if all the supplied parameters are * identical. This can result in unintended duplicates when you retry the * CreateGrant request.

When this value is present, you can * retry a CreateGrant request with identical parameters; if the grant * already exists, the original GrantId is returned without creating a * new grant. Note that the returned grant token is unique with every * CreateGrant request, even when a duplicate GrantId is * returned. All grant tokens obtained in this way can be used interchangeably.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

A friendly name for identifying the grant. Use this value to prevent the * unintended creation of duplicate grants when retrying this request.

When * this value is absent, all CreateGrant requests result in a new * grant with a unique GrantId even if all the supplied parameters are * identical. This can result in unintended duplicates when you retry the * CreateGrant request.

When this value is present, you can * retry a CreateGrant request with identical parameters; if the grant * already exists, the original GrantId is returned without creating a * new grant. Note that the returned grant token is unique with every * CreateGrant request, even when a duplicate GrantId is * returned. All grant tokens obtained in this way can be used interchangeably.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

A friendly name for identifying the grant. Use this value to prevent the * unintended creation of duplicate grants when retrying this request.

When * this value is absent, all CreateGrant requests result in a new * grant with a unique GrantId even if all the supplied parameters are * identical. This can result in unintended duplicates when you retry the * CreateGrant request.

When this value is present, you can * retry a CreateGrant request with identical parameters; if the grant * already exists, the original GrantId is returned without creating a * new grant. Note that the returned grant token is unique with every * CreateGrant request, even when a duplicate GrantId is * returned. All grant tokens obtained in this way can be used interchangeably.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

A friendly name for identifying the grant. Use this value to prevent the * unintended creation of duplicate grants when retrying this request.

When * this value is absent, all CreateGrant requests result in a new * grant with a unique GrantId even if all the supplied parameters are * identical. This can result in unintended duplicates when you retry the * CreateGrant request.

When this value is present, you can * retry a CreateGrant request with identical parameters; if the grant * already exists, the original GrantId is returned without creating a * new grant. Note that the returned grant token is unique with every * CreateGrant request, even when a duplicate GrantId is * returned. All grant tokens obtained in this way can be used interchangeably.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

A friendly name for identifying the grant. Use this value to prevent the * unintended creation of duplicate grants when retrying this request.

When * this value is absent, all CreateGrant requests result in a new * grant with a unique GrantId even if all the supplied parameters are * identical. This can result in unintended duplicates when you retry the * CreateGrant request.

When this value is present, you can * retry a CreateGrant request with identical parameters; if the grant * already exists, the original GrantId is returned without creating a * new grant. Note that the returned grant token is unique with every * CreateGrant request, even when a duplicate GrantId is * returned. All grant tokens obtained in this way can be used interchangeably.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

A friendly name for identifying the grant. Use this value to prevent the * unintended creation of duplicate grants when retrying this request.

When * this value is absent, all CreateGrant requests result in a new * grant with a unique GrantId even if all the supplied parameters are * identical. This can result in unintended duplicates when you retry the * CreateGrant request.

When this value is present, you can * retry a CreateGrant request with identical parameters; if the grant * already exists, the original GrantId is returned without creating a * new grant. Note that the returned grant token is unique with every * CreateGrant request, even when a duplicate GrantId is * returned. All grant tokens obtained in this way can be used interchangeably.

*/ inline CreateGrantRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

A friendly name for identifying the grant. Use this value to prevent the * unintended creation of duplicate grants when retrying this request.

When * this value is absent, all CreateGrant requests result in a new * grant with a unique GrantId even if all the supplied parameters are * identical. This can result in unintended duplicates when you retry the * CreateGrant request.

When this value is present, you can * retry a CreateGrant request with identical parameters; if the grant * already exists, the original GrantId is returned without creating a * new grant. Note that the returned grant token is unique with every * CreateGrant request, even when a duplicate GrantId is * returned. All grant tokens obtained in this way can be used interchangeably.

*/ inline CreateGrantRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

A friendly name for identifying the grant. Use this value to prevent the * unintended creation of duplicate grants when retrying this request.

When * this value is absent, all CreateGrant requests result in a new * grant with a unique GrantId even if all the supplied parameters are * identical. This can result in unintended duplicates when you retry the * CreateGrant request.

When this value is present, you can * retry a CreateGrant request with identical parameters; if the grant * already exists, the original GrantId is returned without creating a * new grant. Note that the returned grant token is unique with every * CreateGrant request, even when a duplicate GrantId is * returned. All grant tokens obtained in this way can be used interchangeably.

*/ inline CreateGrantRequest& WithName(const char* value) { SetName(value); return *this;} private: Aws::String m_keyId; bool m_keyIdHasBeenSet; Aws::String m_granteePrincipal; bool m_granteePrincipalHasBeenSet; Aws::String m_retiringPrincipal; bool m_retiringPrincipalHasBeenSet; Aws::Vector m_operations; bool m_operationsHasBeenSet; GrantConstraints m_constraints; bool m_constraintsHasBeenSet; Aws::Vector m_grantTokens; bool m_grantTokensHasBeenSet; Aws::String m_name; bool m_nameHasBeenSet; }; } // namespace Model } // namespace KMS } // namespace Aws