// 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 DecryptMaterialsInput { private AWS.EncryptionSDK.Core.AlgorithmSuiteId _algorithmSuiteId; private AWS.EncryptionSDK.Core.CommitmentPolicy _commitmentPolicy; private System.Collections.Generic.List _encryptedDataKeys; private System.Collections.Generic.Dictionary _encryptionContext; public AWS.EncryptionSDK.Core.AlgorithmSuiteId AlgorithmSuiteId { get { return this._algorithmSuiteId; } set { this._algorithmSuiteId = value; } } internal bool IsSetAlgorithmSuiteId() { return this._algorithmSuiteId != null; } public AWS.EncryptionSDK.Core.CommitmentPolicy CommitmentPolicy { get { return this._commitmentPolicy; } set { this._commitmentPolicy = value; } } internal bool IsSetCommitmentPolicy() { return this._commitmentPolicy != null; } public System.Collections.Generic.List EncryptedDataKeys { get { return this._encryptedDataKeys; } set { this._encryptedDataKeys = value; } } internal bool IsSetEncryptedDataKeys() { return this._encryptedDataKeys != null; } public System.Collections.Generic.Dictionary EncryptionContext { get { return this._encryptionContext; } set { this._encryptionContext = value; } } internal bool IsSetEncryptionContext() { return this._encryptionContext != null; } public void Validate() { if (!IsSetAlgorithmSuiteId()) throw new System.ArgumentException("Missing value for required property 'AlgorithmSuiteId'"); if (!IsSetCommitmentPolicy()) throw new System.ArgumentException("Missing value for required property 'CommitmentPolicy'"); if (!IsSetEncryptedDataKeys()) throw new System.ArgumentException("Missing value for required property 'EncryptedDataKeys'"); if (!IsSetEncryptionContext()) throw new System.ArgumentException("Missing value for required property 'EncryptionContext'"); } } }