/* * 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 appsync-2017-07-25.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.AppSync.Model { /// /// Describes a Sync configuration for a resolver. /// /// /// /// Specifies which Conflict Detection strategy and Resolution strategy to use when the /// resolver is invoked. /// /// public partial class SyncConfig { private ConflictDetectionType _conflictDetection; private ConflictHandlerType _conflictHandler; private LambdaConflictHandlerConfig _lambdaConflictHandlerConfig; /// /// Gets and sets the property ConflictDetection. /// /// The Conflict Detection strategy to use. /// /// /// public ConflictDetectionType ConflictDetection { get { return this._conflictDetection; } set { this._conflictDetection = value; } } // Check to see if ConflictDetection property is set internal bool IsSetConflictDetection() { return this._conflictDetection != null; } /// /// Gets and sets the property ConflictHandler. /// /// The Conflict Resolution strategy to perform in the event of a conflict. /// /// /// public ConflictHandlerType ConflictHandler { get { return this._conflictHandler; } set { this._conflictHandler = value; } } // Check to see if ConflictHandler property is set internal bool IsSetConflictHandler() { return this._conflictHandler != null; } /// /// Gets and sets the property LambdaConflictHandlerConfig. /// /// The LambdaConflictHandlerConfig when configuring LAMBDA /// as the Conflict Handler. /// /// public LambdaConflictHandlerConfig LambdaConflictHandlerConfig { get { return this._lambdaConflictHandlerConfig; } set { this._lambdaConflictHandlerConfig = value; } } // Check to see if LambdaConflictHandlerConfig property is set internal bool IsSetLambdaConflictHandlerConfig() { return this._lambdaConflictHandlerConfig != null; } } }