// 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; using AWS.EncryptionSDK; namespace AWS.EncryptionSDK { public class DecryptOutput { private System.IO.MemoryStream _plaintext; private System.Collections.Generic.Dictionary _encryptionContext; private AWS.EncryptionSDK.Core.AlgorithmSuiteId _algorithmSuiteId; public System.IO.MemoryStream Plaintext { get { return this._plaintext; } set { this._plaintext = value; } } internal bool IsSetPlaintext() { return this._plaintext != null; } public System.Collections.Generic.Dictionary EncryptionContext { get { return this._encryptionContext; } set { this._encryptionContext = value; } } internal bool IsSetEncryptionContext() { return this._encryptionContext != null; } public AWS.EncryptionSDK.Core.AlgorithmSuiteId AlgorithmSuiteId { get { return this._algorithmSuiteId; } set { this._algorithmSuiteId = value; } } internal bool IsSetAlgorithmSuiteId() { return this._algorithmSuiteId != null; } public void Validate() { if (!IsSetPlaintext()) throw new System.ArgumentException("Missing value for required property 'Plaintext'"); if (!IsSetEncryptionContext()) throw new System.ArgumentException("Missing value for required property 'EncryptionContext'"); if (!IsSetAlgorithmSuiteId()) throw new System.ArgumentException("Missing value for required property 'AlgorithmSuiteId'"); } } }