repo_name
stringlengths 1
52
| repo_creator
stringclasses 6
values | programming_language
stringclasses 4
values | code
stringlengths 0
9.68M
| num_lines
int64 1
234k
|
---|---|---|---|---|
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the DeleteFacet operation.
/// Deletes a given <a>Facet</a>. All attributes and <a>Rule</a>s that are associated
/// with the facet will be deleted. Only development schema facets are allowed deletion.
/// </summary>
public partial class DeleteFacetRequest : AmazonCloudDirectoryRequest
{
private string _name;
private string _schemaArn;
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the facet to delete.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property SchemaArn.
/// <para>
/// The Amazon Resource Name (ARN) that is associated with the <a>Facet</a>. For more
/// information, see <a>arns</a>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string SchemaArn
{
get { return this._schemaArn; }
set { this._schemaArn = value; }
}
// Check to see if SchemaArn property is set
internal bool IsSetSchemaArn()
{
return this._schemaArn != null;
}
}
}
| 81 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the DeleteFacet operation.
/// </summary>
public partial class DeleteFacetResponse : AmazonWebServiceResponse
{
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the DeleteObject operation.
/// Deletes an object and its associated attributes. Only objects with no children and
/// no parents can be deleted. The maximum number of attributes that can be deleted during
/// an object deletion is 30. For more information, see <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html">Amazon
/// Cloud Directory Limits</a>.
/// </summary>
public partial class DeleteObjectRequest : AmazonCloudDirectoryRequest
{
private string _directoryArn;
private ObjectReference _objectReference;
/// <summary>
/// Gets and sets the property DirectoryArn.
/// <para>
/// The Amazon Resource Name (ARN) that is associated with the <a>Directory</a> where
/// the object resides. For more information, see <a>arns</a>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DirectoryArn
{
get { return this._directoryArn; }
set { this._directoryArn = value; }
}
// Check to see if DirectoryArn property is set
internal bool IsSetDirectoryArn()
{
return this._directoryArn != null;
}
/// <summary>
/// Gets and sets the property ObjectReference.
/// <para>
/// A reference that identifies the object.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ObjectReference ObjectReference
{
get { return this._objectReference; }
set { this._objectReference = value; }
}
// Check to see if ObjectReference property is set
internal bool IsSetObjectReference()
{
return this._objectReference != null;
}
}
}
| 83 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the DeleteObject operation.
/// </summary>
public partial class DeleteObjectResponse : AmazonWebServiceResponse
{
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the DeleteSchema operation.
/// Deletes a given schema. Schemas in a development and published state can only be deleted.
/// </summary>
public partial class DeleteSchemaRequest : AmazonCloudDirectoryRequest
{
private string _schemaArn;
/// <summary>
/// Gets and sets the property SchemaArn.
/// <para>
/// The Amazon Resource Name (ARN) of the development schema. For more information, see
/// <a>arns</a>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string SchemaArn
{
get { return this._schemaArn; }
set { this._schemaArn = value; }
}
// Check to see if SchemaArn property is set
internal bool IsSetSchemaArn()
{
return this._schemaArn != null;
}
}
}
| 60 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the DeleteSchema operation.
/// </summary>
public partial class DeleteSchemaResponse : AmazonWebServiceResponse
{
private string _schemaArn;
/// <summary>
/// Gets and sets the property SchemaArn.
/// <para>
/// The input ARN that is returned as part of the response. For more information, see
/// <a>arns</a>.
/// </para>
/// </summary>
public string SchemaArn
{
get { return this._schemaArn; }
set { this._schemaArn = value; }
}
// Check to see if SchemaArn property is set
internal bool IsSetSchemaArn()
{
return this._schemaArn != null;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the DeleteTypedLinkFacet operation.
/// Deletes a <a>TypedLinkFacet</a>. For more information, see <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink">Typed
/// Links</a>.
/// </summary>
public partial class DeleteTypedLinkFacetRequest : AmazonCloudDirectoryRequest
{
private string _name;
private string _schemaArn;
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The unique name of the typed link facet.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property SchemaArn.
/// <para>
/// The Amazon Resource Name (ARN) that is associated with the schema. For more information,
/// see <a>arns</a>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string SchemaArn
{
get { return this._schemaArn; }
set { this._schemaArn = value; }
}
// Check to see if SchemaArn property is set
internal bool IsSetSchemaArn()
{
return this._schemaArn != null;
}
}
}
| 81 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the DeleteTypedLinkFacet operation.
/// </summary>
public partial class DeleteTypedLinkFacetResponse : AmazonWebServiceResponse
{
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the DetachFromIndex operation.
/// Detaches the specified object from the specified index.
/// </summary>
public partial class DetachFromIndexRequest : AmazonCloudDirectoryRequest
{
private string _directoryArn;
private ObjectReference _indexReference;
private ObjectReference _targetReference;
/// <summary>
/// Gets and sets the property DirectoryArn.
/// <para>
/// The Amazon Resource Name (ARN) of the directory the index and object exist in.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DirectoryArn
{
get { return this._directoryArn; }
set { this._directoryArn = value; }
}
// Check to see if DirectoryArn property is set
internal bool IsSetDirectoryArn()
{
return this._directoryArn != null;
}
/// <summary>
/// Gets and sets the property IndexReference.
/// <para>
/// A reference to the index object.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ObjectReference IndexReference
{
get { return this._indexReference; }
set { this._indexReference = value; }
}
// Check to see if IndexReference property is set
internal bool IsSetIndexReference()
{
return this._indexReference != null;
}
/// <summary>
/// Gets and sets the property TargetReference.
/// <para>
/// A reference to the object being detached from the index.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ObjectReference TargetReference
{
get { return this._targetReference; }
set { this._targetReference = value; }
}
// Check to see if TargetReference property is set
internal bool IsSetTargetReference()
{
return this._targetReference != null;
}
}
}
| 99 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the DetachFromIndex operation.
/// </summary>
public partial class DetachFromIndexResponse : AmazonWebServiceResponse
{
private string _detachedObjectIdentifier;
/// <summary>
/// Gets and sets the property DetachedObjectIdentifier.
/// <para>
/// The <code>ObjectIdentifier</code> of the object that was detached from the index.
/// </para>
/// </summary>
public string DetachedObjectIdentifier
{
get { return this._detachedObjectIdentifier; }
set { this._detachedObjectIdentifier = value; }
}
// Check to see if DetachedObjectIdentifier property is set
internal bool IsSetDetachedObjectIdentifier()
{
return this._detachedObjectIdentifier != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the DetachObject operation.
/// Detaches a given object from the parent object. The object that is to be detached
/// from the parent is specified by the link name.
/// </summary>
public partial class DetachObjectRequest : AmazonCloudDirectoryRequest
{
private string _directoryArn;
private string _linkName;
private ObjectReference _parentReference;
/// <summary>
/// Gets and sets the property DirectoryArn.
/// <para>
/// The Amazon Resource Name (ARN) that is associated with the <a>Directory</a> where
/// objects reside. For more information, see <a>arns</a>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DirectoryArn
{
get { return this._directoryArn; }
set { this._directoryArn = value; }
}
// Check to see if DirectoryArn property is set
internal bool IsSetDirectoryArn()
{
return this._directoryArn != null;
}
/// <summary>
/// Gets and sets the property LinkName.
/// <para>
/// The link name associated with the object that needs to be detached.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=64)]
public string LinkName
{
get { return this._linkName; }
set { this._linkName = value; }
}
// Check to see if LinkName property is set
internal bool IsSetLinkName()
{
return this._linkName != null;
}
/// <summary>
/// Gets and sets the property ParentReference.
/// <para>
/// The parent reference from which the object with the specified link name is detached.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ObjectReference ParentReference
{
get { return this._parentReference; }
set { this._parentReference = value; }
}
// Check to see if ParentReference property is set
internal bool IsSetParentReference()
{
return this._parentReference != null;
}
}
}
| 101 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the DetachObject operation.
/// </summary>
public partial class DetachObjectResponse : AmazonWebServiceResponse
{
private string _detachedObjectIdentifier;
/// <summary>
/// Gets and sets the property DetachedObjectIdentifier.
/// <para>
/// The <code>ObjectIdentifier</code> that was detached from the object.
/// </para>
/// </summary>
public string DetachedObjectIdentifier
{
get { return this._detachedObjectIdentifier; }
set { this._detachedObjectIdentifier = value; }
}
// Check to see if DetachedObjectIdentifier property is set
internal bool IsSetDetachedObjectIdentifier()
{
return this._detachedObjectIdentifier != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the DetachPolicy operation.
/// Detaches a policy from an object.
/// </summary>
public partial class DetachPolicyRequest : AmazonCloudDirectoryRequest
{
private string _directoryArn;
private ObjectReference _objectReference;
private ObjectReference _policyReference;
/// <summary>
/// Gets and sets the property DirectoryArn.
/// <para>
/// The Amazon Resource Name (ARN) that is associated with the <a>Directory</a> where
/// both objects reside. For more information, see <a>arns</a>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DirectoryArn
{
get { return this._directoryArn; }
set { this._directoryArn = value; }
}
// Check to see if DirectoryArn property is set
internal bool IsSetDirectoryArn()
{
return this._directoryArn != null;
}
/// <summary>
/// Gets and sets the property ObjectReference.
/// <para>
/// Reference that identifies the object whose policy object will be detached.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ObjectReference ObjectReference
{
get { return this._objectReference; }
set { this._objectReference = value; }
}
// Check to see if ObjectReference property is set
internal bool IsSetObjectReference()
{
return this._objectReference != null;
}
/// <summary>
/// Gets and sets the property PolicyReference.
/// <para>
/// Reference that identifies the policy object.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ObjectReference PolicyReference
{
get { return this._policyReference; }
set { this._policyReference = value; }
}
// Check to see if PolicyReference property is set
internal bool IsSetPolicyReference()
{
return this._policyReference != null;
}
}
}
| 100 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the DetachPolicy operation.
/// </summary>
public partial class DetachPolicyResponse : AmazonWebServiceResponse
{
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the DetachTypedLink operation.
/// Detaches a typed link from a specified source and target object. For more information,
/// see <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink">Typed
/// Links</a>.
/// </summary>
public partial class DetachTypedLinkRequest : AmazonCloudDirectoryRequest
{
private string _directoryArn;
private TypedLinkSpecifier _typedLinkSpecifier;
/// <summary>
/// Gets and sets the property DirectoryArn.
/// <para>
/// The Amazon Resource Name (ARN) of the directory where you want to detach the typed
/// link.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DirectoryArn
{
get { return this._directoryArn; }
set { this._directoryArn = value; }
}
// Check to see if DirectoryArn property is set
internal bool IsSetDirectoryArn()
{
return this._directoryArn != null;
}
/// <summary>
/// Gets and sets the property TypedLinkSpecifier.
/// <para>
/// Used to accept a typed link specifier as input.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public TypedLinkSpecifier TypedLinkSpecifier
{
get { return this._typedLinkSpecifier; }
set { this._typedLinkSpecifier = value; }
}
// Check to see if TypedLinkSpecifier property is set
internal bool IsSetTypedLinkSpecifier()
{
return this._typedLinkSpecifier != null;
}
}
}
| 82 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the DetachTypedLink operation.
/// </summary>
public partial class DetachTypedLinkResponse : AmazonWebServiceResponse
{
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Directory structure that includes the directory name and directory ARN.
/// </summary>
public partial class Directory
{
private DateTime? _creationDateTime;
private string _directoryArn;
private string _name;
private DirectoryState _state;
/// <summary>
/// Gets and sets the property CreationDateTime.
/// <para>
/// The date and time when the directory was created.
/// </para>
/// </summary>
public DateTime CreationDateTime
{
get { return this._creationDateTime.GetValueOrDefault(); }
set { this._creationDateTime = value; }
}
// Check to see if CreationDateTime property is set
internal bool IsSetCreationDateTime()
{
return this._creationDateTime.HasValue;
}
/// <summary>
/// Gets and sets the property DirectoryArn.
/// <para>
/// The Amazon Resource Name (ARN) that is associated with the directory. For more information,
/// see <a>arns</a>.
/// </para>
/// </summary>
public string DirectoryArn
{
get { return this._directoryArn; }
set { this._directoryArn = value; }
}
// Check to see if DirectoryArn property is set
internal bool IsSetDirectoryArn()
{
return this._directoryArn != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the directory.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property State.
/// <para>
/// The state of the directory. Can be either <code>Enabled</code>, <code>Disabled</code>,
/// or <code>Deleted</code>.
/// </para>
/// </summary>
public DirectoryState State
{
get { return this._state; }
set { this._state = value; }
}
// Check to see if State property is set
internal bool IsSetState()
{
return this._state != null;
}
}
}
| 117 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Indicates that a <a>Directory</a> could not be created due to a naming conflict. Choose
/// a different name and try again.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class DirectoryAlreadyExistsException : AmazonCloudDirectoryException
{
/// <summary>
/// Constructs a new DirectoryAlreadyExistsException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public DirectoryAlreadyExistsException(string message)
: base(message) {}
/// <summary>
/// Construct instance of DirectoryAlreadyExistsException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public DirectoryAlreadyExistsException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of DirectoryAlreadyExistsException
/// </summary>
/// <param name="innerException"></param>
public DirectoryAlreadyExistsException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of DirectoryAlreadyExistsException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public DirectoryAlreadyExistsException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of DirectoryAlreadyExistsException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public DirectoryAlreadyExistsException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the DirectoryAlreadyExistsException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected DirectoryAlreadyExistsException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 125 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// A directory that has been deleted and to which access has been attempted. Note: The
/// requested resource will eventually cease to exist.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class DirectoryDeletedException : AmazonCloudDirectoryException
{
/// <summary>
/// Constructs a new DirectoryDeletedException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public DirectoryDeletedException(string message)
: base(message) {}
/// <summary>
/// Construct instance of DirectoryDeletedException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public DirectoryDeletedException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of DirectoryDeletedException
/// </summary>
/// <param name="innerException"></param>
public DirectoryDeletedException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of DirectoryDeletedException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public DirectoryDeletedException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of DirectoryDeletedException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public DirectoryDeletedException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the DirectoryDeletedException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected DirectoryDeletedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 125 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// An operation can only operate on a disabled directory.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class DirectoryNotDisabledException : AmazonCloudDirectoryException
{
/// <summary>
/// Constructs a new DirectoryNotDisabledException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public DirectoryNotDisabledException(string message)
: base(message) {}
/// <summary>
/// Construct instance of DirectoryNotDisabledException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public DirectoryNotDisabledException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of DirectoryNotDisabledException
/// </summary>
/// <param name="innerException"></param>
public DirectoryNotDisabledException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of DirectoryNotDisabledException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public DirectoryNotDisabledException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of DirectoryNotDisabledException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public DirectoryNotDisabledException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the DirectoryNotDisabledException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected DirectoryNotDisabledException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 124 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Operations are only permitted on enabled directories.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class DirectoryNotEnabledException : AmazonCloudDirectoryException
{
/// <summary>
/// Constructs a new DirectoryNotEnabledException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public DirectoryNotEnabledException(string message)
: base(message) {}
/// <summary>
/// Construct instance of DirectoryNotEnabledException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public DirectoryNotEnabledException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of DirectoryNotEnabledException
/// </summary>
/// <param name="innerException"></param>
public DirectoryNotEnabledException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of DirectoryNotEnabledException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public DirectoryNotEnabledException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of DirectoryNotEnabledException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public DirectoryNotEnabledException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the DirectoryNotEnabledException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected DirectoryNotEnabledException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 124 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the DisableDirectory operation.
/// Disables the specified directory. Disabled directories cannot be read or written to.
/// Only enabled directories can be disabled. Disabled directories may be reenabled.
/// </summary>
public partial class DisableDirectoryRequest : AmazonCloudDirectoryRequest
{
private string _directoryArn;
/// <summary>
/// Gets and sets the property DirectoryArn.
/// <para>
/// The ARN of the directory to disable.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DirectoryArn
{
get { return this._directoryArn; }
set { this._directoryArn = value; }
}
// Check to see if DirectoryArn property is set
internal bool IsSetDirectoryArn()
{
return this._directoryArn != null;
}
}
}
| 60 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the DisableDirectory operation.
/// </summary>
public partial class DisableDirectoryResponse : AmazonWebServiceResponse
{
private string _directoryArn;
/// <summary>
/// Gets and sets the property DirectoryArn.
/// <para>
/// The ARN of the directory that has been disabled.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DirectoryArn
{
get { return this._directoryArn; }
set { this._directoryArn = value; }
}
// Check to see if DirectoryArn property is set
internal bool IsSetDirectoryArn()
{
return this._directoryArn != null;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the EnableDirectory operation.
/// Enables the specified directory. Only disabled directories can be enabled. Once enabled,
/// the directory can then be read and written to.
/// </summary>
public partial class EnableDirectoryRequest : AmazonCloudDirectoryRequest
{
private string _directoryArn;
/// <summary>
/// Gets and sets the property DirectoryArn.
/// <para>
/// The ARN of the directory to enable.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DirectoryArn
{
get { return this._directoryArn; }
set { this._directoryArn = value; }
}
// Check to see if DirectoryArn property is set
internal bool IsSetDirectoryArn()
{
return this._directoryArn != null;
}
}
}
| 60 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the EnableDirectory operation.
/// </summary>
public partial class EnableDirectoryResponse : AmazonWebServiceResponse
{
private string _directoryArn;
/// <summary>
/// Gets and sets the property DirectoryArn.
/// <para>
/// The ARN of the enabled directory.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DirectoryArn
{
get { return this._directoryArn; }
set { this._directoryArn = value; }
}
// Check to see if DirectoryArn property is set
internal bool IsSetDirectoryArn()
{
return this._directoryArn != null;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// A structure that contains <code>Name</code>, <code>ARN</code>, <code>Attributes</code>,
/// <code> <a>Rule</a>s</code>, and <code>ObjectTypes</code>. See <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/schemas_whatarefacets.html">Facets</a>
/// for more information.
/// </summary>
public partial class Facet
{
private FacetStyle _facetStyle;
private string _name;
private ObjectType _objectType;
/// <summary>
/// Gets and sets the property FacetStyle.
/// <para>
/// There are two different styles that you can define on any given facet, <code>Static</code>
/// and <code>Dynamic</code>. For static facets, all attributes must be defined in the
/// schema. For dynamic facets, attributes can be defined during data plane operations.
/// </para>
/// </summary>
public FacetStyle FacetStyle
{
get { return this._facetStyle; }
set { this._facetStyle = value; }
}
// Check to see if FacetStyle property is set
internal bool IsSetFacetStyle()
{
return this._facetStyle != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the <a>Facet</a>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property ObjectType.
/// <para>
/// The object type that is associated with the facet. See <a>CreateFacetRequest$ObjectType</a>
/// for more details.
/// </para>
/// </summary>
public ObjectType ObjectType
{
get { return this._objectType; }
set { this._objectType = value; }
}
// Check to see if ObjectType property is set
internal bool IsSetObjectType()
{
return this._objectType != null;
}
}
}
| 101 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// A facet with the same name already exists.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class FacetAlreadyExistsException : AmazonCloudDirectoryException
{
/// <summary>
/// Constructs a new FacetAlreadyExistsException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public FacetAlreadyExistsException(string message)
: base(message) {}
/// <summary>
/// Construct instance of FacetAlreadyExistsException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public FacetAlreadyExistsException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of FacetAlreadyExistsException
/// </summary>
/// <param name="innerException"></param>
public FacetAlreadyExistsException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of FacetAlreadyExistsException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public FacetAlreadyExistsException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of FacetAlreadyExistsException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public FacetAlreadyExistsException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the FacetAlreadyExistsException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected FacetAlreadyExistsException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 124 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// An attribute that is associated with the <a>Facet</a>.
/// </summary>
public partial class FacetAttribute
{
private FacetAttributeDefinition _attributeDefinition;
private FacetAttributeReference _attributeReference;
private string _name;
private RequiredAttributeBehavior _requiredBehavior;
/// <summary>
/// Gets and sets the property AttributeDefinition.
/// <para>
/// A facet attribute consists of either a definition or a reference. This structure contains
/// the attribute definition. See <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/schemas_attributereferences.html">Attribute
/// References</a> for more information.
/// </para>
/// </summary>
public FacetAttributeDefinition AttributeDefinition
{
get { return this._attributeDefinition; }
set { this._attributeDefinition = value; }
}
// Check to see if AttributeDefinition property is set
internal bool IsSetAttributeDefinition()
{
return this._attributeDefinition != null;
}
/// <summary>
/// Gets and sets the property AttributeReference.
/// <para>
/// An attribute reference that is associated with the attribute. See <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/schemas_attributereferences.html">Attribute
/// References</a> for more information.
/// </para>
/// </summary>
public FacetAttributeReference AttributeReference
{
get { return this._attributeReference; }
set { this._attributeReference = value; }
}
// Check to see if AttributeReference property is set
internal bool IsSetAttributeReference()
{
return this._attributeReference != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the facet attribute.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=230)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property RequiredBehavior.
/// <para>
/// The required behavior of the <code>FacetAttribute</code>.
/// </para>
/// </summary>
public RequiredAttributeBehavior RequiredBehavior
{
get { return this._requiredBehavior; }
set { this._requiredBehavior = value; }
}
// Check to see if RequiredBehavior property is set
internal bool IsSetRequiredBehavior()
{
return this._requiredBehavior != null;
}
}
}
| 118 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// A facet attribute definition. See <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/schemas_attributereferences.html">Attribute
/// References</a> for more information.
/// </summary>
public partial class FacetAttributeDefinition
{
private TypedAttributeValue _defaultValue;
private bool? _isImmutable;
private Dictionary<string, Rule> _rules = new Dictionary<string, Rule>();
private FacetAttributeType _type;
/// <summary>
/// Gets and sets the property DefaultValue.
/// <para>
/// The default value of the attribute (if configured).
/// </para>
/// </summary>
public TypedAttributeValue DefaultValue
{
get { return this._defaultValue; }
set { this._defaultValue = value; }
}
// Check to see if DefaultValue property is set
internal bool IsSetDefaultValue()
{
return this._defaultValue != null;
}
/// <summary>
/// Gets and sets the property IsImmutable.
/// <para>
/// Whether the attribute is mutable or not.
/// </para>
/// </summary>
public bool IsImmutable
{
get { return this._isImmutable.GetValueOrDefault(); }
set { this._isImmutable = value; }
}
// Check to see if IsImmutable property is set
internal bool IsSetIsImmutable()
{
return this._isImmutable.HasValue;
}
/// <summary>
/// Gets and sets the property Rules.
/// <para>
/// Validation rules attached to the attribute definition.
/// </para>
/// </summary>
public Dictionary<string, Rule> Rules
{
get { return this._rules; }
set { this._rules = value; }
}
// Check to see if Rules property is set
internal bool IsSetRules()
{
return this._rules != null && this._rules.Count > 0;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The type of the attribute.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public FacetAttributeType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}
| 116 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// The facet attribute reference that specifies the attribute definition that contains
/// the attribute facet name and attribute name.
/// </summary>
public partial class FacetAttributeReference
{
private string _targetAttributeName;
private string _targetFacetName;
/// <summary>
/// Gets and sets the property TargetAttributeName.
/// <para>
/// The target attribute name that is associated with the facet reference. See <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/schemas_attributereferences.html">Attribute
/// References</a> for more information.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=230)]
public string TargetAttributeName
{
get { return this._targetAttributeName; }
set { this._targetAttributeName = value; }
}
// Check to see if TargetAttributeName property is set
internal bool IsSetTargetAttributeName()
{
return this._targetAttributeName != null;
}
/// <summary>
/// Gets and sets the property TargetFacetName.
/// <para>
/// The target facet name that is associated with the facet reference. See <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/schemas_attributereferences.html">Attribute
/// References</a> for more information.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=64)]
public string TargetFacetName
{
get { return this._targetFacetName; }
set { this._targetFacetName = value; }
}
// Check to see if TargetFacetName property is set
internal bool IsSetTargetFacetName()
{
return this._targetFacetName != null;
}
}
}
| 81 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// A structure that contains information used to update an attribute.
/// </summary>
public partial class FacetAttributeUpdate
{
private UpdateActionType _action;
private FacetAttribute _attribute;
/// <summary>
/// Gets and sets the property Action.
/// <para>
/// The action to perform when updating the attribute.
/// </para>
/// </summary>
public UpdateActionType Action
{
get { return this._action; }
set { this._action = value; }
}
// Check to see if Action property is set
internal bool IsSetAction()
{
return this._action != null;
}
/// <summary>
/// Gets and sets the property Attribute.
/// <para>
/// The attribute to update.
/// </para>
/// </summary>
public FacetAttribute Attribute
{
get { return this._attribute; }
set { this._attribute = value; }
}
// Check to see if Attribute property is set
internal bool IsSetAttribute()
{
return this._attribute != null;
}
}
}
| 76 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Occurs when deleting a facet that contains an attribute that is a target to an attribute
/// reference in a different facet.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class FacetInUseException : AmazonCloudDirectoryException
{
/// <summary>
/// Constructs a new FacetInUseException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public FacetInUseException(string message)
: base(message) {}
/// <summary>
/// Construct instance of FacetInUseException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public FacetInUseException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of FacetInUseException
/// </summary>
/// <param name="innerException"></param>
public FacetInUseException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of FacetInUseException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public FacetInUseException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of FacetInUseException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public FacetInUseException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the FacetInUseException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected FacetInUseException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 125 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// The specified <a>Facet</a> could not be found.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class FacetNotFoundException : AmazonCloudDirectoryException
{
/// <summary>
/// Constructs a new FacetNotFoundException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public FacetNotFoundException(string message)
: base(message) {}
/// <summary>
/// Construct instance of FacetNotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public FacetNotFoundException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of FacetNotFoundException
/// </summary>
/// <param name="innerException"></param>
public FacetNotFoundException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of FacetNotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public FacetNotFoundException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of FacetNotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public FacetNotFoundException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the FacetNotFoundException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected FacetNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 124 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// The <a>Facet</a> that you provided was not well formed or could not be validated with
/// the schema.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class FacetValidationException : AmazonCloudDirectoryException
{
/// <summary>
/// Constructs a new FacetValidationException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public FacetValidationException(string message)
: base(message) {}
/// <summary>
/// Construct instance of FacetValidationException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public FacetValidationException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of FacetValidationException
/// </summary>
/// <param name="innerException"></param>
public FacetValidationException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of FacetValidationException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public FacetValidationException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of FacetValidationException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public FacetValidationException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the FacetValidationException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected FacetValidationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 125 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the GetAppliedSchemaVersion operation.
/// Returns current applied schema version ARN, including the minor version in use.
/// </summary>
public partial class GetAppliedSchemaVersionRequest : AmazonCloudDirectoryRequest
{
private string _schemaArn;
/// <summary>
/// Gets and sets the property SchemaArn.
/// <para>
/// The ARN of the applied schema.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string SchemaArn
{
get { return this._schemaArn; }
set { this._schemaArn = value; }
}
// Check to see if SchemaArn property is set
internal bool IsSetSchemaArn()
{
return this._schemaArn != null;
}
}
}
| 59 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the GetAppliedSchemaVersion operation.
/// </summary>
public partial class GetAppliedSchemaVersionResponse : AmazonWebServiceResponse
{
private string _appliedSchemaArn;
/// <summary>
/// Gets and sets the property AppliedSchemaArn.
/// <para>
/// Current applied schema ARN, including the minor version in use if one was provided.
/// </para>
/// </summary>
public string AppliedSchemaArn
{
get { return this._appliedSchemaArn; }
set { this._appliedSchemaArn = value; }
}
// Check to see if AppliedSchemaArn property is set
internal bool IsSetAppliedSchemaArn()
{
return this._appliedSchemaArn != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the GetDirectory operation.
/// Retrieves metadata about a directory.
/// </summary>
public partial class GetDirectoryRequest : AmazonCloudDirectoryRequest
{
private string _directoryArn;
/// <summary>
/// Gets and sets the property DirectoryArn.
/// <para>
/// The ARN of the directory.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DirectoryArn
{
get { return this._directoryArn; }
set { this._directoryArn = value; }
}
// Check to see if DirectoryArn property is set
internal bool IsSetDirectoryArn()
{
return this._directoryArn != null;
}
}
}
| 59 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the GetDirectory operation.
/// </summary>
public partial class GetDirectoryResponse : AmazonWebServiceResponse
{
private Directory _directory;
/// <summary>
/// Gets and sets the property Directory.
/// <para>
/// Metadata about the directory.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public Directory Directory
{
get { return this._directory; }
set { this._directory = value; }
}
// Check to see if Directory property is set
internal bool IsSetDirectory()
{
return this._directory != null;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the GetFacet operation.
/// Gets details of the <a>Facet</a>, such as facet name, attributes, <a>Rule</a>s, or
/// <code>ObjectType</code>. You can call this on all kinds of schema facets -- published,
/// development, or applied.
/// </summary>
public partial class GetFacetRequest : AmazonCloudDirectoryRequest
{
private string _name;
private string _schemaArn;
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the facet to retrieve.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property SchemaArn.
/// <para>
/// The Amazon Resource Name (ARN) that is associated with the <a>Facet</a>. For more
/// information, see <a>arns</a>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string SchemaArn
{
get { return this._schemaArn; }
set { this._schemaArn = value; }
}
// Check to see if SchemaArn property is set
internal bool IsSetSchemaArn()
{
return this._schemaArn != null;
}
}
}
| 82 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the GetFacet operation.
/// </summary>
public partial class GetFacetResponse : AmazonWebServiceResponse
{
private Facet _facet;
/// <summary>
/// Gets and sets the property Facet.
/// <para>
/// The <a>Facet</a> structure that is associated with the facet.
/// </para>
/// </summary>
public Facet Facet
{
get { return this._facet; }
set { this._facet = value; }
}
// Check to see if Facet property is set
internal bool IsSetFacet()
{
return this._facet != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the GetLinkAttributes operation.
/// Retrieves attributes that are associated with a typed link.
/// </summary>
public partial class GetLinkAttributesRequest : AmazonCloudDirectoryRequest
{
private List<string> _attributeNames = new List<string>();
private ConsistencyLevel _consistencyLevel;
private string _directoryArn;
private TypedLinkSpecifier _typedLinkSpecifier;
/// <summary>
/// Gets and sets the property AttributeNames.
/// <para>
/// A list of attribute names whose values will be retrieved.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<string> AttributeNames
{
get { return this._attributeNames; }
set { this._attributeNames = value; }
}
// Check to see if AttributeNames property is set
internal bool IsSetAttributeNames()
{
return this._attributeNames != null && this._attributeNames.Count > 0;
}
/// <summary>
/// Gets and sets the property ConsistencyLevel.
/// <para>
/// The consistency level at which to retrieve the attributes on a typed link.
/// </para>
/// </summary>
public ConsistencyLevel ConsistencyLevel
{
get { return this._consistencyLevel; }
set { this._consistencyLevel = value; }
}
// Check to see if ConsistencyLevel property is set
internal bool IsSetConsistencyLevel()
{
return this._consistencyLevel != null;
}
/// <summary>
/// Gets and sets the property DirectoryArn.
/// <para>
/// The Amazon Resource Name (ARN) that is associated with the Directory where the typed
/// link resides. For more information, see <a>arns</a> or <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink">Typed
/// Links</a>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DirectoryArn
{
get { return this._directoryArn; }
set { this._directoryArn = value; }
}
// Check to see if DirectoryArn property is set
internal bool IsSetDirectoryArn()
{
return this._directoryArn != null;
}
/// <summary>
/// Gets and sets the property TypedLinkSpecifier.
/// <para>
/// Allows a typed link specifier to be accepted as input.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public TypedLinkSpecifier TypedLinkSpecifier
{
get { return this._typedLinkSpecifier; }
set { this._typedLinkSpecifier = value; }
}
// Check to see if TypedLinkSpecifier property is set
internal bool IsSetTypedLinkSpecifier()
{
return this._typedLinkSpecifier != null;
}
}
}
| 120 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the GetLinkAttributes operation.
/// </summary>
public partial class GetLinkAttributesResponse : AmazonWebServiceResponse
{
private List<AttributeKeyAndValue> _attributes = new List<AttributeKeyAndValue>();
/// <summary>
/// Gets and sets the property Attributes.
/// <para>
/// The attributes that are associated with the typed link.
/// </para>
/// </summary>
public List<AttributeKeyAndValue> Attributes
{
get { return this._attributes; }
set { this._attributes = value; }
}
// Check to see if Attributes property is set
internal bool IsSetAttributes()
{
return this._attributes != null && this._attributes.Count > 0;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the GetObjectAttributes operation.
/// Retrieves attributes within a facet that are associated with an object.
/// </summary>
public partial class GetObjectAttributesRequest : AmazonCloudDirectoryRequest
{
private List<string> _attributeNames = new List<string>();
private ConsistencyLevel _consistencyLevel;
private string _directoryArn;
private ObjectReference _objectReference;
private SchemaFacet _schemaFacet;
/// <summary>
/// Gets and sets the property AttributeNames.
/// <para>
/// List of attribute names whose values will be retrieved.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<string> AttributeNames
{
get { return this._attributeNames; }
set { this._attributeNames = value; }
}
// Check to see if AttributeNames property is set
internal bool IsSetAttributeNames()
{
return this._attributeNames != null && this._attributeNames.Count > 0;
}
/// <summary>
/// Gets and sets the property ConsistencyLevel.
/// <para>
/// The consistency level at which to retrieve the attributes on an object.
/// </para>
/// </summary>
public ConsistencyLevel ConsistencyLevel
{
get { return this._consistencyLevel; }
set { this._consistencyLevel = value; }
}
// Check to see if ConsistencyLevel property is set
internal bool IsSetConsistencyLevel()
{
return this._consistencyLevel != null;
}
/// <summary>
/// Gets and sets the property DirectoryArn.
/// <para>
/// The Amazon Resource Name (ARN) that is associated with the <a>Directory</a> where
/// the object resides.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DirectoryArn
{
get { return this._directoryArn; }
set { this._directoryArn = value; }
}
// Check to see if DirectoryArn property is set
internal bool IsSetDirectoryArn()
{
return this._directoryArn != null;
}
/// <summary>
/// Gets and sets the property ObjectReference.
/// <para>
/// Reference that identifies the object whose attributes will be retrieved.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ObjectReference ObjectReference
{
get { return this._objectReference; }
set { this._objectReference = value; }
}
// Check to see if ObjectReference property is set
internal bool IsSetObjectReference()
{
return this._objectReference != null;
}
/// <summary>
/// Gets and sets the property SchemaFacet.
/// <para>
/// Identifier for the facet whose attributes will be retrieved. See <a>SchemaFacet</a>
/// for details.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public SchemaFacet SchemaFacet
{
get { return this._schemaFacet; }
set { this._schemaFacet = value; }
}
// Check to see if SchemaFacet property is set
internal bool IsSetSchemaFacet()
{
return this._schemaFacet != null;
}
}
}
| 140 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the GetObjectAttributes operation.
/// </summary>
public partial class GetObjectAttributesResponse : AmazonWebServiceResponse
{
private List<AttributeKeyAndValue> _attributes = new List<AttributeKeyAndValue>();
/// <summary>
/// Gets and sets the property Attributes.
/// <para>
/// The attributes that are associated with the object.
/// </para>
/// </summary>
public List<AttributeKeyAndValue> Attributes
{
get { return this._attributes; }
set { this._attributes = value; }
}
// Check to see if Attributes property is set
internal bool IsSetAttributes()
{
return this._attributes != null && this._attributes.Count > 0;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the GetObjectInformation operation.
/// Retrieves metadata about an object.
/// </summary>
public partial class GetObjectInformationRequest : AmazonCloudDirectoryRequest
{
private ConsistencyLevel _consistencyLevel;
private string _directoryArn;
private ObjectReference _objectReference;
/// <summary>
/// Gets and sets the property ConsistencyLevel.
/// <para>
/// The consistency level at which to retrieve the object information.
/// </para>
/// </summary>
public ConsistencyLevel ConsistencyLevel
{
get { return this._consistencyLevel; }
set { this._consistencyLevel = value; }
}
// Check to see if ConsistencyLevel property is set
internal bool IsSetConsistencyLevel()
{
return this._consistencyLevel != null;
}
/// <summary>
/// Gets and sets the property DirectoryArn.
/// <para>
/// The ARN of the directory being retrieved.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DirectoryArn
{
get { return this._directoryArn; }
set { this._directoryArn = value; }
}
// Check to see if DirectoryArn property is set
internal bool IsSetDirectoryArn()
{
return this._directoryArn != null;
}
/// <summary>
/// Gets and sets the property ObjectReference.
/// <para>
/// A reference to the object.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ObjectReference ObjectReference
{
get { return this._objectReference; }
set { this._objectReference = value; }
}
// Check to see if ObjectReference property is set
internal bool IsSetObjectReference()
{
return this._objectReference != null;
}
}
}
| 98 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the GetObjectInformation operation.
/// </summary>
public partial class GetObjectInformationResponse : AmazonWebServiceResponse
{
private string _objectIdentifier;
private List<SchemaFacet> _schemaFacets = new List<SchemaFacet>();
/// <summary>
/// Gets and sets the property ObjectIdentifier.
/// <para>
/// The <code>ObjectIdentifier</code> of the specified object.
/// </para>
/// </summary>
public string ObjectIdentifier
{
get { return this._objectIdentifier; }
set { this._objectIdentifier = value; }
}
// Check to see if ObjectIdentifier property is set
internal bool IsSetObjectIdentifier()
{
return this._objectIdentifier != null;
}
/// <summary>
/// Gets and sets the property SchemaFacets.
/// <para>
/// The facets attached to the specified object. Although the response does not include
/// minor version information, the most recently applied minor version of each Facet is
/// in effect. See <a>GetAppliedSchemaVersion</a> for details.
/// </para>
/// </summary>
public List<SchemaFacet> SchemaFacets
{
get { return this._schemaFacets; }
set { this._schemaFacets = value; }
}
// Check to see if SchemaFacets property is set
internal bool IsSetSchemaFacets()
{
return this._schemaFacets != null && this._schemaFacets.Count > 0;
}
}
}
| 78 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the GetSchemaAsJson operation.
/// Retrieves a JSON representation of the schema. See <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/schemas_jsonformat.html#schemas_json">JSON
/// Schema Format</a> for more information.
/// </summary>
public partial class GetSchemaAsJsonRequest : AmazonCloudDirectoryRequest
{
private string _schemaArn;
/// <summary>
/// Gets and sets the property SchemaArn.
/// <para>
/// The ARN of the schema to retrieve.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string SchemaArn
{
get { return this._schemaArn; }
set { this._schemaArn = value; }
}
// Check to see if SchemaArn property is set
internal bool IsSetSchemaArn()
{
return this._schemaArn != null;
}
}
}
| 60 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the GetSchemaAsJson operation.
/// </summary>
public partial class GetSchemaAsJsonResponse : AmazonWebServiceResponse
{
private string _document;
private string _name;
/// <summary>
/// Gets and sets the property Document.
/// <para>
/// The JSON representation of the schema document.
/// </para>
/// </summary>
public string Document
{
get { return this._document; }
set { this._document = value; }
}
// Check to see if Document property is set
internal bool IsSetDocument()
{
return this._document != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the retrieved schema.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=32)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
}
}
| 77 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the GetTypedLinkFacetInformation operation.
/// Returns the identity attribute order for a specific <a>TypedLinkFacet</a>. For more
/// information, see <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink">Typed
/// Links</a>.
/// </summary>
public partial class GetTypedLinkFacetInformationRequest : AmazonCloudDirectoryRequest
{
private string _name;
private string _schemaArn;
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The unique name of the typed link facet.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property SchemaArn.
/// <para>
/// The Amazon Resource Name (ARN) that is associated with the schema. For more information,
/// see <a>arns</a>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string SchemaArn
{
get { return this._schemaArn; }
set { this._schemaArn = value; }
}
// Check to see if SchemaArn property is set
internal bool IsSetSchemaArn()
{
return this._schemaArn != null;
}
}
}
| 82 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the GetTypedLinkFacetInformation operation.
/// </summary>
public partial class GetTypedLinkFacetInformationResponse : AmazonWebServiceResponse
{
private List<string> _identityAttributeOrder = new List<string>();
/// <summary>
/// Gets and sets the property IdentityAttributeOrder.
/// <para>
/// The order of identity attributes for the facet, from most significant to least significant.
/// The ability to filter typed links considers the order that the attributes are defined
/// on the typed link facet. When providing ranges to typed link selection, any inexact
/// ranges must be specified at the end. Any attributes that do not have a range specified
/// are presumed to match the entire range. Filters are interpreted in the order of the
/// attributes on the typed link facet, not the order in which they are supplied to any
/// API calls. For more information about identity attributes, see <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink">Typed
/// Links</a>.
/// </para>
/// </summary>
public List<string> IdentityAttributeOrder
{
get { return this._identityAttributeOrder; }
set { this._identityAttributeOrder = value; }
}
// Check to see if IdentityAttributeOrder property is set
internal bool IsSetIdentityAttributeOrder()
{
return this._identityAttributeOrder != null && this._identityAttributeOrder.Count > 0;
}
}
}
| 64 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Indicates a failure occurred while performing a check for backward compatibility between
/// the specified schema and the schema that is currently applied to the directory.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class IncompatibleSchemaException : AmazonCloudDirectoryException
{
/// <summary>
/// Constructs a new IncompatibleSchemaException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public IncompatibleSchemaException(string message)
: base(message) {}
/// <summary>
/// Construct instance of IncompatibleSchemaException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public IncompatibleSchemaException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of IncompatibleSchemaException
/// </summary>
/// <param name="innerException"></param>
public IncompatibleSchemaException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of IncompatibleSchemaException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public IncompatibleSchemaException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of IncompatibleSchemaException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public IncompatibleSchemaException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the IncompatibleSchemaException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected IncompatibleSchemaException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 125 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Represents an index and an attached object.
/// </summary>
public partial class IndexAttachment
{
private List<AttributeKeyAndValue> _indexedAttributes = new List<AttributeKeyAndValue>();
private string _objectIdentifier;
/// <summary>
/// Gets and sets the property IndexedAttributes.
/// <para>
/// The indexed attribute values.
/// </para>
/// </summary>
public List<AttributeKeyAndValue> IndexedAttributes
{
get { return this._indexedAttributes; }
set { this._indexedAttributes = value; }
}
// Check to see if IndexedAttributes property is set
internal bool IsSetIndexedAttributes()
{
return this._indexedAttributes != null && this._indexedAttributes.Count > 0;
}
/// <summary>
/// Gets and sets the property ObjectIdentifier.
/// <para>
/// In response to <a>ListIndex</a>, the <code>ObjectIdentifier</code> of the object attached
/// to the index. In response to <a>ListAttachedIndices</a>, the <code>ObjectIdentifier</code>
/// of the index attached to the object. This field will always contain the <code>ObjectIdentifier</code>
/// of the object on the opposite side of the attachment specified in the query.
/// </para>
/// </summary>
public string ObjectIdentifier
{
get { return this._objectIdentifier; }
set { this._objectIdentifier = value; }
}
// Check to see if ObjectIdentifier property is set
internal bool IsSetObjectIdentifier()
{
return this._objectIdentifier != null;
}
}
}
| 79 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// An object has been attempted to be attached to an object that does not have the appropriate
/// attribute value.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class IndexedAttributeMissingException : AmazonCloudDirectoryException
{
/// <summary>
/// Constructs a new IndexedAttributeMissingException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public IndexedAttributeMissingException(string message)
: base(message) {}
/// <summary>
/// Construct instance of IndexedAttributeMissingException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public IndexedAttributeMissingException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of IndexedAttributeMissingException
/// </summary>
/// <param name="innerException"></param>
public IndexedAttributeMissingException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of IndexedAttributeMissingException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public IndexedAttributeMissingException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of IndexedAttributeMissingException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public IndexedAttributeMissingException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the IndexedAttributeMissingException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected IndexedAttributeMissingException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 125 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Indicates a problem that must be resolved by Amazon Web Services. This might be a
/// transient error in which case you can retry your request until it succeeds. Otherwise,
/// go to the <a href="http://status.aws.amazon.com/">AWS Service Health Dashboard</a>
/// site to see if there are any operational issues with the service.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class InternalServiceException : AmazonCloudDirectoryException
{
/// <summary>
/// Constructs a new InternalServiceException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public InternalServiceException(string message)
: base(message) {}
/// <summary>
/// Construct instance of InternalServiceException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public InternalServiceException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of InternalServiceException
/// </summary>
/// <param name="innerException"></param>
public InternalServiceException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of InternalServiceException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InternalServiceException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of InternalServiceException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InternalServiceException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the InternalServiceException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected InternalServiceException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 127 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Indicates that the provided ARN value is not valid.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class InvalidArnException : AmazonCloudDirectoryException
{
/// <summary>
/// Constructs a new InvalidArnException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public InvalidArnException(string message)
: base(message) {}
/// <summary>
/// Construct instance of InvalidArnException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public InvalidArnException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of InvalidArnException
/// </summary>
/// <param name="innerException"></param>
public InvalidArnException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of InvalidArnException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidArnException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of InvalidArnException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidArnException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the InvalidArnException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected InvalidArnException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 124 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Indicates that an attempt to make an attachment was invalid. For example, attaching
/// two nodes with a link type that is not applicable to the nodes or attempting to apply
/// a schema to a directory a second time.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class InvalidAttachmentException : AmazonCloudDirectoryException
{
/// <summary>
/// Constructs a new InvalidAttachmentException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public InvalidAttachmentException(string message)
: base(message) {}
/// <summary>
/// Construct instance of InvalidAttachmentException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public InvalidAttachmentException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of InvalidAttachmentException
/// </summary>
/// <param name="innerException"></param>
public InvalidAttachmentException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of InvalidAttachmentException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidAttachmentException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of InvalidAttachmentException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidAttachmentException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the InvalidAttachmentException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected InvalidAttachmentException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 126 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// An attempt to modify a <a>Facet</a> resulted in an invalid schema exception.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class InvalidFacetUpdateException : AmazonCloudDirectoryException
{
/// <summary>
/// Constructs a new InvalidFacetUpdateException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public InvalidFacetUpdateException(string message)
: base(message) {}
/// <summary>
/// Construct instance of InvalidFacetUpdateException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public InvalidFacetUpdateException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of InvalidFacetUpdateException
/// </summary>
/// <param name="innerException"></param>
public InvalidFacetUpdateException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of InvalidFacetUpdateException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidFacetUpdateException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of InvalidFacetUpdateException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidFacetUpdateException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the InvalidFacetUpdateException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected InvalidFacetUpdateException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 124 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Indicates that the <code>NextToken</code> value is not valid.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class InvalidNextTokenException : AmazonCloudDirectoryException
{
/// <summary>
/// Constructs a new InvalidNextTokenException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public InvalidNextTokenException(string message)
: base(message) {}
/// <summary>
/// Construct instance of InvalidNextTokenException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public InvalidNextTokenException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of InvalidNextTokenException
/// </summary>
/// <param name="innerException"></param>
public InvalidNextTokenException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of InvalidNextTokenException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidNextTokenException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of InvalidNextTokenException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidNextTokenException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the InvalidNextTokenException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected InvalidNextTokenException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 124 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Occurs when any of the rule parameter keys or values are invalid.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class InvalidRuleException : AmazonCloudDirectoryException
{
/// <summary>
/// Constructs a new InvalidRuleException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public InvalidRuleException(string message)
: base(message) {}
/// <summary>
/// Construct instance of InvalidRuleException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public InvalidRuleException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of InvalidRuleException
/// </summary>
/// <param name="innerException"></param>
public InvalidRuleException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of InvalidRuleException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidRuleException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of InvalidRuleException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidRuleException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the InvalidRuleException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected InvalidRuleException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 124 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Indicates that the provided <code>SchemaDoc</code> value is not valid.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class InvalidSchemaDocException : AmazonCloudDirectoryException
{
/// <summary>
/// Constructs a new InvalidSchemaDocException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public InvalidSchemaDocException(string message)
: base(message) {}
/// <summary>
/// Construct instance of InvalidSchemaDocException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public InvalidSchemaDocException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of InvalidSchemaDocException
/// </summary>
/// <param name="innerException"></param>
public InvalidSchemaDocException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of InvalidSchemaDocException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidSchemaDocException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of InvalidSchemaDocException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidSchemaDocException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the InvalidSchemaDocException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected InvalidSchemaDocException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 124 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Can occur for multiple reasons such as when you tag a resource that doesn’t exist
/// or if you specify a higher number of tags for a resource than the allowed limit. Allowed
/// limit is 50 tags per resource.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class InvalidTaggingRequestException : AmazonCloudDirectoryException
{
/// <summary>
/// Constructs a new InvalidTaggingRequestException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public InvalidTaggingRequestException(string message)
: base(message) {}
/// <summary>
/// Construct instance of InvalidTaggingRequestException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public InvalidTaggingRequestException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of InvalidTaggingRequestException
/// </summary>
/// <param name="innerException"></param>
public InvalidTaggingRequestException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of InvalidTaggingRequestException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidTaggingRequestException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of InvalidTaggingRequestException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InvalidTaggingRequestException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the InvalidTaggingRequestException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected InvalidTaggingRequestException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 126 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Indicates that limits are exceeded. See <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html">Limits</a>
/// for more information.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class LimitExceededException : AmazonCloudDirectoryException
{
/// <summary>
/// Constructs a new LimitExceededException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public LimitExceededException(string message)
: base(message) {}
/// <summary>
/// Construct instance of LimitExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public LimitExceededException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of LimitExceededException
/// </summary>
/// <param name="innerException"></param>
public LimitExceededException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of LimitExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public LimitExceededException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of LimitExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public LimitExceededException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the LimitExceededException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected LimitExceededException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 125 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// The action to take on a typed link attribute value. Updates are only supported for
/// attributes which don’t contribute to link identity.
/// </summary>
public partial class LinkAttributeAction
{
private UpdateActionType _attributeActionType;
private TypedAttributeValue _attributeUpdateValue;
/// <summary>
/// Gets and sets the property AttributeActionType.
/// <para>
/// A type that can be either <code>UPDATE_OR_CREATE</code> or <code>DELETE</code>.
/// </para>
/// </summary>
public UpdateActionType AttributeActionType
{
get { return this._attributeActionType; }
set { this._attributeActionType = value; }
}
// Check to see if AttributeActionType property is set
internal bool IsSetAttributeActionType()
{
return this._attributeActionType != null;
}
/// <summary>
/// Gets and sets the property AttributeUpdateValue.
/// <para>
/// The value that you want to update to.
/// </para>
/// </summary>
public TypedAttributeValue AttributeUpdateValue
{
get { return this._attributeUpdateValue; }
set { this._attributeUpdateValue = value; }
}
// Check to see if AttributeUpdateValue property is set
internal bool IsSetAttributeUpdateValue()
{
return this._attributeUpdateValue != null;
}
}
}
| 77 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Structure that contains attribute update information.
/// </summary>
public partial class LinkAttributeUpdate
{
private LinkAttributeAction _attributeAction;
private AttributeKey _attributeKey;
/// <summary>
/// Gets and sets the property AttributeAction.
/// <para>
/// The action to perform as part of the attribute update.
/// </para>
/// </summary>
public LinkAttributeAction AttributeAction
{
get { return this._attributeAction; }
set { this._attributeAction = value; }
}
// Check to see if AttributeAction property is set
internal bool IsSetAttributeAction()
{
return this._attributeAction != null;
}
/// <summary>
/// Gets and sets the property AttributeKey.
/// <para>
/// The key of the attribute being updated.
/// </para>
/// </summary>
public AttributeKey AttributeKey
{
get { return this._attributeKey; }
set { this._attributeKey = value; }
}
// Check to see if AttributeKey property is set
internal bool IsSetAttributeKey()
{
return this._attributeKey != null;
}
}
}
| 76 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Indicates that a link could not be created due to a naming conflict. Choose a different
/// name and then try again.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class LinkNameAlreadyInUseException : AmazonCloudDirectoryException
{
/// <summary>
/// Constructs a new LinkNameAlreadyInUseException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public LinkNameAlreadyInUseException(string message)
: base(message) {}
/// <summary>
/// Construct instance of LinkNameAlreadyInUseException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public LinkNameAlreadyInUseException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of LinkNameAlreadyInUseException
/// </summary>
/// <param name="innerException"></param>
public LinkNameAlreadyInUseException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of LinkNameAlreadyInUseException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public LinkNameAlreadyInUseException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of LinkNameAlreadyInUseException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public LinkNameAlreadyInUseException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the LinkNameAlreadyInUseException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected LinkNameAlreadyInUseException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 125 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the ListAppliedSchemaArns operation.
/// Lists schema major versions applied to a directory. If <code>SchemaArn</code> is provided,
/// lists the minor version.
/// </summary>
public partial class ListAppliedSchemaArnsRequest : AmazonCloudDirectoryRequest
{
private string _directoryArn;
private int? _maxResults;
private string _nextToken;
private string _schemaArn;
/// <summary>
/// Gets and sets the property DirectoryArn.
/// <para>
/// The ARN of the directory you are listing.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DirectoryArn
{
get { return this._directoryArn; }
set { this._directoryArn = value; }
}
// Check to see if DirectoryArn property is set
internal bool IsSetDirectoryArn()
{
return this._directoryArn != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results to retrieve.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property SchemaArn.
/// <para>
/// The response for <code>ListAppliedSchemaArns</code> when this parameter is used will
/// list all minor version ARNs for a major version.
/// </para>
/// </summary>
public string SchemaArn
{
get { return this._schemaArn; }
set { this._schemaArn = value; }
}
// Check to see if SchemaArn property is set
internal bool IsSetSchemaArn()
{
return this._schemaArn != null;
}
}
}
| 119 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the ListAppliedSchemaArns operation.
/// </summary>
public partial class ListAppliedSchemaArnsResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<string> _schemaArns = new List<string>();
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property SchemaArns.
/// <para>
/// The ARNs of schemas that are applied to the directory.
/// </para>
/// </summary>
public List<string> SchemaArns
{
get { return this._schemaArns; }
set { this._schemaArns = value; }
}
// Check to see if SchemaArns property is set
internal bool IsSetSchemaArns()
{
return this._schemaArns != null && this._schemaArns.Count > 0;
}
}
}
| 76 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the ListAttachedIndices operation.
/// Lists indices attached to the specified object.
/// </summary>
public partial class ListAttachedIndicesRequest : AmazonCloudDirectoryRequest
{
private ConsistencyLevel _consistencyLevel;
private string _directoryArn;
private int? _maxResults;
private string _nextToken;
private ObjectReference _targetReference;
/// <summary>
/// Gets and sets the property ConsistencyLevel.
/// <para>
/// The consistency level to use for this operation.
/// </para>
/// </summary>
public ConsistencyLevel ConsistencyLevel
{
get { return this._consistencyLevel; }
set { this._consistencyLevel = value; }
}
// Check to see if ConsistencyLevel property is set
internal bool IsSetConsistencyLevel()
{
return this._consistencyLevel != null;
}
/// <summary>
/// Gets and sets the property DirectoryArn.
/// <para>
/// The ARN of the directory.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DirectoryArn
{
get { return this._directoryArn; }
set { this._directoryArn = value; }
}
// Check to see if DirectoryArn property is set
internal bool IsSetDirectoryArn()
{
return this._directoryArn != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results to retrieve.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property TargetReference.
/// <para>
/// A reference to the object that has indices attached.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ObjectReference TargetReference
{
get { return this._targetReference; }
set { this._targetReference = value; }
}
// Check to see if TargetReference property is set
internal bool IsSetTargetReference()
{
return this._targetReference != null;
}
}
}
| 137 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the ListAttachedIndices operation.
/// </summary>
public partial class ListAttachedIndicesResponse : AmazonWebServiceResponse
{
private List<IndexAttachment> _indexAttachments = new List<IndexAttachment>();
private string _nextToken;
/// <summary>
/// Gets and sets the property IndexAttachments.
/// <para>
/// The indices attached to the specified object.
/// </para>
/// </summary>
public List<IndexAttachment> IndexAttachments
{
get { return this._indexAttachments; }
set { this._indexAttachments = value; }
}
// Check to see if IndexAttachments property is set
internal bool IsSetIndexAttachments()
{
return this._indexAttachments != null && this._indexAttachments.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 76 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the ListDevelopmentSchemaArns operation.
/// Retrieves each Amazon Resource Name (ARN) of schemas in the development state.
/// </summary>
public partial class ListDevelopmentSchemaArnsRequest : AmazonCloudDirectoryRequest
{
private int? _maxResults;
private string _nextToken;
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results to retrieve.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 78 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the ListDevelopmentSchemaArns operation.
/// </summary>
public partial class ListDevelopmentSchemaArnsResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<string> _schemaArns = new List<string>();
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property SchemaArns.
/// <para>
/// The ARNs of retrieved development schemas.
/// </para>
/// </summary>
public List<string> SchemaArns
{
get { return this._schemaArns; }
set { this._schemaArns = value; }
}
// Check to see if SchemaArns property is set
internal bool IsSetSchemaArns()
{
return this._schemaArns != null && this._schemaArns.Count > 0;
}
}
}
| 76 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the ListDirectories operation.
/// Lists directories created within an account.
/// </summary>
public partial class ListDirectoriesRequest : AmazonCloudDirectoryRequest
{
private int? _maxResults;
private string _nextToken;
private DirectoryState _state;
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results to retrieve.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property State.
/// <para>
/// The state of the directories in the list. Can be either Enabled, Disabled, or Deleted.
/// </para>
/// </summary>
public DirectoryState State
{
get { return this._state; }
set { this._state = value; }
}
// Check to see if State property is set
internal bool IsSetState()
{
return this._state != null;
}
}
}
| 97 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the ListDirectories operation.
/// </summary>
public partial class ListDirectoriesResponse : AmazonWebServiceResponse
{
private List<Directory> _directories = new List<Directory>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Directories.
/// <para>
/// Lists all directories that are associated with your account in pagination fashion.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<Directory> Directories
{
get { return this._directories; }
set { this._directories = value; }
}
// Check to see if Directories property is set
internal bool IsSetDirectories()
{
return this._directories != null && this._directories.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 77 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the ListFacetAttributes operation.
/// Retrieves attributes attached to the facet.
/// </summary>
public partial class ListFacetAttributesRequest : AmazonCloudDirectoryRequest
{
private int? _maxResults;
private string _name;
private string _nextToken;
private string _schemaArn;
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results to retrieve.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the facet whose attributes will be retrieved.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=64)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property SchemaArn.
/// <para>
/// The ARN of the schema where the facet resides.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string SchemaArn
{
get { return this._schemaArn; }
set { this._schemaArn = value; }
}
// Check to see if SchemaArn property is set
internal bool IsSetSchemaArn()
{
return this._schemaArn != null;
}
}
}
| 118 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the ListFacetAttributes operation.
/// </summary>
public partial class ListFacetAttributesResponse : AmazonWebServiceResponse
{
private List<FacetAttribute> _attributes = new List<FacetAttribute>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Attributes.
/// <para>
/// The attributes attached to the facet.
/// </para>
/// </summary>
public List<FacetAttribute> Attributes
{
get { return this._attributes; }
set { this._attributes = value; }
}
// Check to see if Attributes property is set
internal bool IsSetAttributes()
{
return this._attributes != null && this._attributes.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 76 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the ListFacetNames operation.
/// Retrieves the names of facets that exist in a schema.
/// </summary>
public partial class ListFacetNamesRequest : AmazonCloudDirectoryRequest
{
private int? _maxResults;
private string _nextToken;
private string _schemaArn;
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results to retrieve.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property SchemaArn.
/// <para>
/// The Amazon Resource Name (ARN) to retrieve facet names from.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string SchemaArn
{
get { return this._schemaArn; }
set { this._schemaArn = value; }
}
// Check to see if SchemaArn property is set
internal bool IsSetSchemaArn()
{
return this._schemaArn != null;
}
}
}
| 98 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the ListFacetNames operation.
/// </summary>
public partial class ListFacetNamesResponse : AmazonWebServiceResponse
{
private List<string> _facetNames = new List<string>();
private string _nextToken;
/// <summary>
/// Gets and sets the property FacetNames.
/// <para>
/// The names of facets that exist within the schema.
/// </para>
/// </summary>
public List<string> FacetNames
{
get { return this._facetNames; }
set { this._facetNames = value; }
}
// Check to see if FacetNames property is set
internal bool IsSetFacetNames()
{
return this._facetNames != null && this._facetNames.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 76 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the ListIncomingTypedLinks operation.
/// Returns a paginated list of all the incoming <a>TypedLinkSpecifier</a> information
/// for an object. It also supports filtering by typed link facet and identity attributes.
/// For more information, see <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink">Typed
/// Links</a>.
/// </summary>
public partial class ListIncomingTypedLinksRequest : AmazonCloudDirectoryRequest
{
private ConsistencyLevel _consistencyLevel;
private string _directoryArn;
private List<TypedLinkAttributeRange> _filterAttributeRanges = new List<TypedLinkAttributeRange>();
private TypedLinkSchemaAndFacetName _filterTypedLink;
private int? _maxResults;
private string _nextToken;
private ObjectReference _objectReference;
/// <summary>
/// Gets and sets the property ConsistencyLevel.
/// <para>
/// The consistency level to execute the request at.
/// </para>
/// </summary>
public ConsistencyLevel ConsistencyLevel
{
get { return this._consistencyLevel; }
set { this._consistencyLevel = value; }
}
// Check to see if ConsistencyLevel property is set
internal bool IsSetConsistencyLevel()
{
return this._consistencyLevel != null;
}
/// <summary>
/// Gets and sets the property DirectoryArn.
/// <para>
/// The Amazon Resource Name (ARN) of the directory where you want to list the typed links.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DirectoryArn
{
get { return this._directoryArn; }
set { this._directoryArn = value; }
}
// Check to see if DirectoryArn property is set
internal bool IsSetDirectoryArn()
{
return this._directoryArn != null;
}
/// <summary>
/// Gets and sets the property FilterAttributeRanges.
/// <para>
/// Provides range filters for multiple attributes. When providing ranges to typed link
/// selection, any inexact ranges must be specified at the end. Any attributes that do
/// not have a range specified are presumed to match the entire range.
/// </para>
/// </summary>
public List<TypedLinkAttributeRange> FilterAttributeRanges
{
get { return this._filterAttributeRanges; }
set { this._filterAttributeRanges = value; }
}
// Check to see if FilterAttributeRanges property is set
internal bool IsSetFilterAttributeRanges()
{
return this._filterAttributeRanges != null && this._filterAttributeRanges.Count > 0;
}
/// <summary>
/// Gets and sets the property FilterTypedLink.
/// <para>
/// Filters are interpreted in the order of the attributes on the typed link facet, not
/// the order in which they are supplied to any API calls.
/// </para>
/// </summary>
public TypedLinkSchemaAndFacetName FilterTypedLink
{
get { return this._filterTypedLink; }
set { this._filterTypedLink = value; }
}
// Check to see if FilterTypedLink property is set
internal bool IsSetFilterTypedLink()
{
return this._filterTypedLink != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results to retrieve.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property ObjectReference.
/// <para>
/// Reference that identifies the object whose attributes will be listed.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ObjectReference ObjectReference
{
get { return this._objectReference; }
set { this._objectReference = value; }
}
// Check to see if ObjectReference property is set
internal bool IsSetObjectReference()
{
return this._objectReference != null;
}
}
}
| 181 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the ListIncomingTypedLinks operation.
/// </summary>
public partial class ListIncomingTypedLinksResponse : AmazonWebServiceResponse
{
private List<TypedLinkSpecifier> _linkSpecifiers = new List<TypedLinkSpecifier>();
private string _nextToken;
/// <summary>
/// Gets and sets the property LinkSpecifiers.
/// <para>
/// Returns one or more typed link specifiers as output.
/// </para>
/// </summary>
public List<TypedLinkSpecifier> LinkSpecifiers
{
get { return this._linkSpecifiers; }
set { this._linkSpecifiers = value; }
}
// Check to see if LinkSpecifiers property is set
internal bool IsSetLinkSpecifiers()
{
return this._linkSpecifiers != null && this._linkSpecifiers.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 76 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the ListIndex operation.
/// Lists objects attached to the specified index.
/// </summary>
public partial class ListIndexRequest : AmazonCloudDirectoryRequest
{
private ConsistencyLevel _consistencyLevel;
private string _directoryArn;
private ObjectReference _indexReference;
private int? _maxResults;
private string _nextToken;
private List<ObjectAttributeRange> _rangesOnIndexedValues = new List<ObjectAttributeRange>();
/// <summary>
/// Gets and sets the property ConsistencyLevel.
/// <para>
/// The consistency level to execute the request at.
/// </para>
/// </summary>
public ConsistencyLevel ConsistencyLevel
{
get { return this._consistencyLevel; }
set { this._consistencyLevel = value; }
}
// Check to see if ConsistencyLevel property is set
internal bool IsSetConsistencyLevel()
{
return this._consistencyLevel != null;
}
/// <summary>
/// Gets and sets the property DirectoryArn.
/// <para>
/// The ARN of the directory that the index exists in.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DirectoryArn
{
get { return this._directoryArn; }
set { this._directoryArn = value; }
}
// Check to see if DirectoryArn property is set
internal bool IsSetDirectoryArn()
{
return this._directoryArn != null;
}
/// <summary>
/// Gets and sets the property IndexReference.
/// <para>
/// The reference to the index to list.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ObjectReference IndexReference
{
get { return this._indexReference; }
set { this._indexReference = value; }
}
// Check to see if IndexReference property is set
internal bool IsSetIndexReference()
{
return this._indexReference != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of objects in a single page to retrieve from the index during a
/// request. For more information, see <a href="http://docs.aws.amazon.com/clouddirectory/latest/developerguide/limits.html">Amazon
/// Cloud Directory Limits</a>.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property RangesOnIndexedValues.
/// <para>
/// Specifies the ranges of indexed values that you want to query.
/// </para>
/// </summary>
public List<ObjectAttributeRange> RangesOnIndexedValues
{
get { return this._rangesOnIndexedValues; }
set { this._rangesOnIndexedValues = value; }
}
// Check to see if RangesOnIndexedValues property is set
internal bool IsSetRangesOnIndexedValues()
{
return this._rangesOnIndexedValues != null && this._rangesOnIndexedValues.Count > 0;
}
}
}
| 158 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the ListIndex operation.
/// </summary>
public partial class ListIndexResponse : AmazonWebServiceResponse
{
private List<IndexAttachment> _indexAttachments = new List<IndexAttachment>();
private string _nextToken;
/// <summary>
/// Gets and sets the property IndexAttachments.
/// <para>
/// The objects and indexed values attached to the index.
/// </para>
/// </summary>
public List<IndexAttachment> IndexAttachments
{
get { return this._indexAttachments; }
set { this._indexAttachments = value; }
}
// Check to see if IndexAttachments property is set
internal bool IsSetIndexAttachments()
{
return this._indexAttachments != null && this._indexAttachments.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 76 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the ListManagedSchemaArns operation.
/// Lists the major version families of each managed schema. If a major version ARN is
/// provided as SchemaArn, the minor version revisions in that family are listed instead.
/// </summary>
public partial class ListManagedSchemaArnsRequest : AmazonCloudDirectoryRequest
{
private int? _maxResults;
private string _nextToken;
private string _schemaArn;
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results to retrieve.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property SchemaArn.
/// <para>
/// The response for ListManagedSchemaArns. When this parameter is used, all minor version
/// ARNs for a major version are listed.
/// </para>
/// </summary>
public string SchemaArn
{
get { return this._schemaArn; }
set { this._schemaArn = value; }
}
// Check to see if SchemaArn property is set
internal bool IsSetSchemaArn()
{
return this._schemaArn != null;
}
}
}
| 99 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the ListManagedSchemaArns operation.
/// </summary>
public partial class ListManagedSchemaArnsResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<string> _schemaArns = new List<string>();
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property SchemaArns.
/// <para>
/// The ARNs for all AWS managed schemas.
/// </para>
/// </summary>
public List<string> SchemaArns
{
get { return this._schemaArns; }
set { this._schemaArns = value; }
}
// Check to see if SchemaArns property is set
internal bool IsSetSchemaArns()
{
return this._schemaArns != null && this._schemaArns.Count > 0;
}
}
}
| 76 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the ListObjectAttributes operation.
/// Lists all attributes that are associated with an object.
/// </summary>
public partial class ListObjectAttributesRequest : AmazonCloudDirectoryRequest
{
private ConsistencyLevel _consistencyLevel;
private string _directoryArn;
private SchemaFacet _facetFilter;
private int? _maxResults;
private string _nextToken;
private ObjectReference _objectReference;
/// <summary>
/// Gets and sets the property ConsistencyLevel.
/// <para>
/// Represents the manner and timing in which the successful write or update of an object
/// is reflected in a subsequent read operation of that same object.
/// </para>
/// </summary>
public ConsistencyLevel ConsistencyLevel
{
get { return this._consistencyLevel; }
set { this._consistencyLevel = value; }
}
// Check to see if ConsistencyLevel property is set
internal bool IsSetConsistencyLevel()
{
return this._consistencyLevel != null;
}
/// <summary>
/// Gets and sets the property DirectoryArn.
/// <para>
/// The Amazon Resource Name (ARN) that is associated with the <a>Directory</a> where
/// the object resides. For more information, see <a>arns</a>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DirectoryArn
{
get { return this._directoryArn; }
set { this._directoryArn = value; }
}
// Check to see if DirectoryArn property is set
internal bool IsSetDirectoryArn()
{
return this._directoryArn != null;
}
/// <summary>
/// Gets and sets the property FacetFilter.
/// <para>
/// Used to filter the list of object attributes that are associated with a certain facet.
/// </para>
/// </summary>
public SchemaFacet FacetFilter
{
get { return this._facetFilter; }
set { this._facetFilter = value; }
}
// Check to see if FacetFilter property is set
internal bool IsSetFacetFilter()
{
return this._facetFilter != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of items to be retrieved in a single call. This is an approximate
/// number.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property ObjectReference.
/// <para>
/// The reference that identifies the object whose attributes will be listed.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ObjectReference ObjectReference
{
get { return this._objectReference; }
set { this._objectReference = value; }
}
// Check to see if ObjectReference property is set
internal bool IsSetObjectReference()
{
return this._objectReference != null;
}
}
}
| 159 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the ListObjectAttributes operation.
/// </summary>
public partial class ListObjectAttributesResponse : AmazonWebServiceResponse
{
private List<AttributeKeyAndValue> _attributes = new List<AttributeKeyAndValue>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Attributes.
/// <para>
/// Attributes map that is associated with the object. <code>AttributeArn</code> is the
/// key, and attribute value is the value.
/// </para>
/// </summary>
public List<AttributeKeyAndValue> Attributes
{
get { return this._attributes; }
set { this._attributes = value; }
}
// Check to see if Attributes property is set
internal bool IsSetAttributes()
{
return this._attributes != null && this._attributes.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 77 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the ListObjectChildren operation.
/// Returns a paginated list of child objects that are associated with a given object.
/// </summary>
public partial class ListObjectChildrenRequest : AmazonCloudDirectoryRequest
{
private ConsistencyLevel _consistencyLevel;
private string _directoryArn;
private int? _maxResults;
private string _nextToken;
private ObjectReference _objectReference;
/// <summary>
/// Gets and sets the property ConsistencyLevel.
/// <para>
/// Represents the manner and timing in which the successful write or update of an object
/// is reflected in a subsequent read operation of that same object.
/// </para>
/// </summary>
public ConsistencyLevel ConsistencyLevel
{
get { return this._consistencyLevel; }
set { this._consistencyLevel = value; }
}
// Check to see if ConsistencyLevel property is set
internal bool IsSetConsistencyLevel()
{
return this._consistencyLevel != null;
}
/// <summary>
/// Gets and sets the property DirectoryArn.
/// <para>
/// The Amazon Resource Name (ARN) that is associated with the <a>Directory</a> where
/// the object resides. For more information, see <a>arns</a>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DirectoryArn
{
get { return this._directoryArn; }
set { this._directoryArn = value; }
}
// Check to see if DirectoryArn property is set
internal bool IsSetDirectoryArn()
{
return this._directoryArn != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of items to be retrieved in a single call. This is an approximate
/// number.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property ObjectReference.
/// <para>
/// The reference that identifies the object for which child objects are being listed.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ObjectReference ObjectReference
{
get { return this._objectReference; }
set { this._objectReference = value; }
}
// Check to see if ObjectReference property is set
internal bool IsSetObjectReference()
{
return this._objectReference != null;
}
}
}
| 140 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the ListObjectChildren operation.
/// </summary>
public partial class ListObjectChildrenResponse : AmazonWebServiceResponse
{
private Dictionary<string, string> _children = new Dictionary<string, string>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Children.
/// <para>
/// Children structure, which is a map with key as the <code>LinkName</code> and <code>ObjectIdentifier</code>
/// as the value.
/// </para>
/// </summary>
public Dictionary<string, string> Children
{
get { return this._children; }
set { this._children = value; }
}
// Check to see if Children property is set
internal bool IsSetChildren()
{
return this._children != null && this._children.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 77 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the ListObjectParentPaths operation.
/// Retrieves all available parent paths for any object type such as node, leaf node,
/// policy node, and index node objects. For more information about objects, see <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/key_concepts_directorystructure.html">Directory
/// Structure</a>.
///
///
/// <para>
/// Use this API to evaluate all parents for an object. The call returns all objects from
/// the root of the directory up to the requested object. The API returns the number of
/// paths based on user-defined <code>MaxResults</code>, in case there are multiple paths
/// to the parent. The order of the paths and nodes returned is consistent among multiple
/// API calls unless the objects are deleted or moved. Paths not leading to the directory
/// root are ignored from the target object.
/// </para>
/// </summary>
public partial class ListObjectParentPathsRequest : AmazonCloudDirectoryRequest
{
private string _directoryArn;
private int? _maxResults;
private string _nextToken;
private ObjectReference _objectReference;
/// <summary>
/// Gets and sets the property DirectoryArn.
/// <para>
/// The ARN of the directory to which the parent path applies.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DirectoryArn
{
get { return this._directoryArn; }
set { this._directoryArn = value; }
}
// Check to see if DirectoryArn property is set
internal bool IsSetDirectoryArn()
{
return this._directoryArn != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of items to be retrieved in a single call. This is an approximate
/// number.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property ObjectReference.
/// <para>
/// The reference that identifies the object whose parent paths are listed.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ObjectReference ObjectReference
{
get { return this._objectReference; }
set { this._objectReference = value; }
}
// Check to see if ObjectReference property is set
internal bool IsSetObjectReference()
{
return this._objectReference != null;
}
}
}
| 131 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the ListObjectParentPaths operation.
/// </summary>
public partial class ListObjectParentPathsResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<PathToObjectIdentifiers> _pathToObjectIdentifiersList = new List<PathToObjectIdentifiers>();
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property PathToObjectIdentifiersList.
/// <para>
/// Returns the path to the <code>ObjectIdentifiers</code> that are associated with the
/// directory.
/// </para>
/// </summary>
public List<PathToObjectIdentifiers> PathToObjectIdentifiersList
{
get { return this._pathToObjectIdentifiersList; }
set { this._pathToObjectIdentifiersList = value; }
}
// Check to see if PathToObjectIdentifiersList property is set
internal bool IsSetPathToObjectIdentifiersList()
{
return this._pathToObjectIdentifiersList != null && this._pathToObjectIdentifiersList.Count > 0;
}
}
}
| 77 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the ListObjectParents operation.
/// Lists parent objects that are associated with a given object in pagination fashion.
/// </summary>
public partial class ListObjectParentsRequest : AmazonCloudDirectoryRequest
{
private ConsistencyLevel _consistencyLevel;
private string _directoryArn;
private bool? _includeAllLinksToEachParent;
private int? _maxResults;
private string _nextToken;
private ObjectReference _objectReference;
/// <summary>
/// Gets and sets the property ConsistencyLevel.
/// <para>
/// Represents the manner and timing in which the successful write or update of an object
/// is reflected in a subsequent read operation of that same object.
/// </para>
/// </summary>
public ConsistencyLevel ConsistencyLevel
{
get { return this._consistencyLevel; }
set { this._consistencyLevel = value; }
}
// Check to see if ConsistencyLevel property is set
internal bool IsSetConsistencyLevel()
{
return this._consistencyLevel != null;
}
/// <summary>
/// Gets and sets the property DirectoryArn.
/// <para>
/// The Amazon Resource Name (ARN) that is associated with the <a>Directory</a> where
/// the object resides. For more information, see <a>arns</a>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DirectoryArn
{
get { return this._directoryArn; }
set { this._directoryArn = value; }
}
// Check to see if DirectoryArn property is set
internal bool IsSetDirectoryArn()
{
return this._directoryArn != null;
}
/// <summary>
/// Gets and sets the property IncludeAllLinksToEachParent.
/// <para>
/// When set to True, returns all <a>ListObjectParentsResponse$ParentLinks</a>. There
/// could be multiple links between a parent-child pair.
/// </para>
/// </summary>
public bool IncludeAllLinksToEachParent
{
get { return this._includeAllLinksToEachParent.GetValueOrDefault(); }
set { this._includeAllLinksToEachParent = value; }
}
// Check to see if IncludeAllLinksToEachParent property is set
internal bool IsSetIncludeAllLinksToEachParent()
{
return this._includeAllLinksToEachParent.HasValue;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of items to be retrieved in a single call. This is an approximate
/// number.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property ObjectReference.
/// <para>
/// The reference that identifies the object for which parent objects are being listed.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ObjectReference ObjectReference
{
get { return this._objectReference; }
set { this._objectReference = value; }
}
// Check to see if ObjectReference property is set
internal bool IsSetObjectReference()
{
return this._objectReference != null;
}
}
}
| 160 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the ListObjectParents operation.
/// </summary>
public partial class ListObjectParentsResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<ObjectIdentifierAndLinkNameTuple> _parentLinks = new List<ObjectIdentifierAndLinkNameTuple>();
private Dictionary<string, string> _parents = new Dictionary<string, string>();
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property ParentLinks.
/// <para>
/// Returns a list of parent reference and LinkName Tuples.
/// </para>
/// </summary>
public List<ObjectIdentifierAndLinkNameTuple> ParentLinks
{
get { return this._parentLinks; }
set { this._parentLinks = value; }
}
// Check to see if ParentLinks property is set
internal bool IsSetParentLinks()
{
return this._parentLinks != null && this._parentLinks.Count > 0;
}
/// <summary>
/// Gets and sets the property Parents.
/// <para>
/// The parent structure, which is a map with key as the <code>ObjectIdentifier</code>
/// and LinkName as the value.
/// </para>
/// </summary>
public Dictionary<string, string> Parents
{
get { return this._parents; }
set { this._parents = value; }
}
// Check to see if Parents property is set
internal bool IsSetParents()
{
return this._parents != null && this._parents.Count > 0;
}
}
}
| 96 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the ListObjectPolicies operation.
/// Returns policies attached to an object in pagination fashion.
/// </summary>
public partial class ListObjectPoliciesRequest : AmazonCloudDirectoryRequest
{
private ConsistencyLevel _consistencyLevel;
private string _directoryArn;
private int? _maxResults;
private string _nextToken;
private ObjectReference _objectReference;
/// <summary>
/// Gets and sets the property ConsistencyLevel.
/// <para>
/// Represents the manner and timing in which the successful write or update of an object
/// is reflected in a subsequent read operation of that same object.
/// </para>
/// </summary>
public ConsistencyLevel ConsistencyLevel
{
get { return this._consistencyLevel; }
set { this._consistencyLevel = value; }
}
// Check to see if ConsistencyLevel property is set
internal bool IsSetConsistencyLevel()
{
return this._consistencyLevel != null;
}
/// <summary>
/// Gets and sets the property DirectoryArn.
/// <para>
/// The Amazon Resource Name (ARN) that is associated with the <a>Directory</a> where
/// objects reside. For more information, see <a>arns</a>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DirectoryArn
{
get { return this._directoryArn; }
set { this._directoryArn = value; }
}
// Check to see if DirectoryArn property is set
internal bool IsSetDirectoryArn()
{
return this._directoryArn != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of items to be retrieved in a single call. This is an approximate
/// number.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property ObjectReference.
/// <para>
/// Reference that identifies the object for which policies will be listed.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ObjectReference ObjectReference
{
get { return this._objectReference; }
set { this._objectReference = value; }
}
// Check to see if ObjectReference property is set
internal bool IsSetObjectReference()
{
return this._objectReference != null;
}
}
}
| 140 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the ListObjectPolicies operation.
/// </summary>
public partial class ListObjectPoliciesResponse : AmazonWebServiceResponse
{
private List<string> _attachedPolicyIds = new List<string>();
private string _nextToken;
/// <summary>
/// Gets and sets the property AttachedPolicyIds.
/// <para>
/// A list of policy <code>ObjectIdentifiers</code>, that are attached to the object.
/// </para>
/// </summary>
public List<string> AttachedPolicyIds
{
get { return this._attachedPolicyIds; }
set { this._attachedPolicyIds = value; }
}
// Check to see if AttachedPolicyIds property is set
internal bool IsSetAttachedPolicyIds()
{
return this._attachedPolicyIds != null && this._attachedPolicyIds.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 76 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the ListOutgoingTypedLinks operation.
/// Returns a paginated list of all the outgoing <a>TypedLinkSpecifier</a> information
/// for an object. It also supports filtering by typed link facet and identity attributes.
/// For more information, see <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink">Typed
/// Links</a>.
/// </summary>
public partial class ListOutgoingTypedLinksRequest : AmazonCloudDirectoryRequest
{
private ConsistencyLevel _consistencyLevel;
private string _directoryArn;
private List<TypedLinkAttributeRange> _filterAttributeRanges = new List<TypedLinkAttributeRange>();
private TypedLinkSchemaAndFacetName _filterTypedLink;
private int? _maxResults;
private string _nextToken;
private ObjectReference _objectReference;
/// <summary>
/// Gets and sets the property ConsistencyLevel.
/// <para>
/// The consistency level to execute the request at.
/// </para>
/// </summary>
public ConsistencyLevel ConsistencyLevel
{
get { return this._consistencyLevel; }
set { this._consistencyLevel = value; }
}
// Check to see if ConsistencyLevel property is set
internal bool IsSetConsistencyLevel()
{
return this._consistencyLevel != null;
}
/// <summary>
/// Gets and sets the property DirectoryArn.
/// <para>
/// The Amazon Resource Name (ARN) of the directory where you want to list the typed links.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DirectoryArn
{
get { return this._directoryArn; }
set { this._directoryArn = value; }
}
// Check to see if DirectoryArn property is set
internal bool IsSetDirectoryArn()
{
return this._directoryArn != null;
}
/// <summary>
/// Gets and sets the property FilterAttributeRanges.
/// <para>
/// Provides range filters for multiple attributes. When providing ranges to typed link
/// selection, any inexact ranges must be specified at the end. Any attributes that do
/// not have a range specified are presumed to match the entire range.
/// </para>
/// </summary>
public List<TypedLinkAttributeRange> FilterAttributeRanges
{
get { return this._filterAttributeRanges; }
set { this._filterAttributeRanges = value; }
}
// Check to see if FilterAttributeRanges property is set
internal bool IsSetFilterAttributeRanges()
{
return this._filterAttributeRanges != null && this._filterAttributeRanges.Count > 0;
}
/// <summary>
/// Gets and sets the property FilterTypedLink.
/// <para>
/// Filters are interpreted in the order of the attributes defined on the typed link facet,
/// not the order they are supplied to any API calls.
/// </para>
/// </summary>
public TypedLinkSchemaAndFacetName FilterTypedLink
{
get { return this._filterTypedLink; }
set { this._filterTypedLink = value; }
}
// Check to see if FilterTypedLink property is set
internal bool IsSetFilterTypedLink()
{
return this._filterTypedLink != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results to retrieve.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property ObjectReference.
/// <para>
/// A reference that identifies the object whose attributes will be listed.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ObjectReference ObjectReference
{
get { return this._objectReference; }
set { this._objectReference = value; }
}
// Check to see if ObjectReference property is set
internal bool IsSetObjectReference()
{
return this._objectReference != null;
}
}
}
| 181 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the ListOutgoingTypedLinks operation.
/// </summary>
public partial class ListOutgoingTypedLinksResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<TypedLinkSpecifier> _typedLinkSpecifiers = new List<TypedLinkSpecifier>();
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property TypedLinkSpecifiers.
/// <para>
/// Returns a typed link specifier as output.
/// </para>
/// </summary>
public List<TypedLinkSpecifier> TypedLinkSpecifiers
{
get { return this._typedLinkSpecifiers; }
set { this._typedLinkSpecifiers = value; }
}
// Check to see if TypedLinkSpecifiers property is set
internal bool IsSetTypedLinkSpecifiers()
{
return this._typedLinkSpecifiers != null && this._typedLinkSpecifiers.Count > 0;
}
}
}
| 76 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the ListPolicyAttachments operation.
/// Returns all of the <code>ObjectIdentifiers</code> to which a given policy is attached.
/// </summary>
public partial class ListPolicyAttachmentsRequest : AmazonCloudDirectoryRequest
{
private ConsistencyLevel _consistencyLevel;
private string _directoryArn;
private int? _maxResults;
private string _nextToken;
private ObjectReference _policyReference;
/// <summary>
/// Gets and sets the property ConsistencyLevel.
/// <para>
/// Represents the manner and timing in which the successful write or update of an object
/// is reflected in a subsequent read operation of that same object.
/// </para>
/// </summary>
public ConsistencyLevel ConsistencyLevel
{
get { return this._consistencyLevel; }
set { this._consistencyLevel = value; }
}
// Check to see if ConsistencyLevel property is set
internal bool IsSetConsistencyLevel()
{
return this._consistencyLevel != null;
}
/// <summary>
/// Gets and sets the property DirectoryArn.
/// <para>
/// The Amazon Resource Name (ARN) that is associated with the <a>Directory</a> where
/// objects reside. For more information, see <a>arns</a>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string DirectoryArn
{
get { return this._directoryArn; }
set { this._directoryArn = value; }
}
// Check to see if DirectoryArn property is set
internal bool IsSetDirectoryArn()
{
return this._directoryArn != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of items to be retrieved in a single call. This is an approximate
/// number.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property PolicyReference.
/// <para>
/// The reference that identifies the policy object.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ObjectReference PolicyReference
{
get { return this._policyReference; }
set { this._policyReference = value; }
}
// Check to see if PolicyReference property is set
internal bool IsSetPolicyReference()
{
return this._policyReference != null;
}
}
}
| 140 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the ListPolicyAttachments operation.
/// </summary>
public partial class ListPolicyAttachmentsResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<string> _objectIdentifiers = new List<string>();
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property ObjectIdentifiers.
/// <para>
/// A list of <code>ObjectIdentifiers</code> to which the policy is attached.
/// </para>
/// </summary>
public List<string> ObjectIdentifiers
{
get { return this._objectIdentifiers; }
set { this._objectIdentifiers = value; }
}
// Check to see if ObjectIdentifiers property is set
internal bool IsSetObjectIdentifiers()
{
return this._objectIdentifiers != null && this._objectIdentifiers.Count > 0;
}
}
}
| 76 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the ListPublishedSchemaArns operation.
/// Lists the major version families of each published schema. If a major version ARN
/// is provided as <code>SchemaArn</code>, the minor version revisions in that family
/// are listed instead.
/// </summary>
public partial class ListPublishedSchemaArnsRequest : AmazonCloudDirectoryRequest
{
private int? _maxResults;
private string _nextToken;
private string _schemaArn;
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results to retrieve.
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property SchemaArn.
/// <para>
/// The response for <code>ListPublishedSchemaArns</code> when this parameter is used
/// will list all minor version ARNs for a major version.
/// </para>
/// </summary>
public string SchemaArn
{
get { return this._schemaArn; }
set { this._schemaArn = value; }
}
// Check to see if SchemaArn property is set
internal bool IsSetSchemaArn()
{
return this._schemaArn != null;
}
}
}
| 100 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// This is the response object from the ListPublishedSchemaArns operation.
/// </summary>
public partial class ListPublishedSchemaArnsResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<string> _schemaArns = new List<string>();
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property SchemaArns.
/// <para>
/// The ARNs of published schemas.
/// </para>
/// </summary>
public List<string> SchemaArns
{
get { return this._schemaArns; }
set { this._schemaArns = value; }
}
// Check to see if SchemaArns property is set
internal bool IsSetSchemaArns()
{
return this._schemaArns != null && this._schemaArns.Count > 0;
}
}
}
| 76 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the clouddirectory-2017-01-11.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudDirectory.Model
{
/// <summary>
/// Container for the parameters to the ListTagsForResource operation.
/// Returns tags for a resource. Tagging is currently supported only for directories with
/// a limit of 50 tags per directory. All 50 tags are returned for a given directory with
/// this API call.
/// </summary>
public partial class ListTagsForResourceRequest : AmazonCloudDirectoryRequest
{
private int? _maxResults;
private string _nextToken;
private string _resourceArn;
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The <code>MaxResults</code> parameter sets the maximum number of results returned
/// in a single page. This is for future use and is not supported currently.
/// </para>
/// </summary>
[AWSProperty(Min=50)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The pagination token. This is for future use. Currently pagination is not supported
/// for tagging.
/// </para>
/// </summary>
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property ResourceArn.
/// <para>
/// The Amazon Resource Name (ARN) of the resource. Tagging is only supported for directories.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ResourceArn
{
get { return this._resourceArn; }
set { this._resourceArn = value; }
}
// Check to see if ResourceArn property is set
internal bool IsSetResourceArn()
{
return this._resourceArn != null;
}
}
}
| 102 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.