Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 29ab4f5

Browse files
committedMar 29, 2024
Add dotnet generated
1 parent fe44b3f commit 29ab4f5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+2652
-0
lines changed
 
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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; namespace AWS.Cryptography.DbEncryptionSDK.DynamoDb {
6+
public class AsSet {
7+
8+
9+
public void Validate() {
10+
11+
}
12+
}
13+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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; namespace AWS.Cryptography.DbEncryptionSDK.DynamoDb {
6+
public class BeaconKeySource {
7+
private AWS.Cryptography.DbEncryptionSDK.DynamoDb.SingleKeyStore _single ;
8+
private AWS.Cryptography.DbEncryptionSDK.DynamoDb.MultiKeyStore _multi ;
9+
public AWS.Cryptography.DbEncryptionSDK.DynamoDb.SingleKeyStore Single {
10+
get { return this._single; }
11+
set { this._single = value; }
12+
}
13+
public bool IsSetSingle () {
14+
return this._single != null;
15+
}
16+
public AWS.Cryptography.DbEncryptionSDK.DynamoDb.MultiKeyStore Multi {
17+
get { return this._multi; }
18+
set { this._multi = value; }
19+
}
20+
public bool IsSetMulti () {
21+
return this._multi != null;
22+
}
23+
public void Validate() {
24+
var numberOfPropertiesSet = Convert.ToUInt16(IsSetSingle()) +
25+
Convert.ToUInt16(IsSetMulti()) ;
26+
if (numberOfPropertiesSet == 0) throw new System.ArgumentException("No union value set");
27+
28+
if (numberOfPropertiesSet > 1) throw new System.ArgumentException("Multiple union values set");
29+
30+
}
31+
}
32+
}

0 commit comments

Comments
 (0)
Please sign in to comment.