// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 // Do not modify this file. This file is machine generated, and any changes to it will be overwritten. using System; using AWS.EncryptionSDK.Core; namespace AWS.EncryptionSDK.Core { public class CreateAwsKmsMrkKeyringInput { private string _kmsKeyId; private Amazon.KeyManagementService.IAmazonKeyManagementService _kmsClient; private System.Collections.Generic.List _grantTokens; public string KmsKeyId { get { return this._kmsKeyId; } set { this._kmsKeyId = value; } } internal bool IsSetKmsKeyId() { return this._kmsKeyId != null; } public Amazon.KeyManagementService.IAmazonKeyManagementService KmsClient { get { return this._kmsClient; } set { this._kmsClient = value; } } internal bool IsSetKmsClient() { return this._kmsClient != null; } public System.Collections.Generic.List GrantTokens { get { return this._grantTokens; } set { this._grantTokens = value; } } internal bool IsSetGrantTokens() { return this._grantTokens != null; } public void Validate() { if (!IsSetKmsKeyId()) throw new System.ArgumentException("Missing value for required property 'KmsKeyId'"); if (!IsSetKmsClient()) throw new System.ArgumentException("Missing value for required property 'KmsClient'"); } } }