Skip to content

Commit 00899ee

Browse files
authored
feat: repair dotnet build (#466)
* feat: repair dotnet build, enable net ci
1 parent fcc7c6e commit 00899ee

File tree

141 files changed

+14627
-1
lines changed

Some content is hidden

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

141 files changed

+14627
-1
lines changed

.github/workflows/ci_test_net.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
testDotNet:
2828
# Don't run the nightly build on forks
2929
# Disabled until we reintroduce DynamoDbEncryption, since a matrix vector cannot be empty
30-
if: false && (github.event_name != 'schedule' || github.repository_owner == 'aws')
30+
if: (github.event_name != 'schedule' || github.repository_owner == 'aws')
3131
strategy:
3232
matrix:
3333
library: [
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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 AsSet
9+
{
10+
11+
12+
public void Validate()
13+
{
14+
15+
}
16+
}
17+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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 BeaconKeySource
9+
{
10+
private AWS.Cryptography.DbEncryptionSDK.DynamoDb.SingleKeyStore _single;
11+
private AWS.Cryptography.DbEncryptionSDK.DynamoDb.MultiKeyStore _multi;
12+
public AWS.Cryptography.DbEncryptionSDK.DynamoDb.SingleKeyStore Single
13+
{
14+
get { return this._single; }
15+
set { this._single = value; }
16+
}
17+
public bool IsSetSingle()
18+
{
19+
return this._single != null;
20+
}
21+
public AWS.Cryptography.DbEncryptionSDK.DynamoDb.MultiKeyStore Multi
22+
{
23+
get { return this._multi; }
24+
set { this._multi = value; }
25+
}
26+
public bool IsSetMulti()
27+
{
28+
return this._multi != null;
29+
}
30+
public void Validate()
31+
{
32+
var numberOfPropertiesSet = Convert.ToUInt16(IsSetSingle()) +
33+
Convert.ToUInt16(IsSetMulti());
34+
if (numberOfPropertiesSet == 0) throw new System.ArgumentException("No union value set");
35+
36+
if (numberOfPropertiesSet > 1) throw new System.ArgumentException("Multiple union values set");
37+
38+
}
39+
}
40+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
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 BeaconStyle
9+
{
10+
private AWS.Cryptography.DbEncryptionSDK.DynamoDb.PartOnly _partOnly;
11+
private AWS.Cryptography.DbEncryptionSDK.DynamoDb.Twinned _twinned;
12+
private AWS.Cryptography.DbEncryptionSDK.DynamoDb.AsSet _asSet;
13+
private AWS.Cryptography.DbEncryptionSDK.DynamoDb.TwinnedSet _twinnedSet;
14+
public AWS.Cryptography.DbEncryptionSDK.DynamoDb.PartOnly PartOnly
15+
{
16+
get { return this._partOnly; }
17+
set { this._partOnly = value; }
18+
}
19+
public bool IsSetPartOnly()
20+
{
21+
return this._partOnly != null;
22+
}
23+
public AWS.Cryptography.DbEncryptionSDK.DynamoDb.Twinned Twinned
24+
{
25+
get { return this._twinned; }
26+
set { this._twinned = value; }
27+
}
28+
public bool IsSetTwinned()
29+
{
30+
return this._twinned != null;
31+
}
32+
public AWS.Cryptography.DbEncryptionSDK.DynamoDb.AsSet AsSet
33+
{
34+
get { return this._asSet; }
35+
set { this._asSet = value; }
36+
}
37+
public bool IsSetAsSet()
38+
{
39+
return this._asSet != null;
40+
}
41+
public AWS.Cryptography.DbEncryptionSDK.DynamoDb.TwinnedSet TwinnedSet
42+
{
43+
get { return this._twinnedSet; }
44+
set { this._twinnedSet = value; }
45+
}
46+
public bool IsSetTwinnedSet()
47+
{
48+
return this._twinnedSet != null;
49+
}
50+
public void Validate()
51+
{
52+
var numberOfPropertiesSet = Convert.ToUInt16(IsSetPartOnly()) +
53+
Convert.ToUInt16(IsSetTwinned()) +
54+
Convert.ToUInt16(IsSetAsSet()) +
55+
Convert.ToUInt16(IsSetTwinnedSet());
56+
if (numberOfPropertiesSet == 0) throw new System.ArgumentException("No union value set");
57+
58+
if (numberOfPropertiesSet > 1) throw new System.ArgumentException("Multiple union values set");
59+
60+
}
61+
}
62+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
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+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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 CollectionOfErrors : Exception
9+
{
10+
public readonly System.Collections.Generic.List<Exception> list;
11+
public CollectionOfErrors(System.Collections.Generic.List<Exception> list, string message) : base(message) { this.list = list; }
12+
public CollectionOfErrors(string message) : base(message) { this.list = new System.Collections.Generic.List<Exception>(); }
13+
public CollectionOfErrors() : base("CollectionOfErrors") { this.list = new System.Collections.Generic.List<Exception>(); }
14+
}
15+
16+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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 CompoundBeacon
9+
{
10+
private string _name;
11+
private string _split;
12+
private System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.EncryptedPart> _encrypted;
13+
private System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.SignedPart> _signed;
14+
private System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.Constructor> _constructors;
15+
public string Name
16+
{
17+
get { return this._name; }
18+
set { this._name = value; }
19+
}
20+
public bool IsSetName()
21+
{
22+
return this._name != null;
23+
}
24+
public string Split
25+
{
26+
get { return this._split; }
27+
set { this._split = value; }
28+
}
29+
public bool IsSetSplit()
30+
{
31+
return this._split != null;
32+
}
33+
public System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.EncryptedPart> Encrypted
34+
{
35+
get { return this._encrypted; }
36+
set { this._encrypted = value; }
37+
}
38+
public bool IsSetEncrypted()
39+
{
40+
return this._encrypted != null;
41+
}
42+
public System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.SignedPart> Signed
43+
{
44+
get { return this._signed; }
45+
set { this._signed = value; }
46+
}
47+
public bool IsSetSigned()
48+
{
49+
return this._signed != null;
50+
}
51+
public System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.Constructor> Constructors
52+
{
53+
get { return this._constructors; }
54+
set { this._constructors = value; }
55+
}
56+
public bool IsSetConstructors()
57+
{
58+
return this._constructors != null;
59+
}
60+
public void Validate()
61+
{
62+
if (!IsSetName()) throw new System.ArgumentException("Missing value for required property 'Name'");
63+
if (!IsSetSplit()) throw new System.ArgumentException("Missing value for required property 'Split'");
64+
65+
}
66+
}
67+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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 Constructor
9+
{
10+
private System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.ConstructorPart> _parts;
11+
public System.Collections.Generic.List<AWS.Cryptography.DbEncryptionSDK.DynamoDb.ConstructorPart> Parts
12+
{
13+
get { return this._parts; }
14+
set { this._parts = value; }
15+
}
16+
public bool IsSetParts()
17+
{
18+
return this._parts != null;
19+
}
20+
public void Validate()
21+
{
22+
if (!IsSetParts()) throw new System.ArgumentException("Missing value for required property 'Parts'");
23+
24+
}
25+
}
26+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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 ConstructorPart
9+
{
10+
private string _name;
11+
private bool? _required;
12+
public string Name
13+
{
14+
get { return this._name; }
15+
set { this._name = value; }
16+
}
17+
public bool IsSetName()
18+
{
19+
return this._name != null;
20+
}
21+
public bool Required
22+
{
23+
get { return this._required.GetValueOrDefault(); }
24+
set { this._required = value; }
25+
}
26+
public bool IsSetRequired()
27+
{
28+
return this._required.HasValue;
29+
}
30+
public void Validate()
31+
{
32+
if (!IsSetName()) throw new System.ArgumentException("Missing value for required property 'Name'");
33+
if (!IsSetRequired()) throw new System.ArgumentException("Missing value for required property 'Required'");
34+
35+
}
36+
}
37+
}

0 commit comments

Comments
 (0)