// 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.Cryptography.Primitives; namespace AWS.Cryptography.Primitives { public class GenerateRSAKeyPairOutput { private AWS.Cryptography.Primitives.RSAPublicKey _publicKey ; private AWS.Cryptography.Primitives.RSAPrivateKey _privateKey ; public AWS.Cryptography.Primitives.RSAPublicKey PublicKey { get { return this._publicKey; } set { this._publicKey = value; } } public bool IsSetPublicKey () { return this._publicKey != null; } public AWS.Cryptography.Primitives.RSAPrivateKey PrivateKey { get { return this._privateKey; } set { this._privateKey = value; } } public bool IsSetPrivateKey () { return this._privateKey != null; } public void Validate() { if (!IsSetPublicKey()) throw new System.ArgumentException("Missing value for required property 'PublicKey'"); if (!IsSetPrivateKey()) throw new System.ArgumentException("Missing value for required property 'PrivateKey'"); } } }