|
| 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 BeaconVersion |
| 9 | + { |
| 10 | + private int? _version; |
| 11 | + private AWS.Cryptography.KeyStore.KeyStore _keyStore; |
| 12 | + private AWS.Cryptography.DbEncryptionSDK.DynamoDb.BeaconKeySource _keySource; |
| 13 | + private System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.StandardBeacon> _standardBeacons; |
| 14 | + private System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.CompoundBeacon> _compoundBeacons; |
| 15 | + private System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.VirtualField> _virtualFields; |
| 16 | + private System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.EncryptedPart> _encryptedParts; |
| 17 | + private System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.SignedPart> _signedParts; |
| 18 | + public int Version |
| 19 | + { |
| 20 | + get { return this._version.GetValueOrDefault(); } |
| 21 | + set { this._version = value; } |
| 22 | + } |
| 23 | + public bool IsSetVersion() |
| 24 | + { |
| 25 | + return this._version.HasValue; |
| 26 | + } |
| 27 | + public AWS.Cryptography.KeyStore.KeyStore KeyStore |
| 28 | + { |
| 29 | + get { return this._keyStore; } |
| 30 | + set { this._keyStore = value; } |
| 31 | + } |
| 32 | + public bool IsSetKeyStore() |
| 33 | + { |
| 34 | + return this._keyStore != null; |
| 35 | + } |
| 36 | + public AWS.Cryptography.DbEncryptionSDK.DynamoDb.BeaconKeySource KeySource |
| 37 | + { |
| 38 | + get { return this._keySource; } |
| 39 | + set { this._keySource = value; } |
| 40 | + } |
| 41 | + public bool IsSetKeySource() |
| 42 | + { |
| 43 | + return this._keySource != null; |
| 44 | + } |
| 45 | + public System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.StandardBeacon> StandardBeacons |
| 46 | + { |
| 47 | + get { return this._standardBeacons; } |
| 48 | + set { this._standardBeacons = value; } |
| 49 | + } |
| 50 | + public bool IsSetStandardBeacons() |
| 51 | + { |
| 52 | + return this._standardBeacons != null; |
| 53 | + } |
| 54 | + public System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.CompoundBeacon> CompoundBeacons |
| 55 | + { |
| 56 | + get { return this._compoundBeacons; } |
| 57 | + set { this._compoundBeacons = value; } |
| 58 | + } |
| 59 | + public bool IsSetCompoundBeacons() |
| 60 | + { |
| 61 | + return this._compoundBeacons != null; |
| 62 | + } |
| 63 | + public System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.VirtualField> VirtualFields |
| 64 | + { |
| 65 | + get { return this._virtualFields; } |
| 66 | + set { this._virtualFields = value; } |
| 67 | + } |
| 68 | + public bool IsSetVirtualFields() |
| 69 | + { |
| 70 | + return this._virtualFields != null; |
| 71 | + } |
| 72 | + public System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.EncryptedPart> EncryptedParts |
| 73 | + { |
| 74 | + get { return this._encryptedParts; } |
| 75 | + set { this._encryptedParts = value; } |
| 76 | + } |
| 77 | + public bool IsSetEncryptedParts() |
| 78 | + { |
| 79 | + return this._encryptedParts != null; |
| 80 | + } |
| 81 | + public System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.SignedPart> SignedParts |
| 82 | + { |
| 83 | + get { return this._signedParts; } |
| 84 | + set { this._signedParts = value; } |
| 85 | + } |
| 86 | + public bool IsSetSignedParts() |
| 87 | + { |
| 88 | + return this._signedParts != null; |
| 89 | + } |
| 90 | + public void Validate() |
| 91 | + { |
| 92 | + if (!IsSetVersion()) throw new System.ArgumentException("Missing value for required property 'Version'"); |
| 93 | + if (!IsSetKeyStore()) throw new System.ArgumentException("Missing value for required property 'KeyStore'"); |
| 94 | + if (!IsSetKeySource()) throw new System.ArgumentException("Missing value for required property 'KeySource'"); |
| 95 | + if (!IsSetStandardBeacons()) throw new System.ArgumentException("Missing value for required property 'StandardBeacons'"); |
| 96 | + |
| 97 | + } |
| 98 | + } |
| 99 | +} |
0 commit comments