AWS SDK for C++  1.8.99
AWS SDK for C++
Public Member Functions | List of all members
Aws::AppSync::Model::SyncConfig Class Reference

#include <SyncConfig.h>

Public Member Functions

 SyncConfig ()
 
 SyncConfig (Aws::Utils::Json::JsonView jsonValue)
 
SyncConfigoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const ConflictHandlerTypeGetConflictHandler () const
 
bool ConflictHandlerHasBeenSet () const
 
void SetConflictHandler (const ConflictHandlerType &value)
 
void SetConflictHandler (ConflictHandlerType &&value)
 
SyncConfigWithConflictHandler (const ConflictHandlerType &value)
 
SyncConfigWithConflictHandler (ConflictHandlerType &&value)
 
const ConflictDetectionTypeGetConflictDetection () const
 
bool ConflictDetectionHasBeenSet () const
 
void SetConflictDetection (const ConflictDetectionType &value)
 
void SetConflictDetection (ConflictDetectionType &&value)
 
SyncConfigWithConflictDetection (const ConflictDetectionType &value)
 
SyncConfigWithConflictDetection (ConflictDetectionType &&value)
 
const LambdaConflictHandlerConfigGetLambdaConflictHandlerConfig () const
 
bool LambdaConflictHandlerConfigHasBeenSet () const
 
void SetLambdaConflictHandlerConfig (const LambdaConflictHandlerConfig &value)
 
void SetLambdaConflictHandlerConfig (LambdaConflictHandlerConfig &&value)
 
SyncConfigWithLambdaConflictHandlerConfig (const LambdaConflictHandlerConfig &value)
 
SyncConfigWithLambdaConflictHandlerConfig (LambdaConflictHandlerConfig &&value)
 

Detailed Description

Describes a Sync configuration for a resolver.

Contains information on which Conflict Detection as well as Resolution strategy should be performed when the resolver is invoked.

See Also:

AWS API Reference

Definition at line 35 of file SyncConfig.h.

Constructor & Destructor Documentation

◆ SyncConfig() [1/2]

Aws::AppSync::Model::SyncConfig::SyncConfig ( )

◆ SyncConfig() [2/2]

Aws::AppSync::Model::SyncConfig::SyncConfig ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ ConflictDetectionHasBeenSet()

bool Aws::AppSync::Model::SyncConfig::ConflictDetectionHasBeenSet ( ) const
inline

The Conflict Detection strategy to use.

  • VERSION: Detect conflicts based on object versions for this resolver.

  • NONE: Do not detect conflicts when executing this resolver.

Definition at line 119 of file SyncConfig.h.

◆ ConflictHandlerHasBeenSet()

bool Aws::AppSync::Model::SyncConfig::ConflictHandlerHasBeenSet ( ) const
inline

The Conflict Resolution strategy to perform in the event of a conflict.

  • OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when versions do not match the latest version at the server.

  • AUTOMERGE: Resolve conflicts with the Automerge conflict resolution strategy.

  • LAMBDA: Resolve conflicts with a Lambda function supplied in the LambdaConflictHandlerConfig.

Definition at line 62 of file SyncConfig.h.

◆ GetConflictDetection()

const ConflictDetectionType& Aws::AppSync::Model::SyncConfig::GetConflictDetection ( ) const
inline

The Conflict Detection strategy to use.

  • VERSION: Detect conflicts based on object versions for this resolver.

  • NONE: Do not detect conflicts when executing this resolver.

Definition at line 111 of file SyncConfig.h.

◆ GetConflictHandler()

const ConflictHandlerType& Aws::AppSync::Model::SyncConfig::GetConflictHandler ( ) const
inline

The Conflict Resolution strategy to perform in the event of a conflict.

  • OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when versions do not match the latest version at the server.

  • AUTOMERGE: Resolve conflicts with the Automerge conflict resolution strategy.

  • LAMBDA: Resolve conflicts with a Lambda function supplied in the LambdaConflictHandlerConfig.

Definition at line 52 of file SyncConfig.h.

◆ GetLambdaConflictHandlerConfig()

const LambdaConflictHandlerConfig& Aws::AppSync::Model::SyncConfig::GetLambdaConflictHandlerConfig ( ) const
inline

The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.

Definition at line 158 of file SyncConfig.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::AppSync::Model::SyncConfig::Jsonize ( ) const

◆ LambdaConflictHandlerConfigHasBeenSet()

bool Aws::AppSync::Model::SyncConfig::LambdaConflictHandlerConfigHasBeenSet ( ) const
inline

The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.

Definition at line 164 of file SyncConfig.h.

◆ operator=()

SyncConfig& Aws::AppSync::Model::SyncConfig::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetConflictDetection() [1/2]

void Aws::AppSync::Model::SyncConfig::SetConflictDetection ( const ConflictDetectionType value)
inline

The Conflict Detection strategy to use.

  • VERSION: Detect conflicts based on object versions for this resolver.

  • NONE: Do not detect conflicts when executing this resolver.

Definition at line 127 of file SyncConfig.h.

◆ SetConflictDetection() [2/2]

void Aws::AppSync::Model::SyncConfig::SetConflictDetection ( ConflictDetectionType &&  value)
inline

The Conflict Detection strategy to use.

  • VERSION: Detect conflicts based on object versions for this resolver.

  • NONE: Do not detect conflicts when executing this resolver.

Definition at line 135 of file SyncConfig.h.

◆ SetConflictHandler() [1/2]

void Aws::AppSync::Model::SyncConfig::SetConflictHandler ( const ConflictHandlerType value)
inline

The Conflict Resolution strategy to perform in the event of a conflict.

  • OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when versions do not match the latest version at the server.

  • AUTOMERGE: Resolve conflicts with the Automerge conflict resolution strategy.

  • LAMBDA: Resolve conflicts with a Lambda function supplied in the LambdaConflictHandlerConfig.

Definition at line 72 of file SyncConfig.h.

◆ SetConflictHandler() [2/2]

void Aws::AppSync::Model::SyncConfig::SetConflictHandler ( ConflictHandlerType &&  value)
inline

The Conflict Resolution strategy to perform in the event of a conflict.

  • OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when versions do not match the latest version at the server.

  • AUTOMERGE: Resolve conflicts with the Automerge conflict resolution strategy.

  • LAMBDA: Resolve conflicts with a Lambda function supplied in the LambdaConflictHandlerConfig.

Definition at line 82 of file SyncConfig.h.

◆ SetLambdaConflictHandlerConfig() [1/2]

void Aws::AppSync::Model::SyncConfig::SetLambdaConflictHandlerConfig ( const LambdaConflictHandlerConfig value)
inline

The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.

Definition at line 170 of file SyncConfig.h.

◆ SetLambdaConflictHandlerConfig() [2/2]

void Aws::AppSync::Model::SyncConfig::SetLambdaConflictHandlerConfig ( LambdaConflictHandlerConfig &&  value)
inline

The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.

Definition at line 176 of file SyncConfig.h.

◆ WithConflictDetection() [1/2]

SyncConfig& Aws::AppSync::Model::SyncConfig::WithConflictDetection ( const ConflictDetectionType value)
inline

The Conflict Detection strategy to use.

  • VERSION: Detect conflicts based on object versions for this resolver.

  • NONE: Do not detect conflicts when executing this resolver.

Definition at line 143 of file SyncConfig.h.

◆ WithConflictDetection() [2/2]

SyncConfig& Aws::AppSync::Model::SyncConfig::WithConflictDetection ( ConflictDetectionType &&  value)
inline

The Conflict Detection strategy to use.

  • VERSION: Detect conflicts based on object versions for this resolver.

  • NONE: Do not detect conflicts when executing this resolver.

Definition at line 151 of file SyncConfig.h.

◆ WithConflictHandler() [1/2]

SyncConfig& Aws::AppSync::Model::SyncConfig::WithConflictHandler ( const ConflictHandlerType value)
inline

The Conflict Resolution strategy to perform in the event of a conflict.

  • OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when versions do not match the latest version at the server.

  • AUTOMERGE: Resolve conflicts with the Automerge conflict resolution strategy.

  • LAMBDA: Resolve conflicts with a Lambda function supplied in the LambdaConflictHandlerConfig.

Definition at line 92 of file SyncConfig.h.

◆ WithConflictHandler() [2/2]

SyncConfig& Aws::AppSync::Model::SyncConfig::WithConflictHandler ( ConflictHandlerType &&  value)
inline

The Conflict Resolution strategy to perform in the event of a conflict.

  • OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when versions do not match the latest version at the server.

  • AUTOMERGE: Resolve conflicts with the Automerge conflict resolution strategy.

  • LAMBDA: Resolve conflicts with a Lambda function supplied in the LambdaConflictHandlerConfig.

Definition at line 102 of file SyncConfig.h.

◆ WithLambdaConflictHandlerConfig() [1/2]

SyncConfig& Aws::AppSync::Model::SyncConfig::WithLambdaConflictHandlerConfig ( const LambdaConflictHandlerConfig value)
inline

The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.

Definition at line 182 of file SyncConfig.h.

◆ WithLambdaConflictHandlerConfig() [2/2]

SyncConfig& Aws::AppSync::Model::SyncConfig::WithLambdaConflictHandlerConfig ( LambdaConflictHandlerConfig &&  value)
inline

The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.

Definition at line 188 of file SyncConfig.h.


The documentation for this class was generated from the following file: