|
| 1 | +// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. |
| 2 | +// SPDX-License-Identifier: Apache-2.0 |
| 3 | +// Do not modify this file. This file is machine generated, and any changes to it will be overwritten. |
| 4 | +using System; |
| 5 | +using AWS.Cryptography.DbEncryptionSDK.DynamoDb; |
| 6 | +namespace AWS.Cryptography.DbEncryptionSDK.DynamoDb |
| 7 | +{ |
| 8 | + public class EncryptedDataKeyDescriptionOutput |
| 9 | + { |
| 10 | + private string _keyProviderId; |
| 11 | + private string _keyProviderInfo; |
| 12 | + private string _branchKeyId; |
| 13 | + private string _branchKeyVersion; |
| 14 | + public string KeyProviderId |
| 15 | + { |
| 16 | + get { return this._keyProviderId; } |
| 17 | + set { this._keyProviderId = value; } |
| 18 | + } |
| 19 | + public bool IsSetKeyProviderId() |
| 20 | + { |
| 21 | + return this._keyProviderId != null; |
| 22 | + } |
| 23 | + public string KeyProviderInfo |
| 24 | + { |
| 25 | + get { return this._keyProviderInfo; } |
| 26 | + set { this._keyProviderInfo = value; } |
| 27 | + } |
| 28 | + public bool IsSetKeyProviderInfo() |
| 29 | + { |
| 30 | + return this._keyProviderInfo != null; |
| 31 | + } |
| 32 | + public string BranchKeyId |
| 33 | + { |
| 34 | + get { return this._branchKeyId; } |
| 35 | + set { this._branchKeyId = value; } |
| 36 | + } |
| 37 | + public bool IsSetBranchKeyId() |
| 38 | + { |
| 39 | + return this._branchKeyId != null; |
| 40 | + } |
| 41 | + public string BranchKeyVersion |
| 42 | + { |
| 43 | + get { return this._branchKeyVersion; } |
| 44 | + set { this._branchKeyVersion = value; } |
| 45 | + } |
| 46 | + public bool IsSetBranchKeyVersion() |
| 47 | + { |
| 48 | + return this._branchKeyVersion != null; |
| 49 | + } |
| 50 | + public void Validate() |
| 51 | + { |
| 52 | + if (!IsSetKeyProviderId()) throw new System.ArgumentException("Missing value for required property 'KeyProviderId'"); |
| 53 | + |
| 54 | + } |
| 55 | + } |
| 56 | +} |
0 commit comments