/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace VoiceID { namespace Model { /** *

The registration configuration to be used during the batch fraudster * registration job.

See Also:

AWS * API Reference

*/ class RegistrationConfig { public: AWS_VOICEID_API RegistrationConfig(); AWS_VOICEID_API RegistrationConfig(Aws::Utils::Json::JsonView jsonValue); AWS_VOICEID_API RegistrationConfig& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The action to take when a fraudster is identified as a duplicate. The default * action is SKIP, which skips registering the duplicate fraudster. * Setting the value to REGISTER_AS_NEW always registers a new * fraudster into the specified domain.

*/ inline const DuplicateRegistrationAction& GetDuplicateRegistrationAction() const{ return m_duplicateRegistrationAction; } /** *

The action to take when a fraudster is identified as a duplicate. The default * action is SKIP, which skips registering the duplicate fraudster. * Setting the value to REGISTER_AS_NEW always registers a new * fraudster into the specified domain.

*/ inline bool DuplicateRegistrationActionHasBeenSet() const { return m_duplicateRegistrationActionHasBeenSet; } /** *

The action to take when a fraudster is identified as a duplicate. The default * action is SKIP, which skips registering the duplicate fraudster. * Setting the value to REGISTER_AS_NEW always registers a new * fraudster into the specified domain.

*/ inline void SetDuplicateRegistrationAction(const DuplicateRegistrationAction& value) { m_duplicateRegistrationActionHasBeenSet = true; m_duplicateRegistrationAction = value; } /** *

The action to take when a fraudster is identified as a duplicate. The default * action is SKIP, which skips registering the duplicate fraudster. * Setting the value to REGISTER_AS_NEW always registers a new * fraudster into the specified domain.

*/ inline void SetDuplicateRegistrationAction(DuplicateRegistrationAction&& value) { m_duplicateRegistrationActionHasBeenSet = true; m_duplicateRegistrationAction = std::move(value); } /** *

The action to take when a fraudster is identified as a duplicate. The default * action is SKIP, which skips registering the duplicate fraudster. * Setting the value to REGISTER_AS_NEW always registers a new * fraudster into the specified domain.

*/ inline RegistrationConfig& WithDuplicateRegistrationAction(const DuplicateRegistrationAction& value) { SetDuplicateRegistrationAction(value); return *this;} /** *

The action to take when a fraudster is identified as a duplicate. The default * action is SKIP, which skips registering the duplicate fraudster. * Setting the value to REGISTER_AS_NEW always registers a new * fraudster into the specified domain.

*/ inline RegistrationConfig& WithDuplicateRegistrationAction(DuplicateRegistrationAction&& value) { SetDuplicateRegistrationAction(std::move(value)); return *this;} /** *

The minimum similarity score between the new and old fraudsters in order to * consider the new fraudster a duplicate.

*/ inline int GetFraudsterSimilarityThreshold() const{ return m_fraudsterSimilarityThreshold; } /** *

The minimum similarity score between the new and old fraudsters in order to * consider the new fraudster a duplicate.

*/ inline bool FraudsterSimilarityThresholdHasBeenSet() const { return m_fraudsterSimilarityThresholdHasBeenSet; } /** *

The minimum similarity score between the new and old fraudsters in order to * consider the new fraudster a duplicate.

*/ inline void SetFraudsterSimilarityThreshold(int value) { m_fraudsterSimilarityThresholdHasBeenSet = true; m_fraudsterSimilarityThreshold = value; } /** *

The minimum similarity score between the new and old fraudsters in order to * consider the new fraudster a duplicate.

*/ inline RegistrationConfig& WithFraudsterSimilarityThreshold(int value) { SetFraudsterSimilarityThreshold(value); return *this;} /** *

The identifiers of watchlists that a fraudster is registered to. If a * watchlist isn't provided, the fraudsters are registered to the default * watchlist.

*/ inline const Aws::Vector& GetWatchlistIds() const{ return m_watchlistIds; } /** *

The identifiers of watchlists that a fraudster is registered to. If a * watchlist isn't provided, the fraudsters are registered to the default * watchlist.

*/ inline bool WatchlistIdsHasBeenSet() const { return m_watchlistIdsHasBeenSet; } /** *

The identifiers of watchlists that a fraudster is registered to. If a * watchlist isn't provided, the fraudsters are registered to the default * watchlist.

*/ inline void SetWatchlistIds(const Aws::Vector& value) { m_watchlistIdsHasBeenSet = true; m_watchlistIds = value; } /** *

The identifiers of watchlists that a fraudster is registered to. If a * watchlist isn't provided, the fraudsters are registered to the default * watchlist.

*/ inline void SetWatchlistIds(Aws::Vector&& value) { m_watchlistIdsHasBeenSet = true; m_watchlistIds = std::move(value); } /** *

The identifiers of watchlists that a fraudster is registered to. If a * watchlist isn't provided, the fraudsters are registered to the default * watchlist.

*/ inline RegistrationConfig& WithWatchlistIds(const Aws::Vector& value) { SetWatchlistIds(value); return *this;} /** *

The identifiers of watchlists that a fraudster is registered to. If a * watchlist isn't provided, the fraudsters are registered to the default * watchlist.

*/ inline RegistrationConfig& WithWatchlistIds(Aws::Vector&& value) { SetWatchlistIds(std::move(value)); return *this;} /** *

The identifiers of watchlists that a fraudster is registered to. If a * watchlist isn't provided, the fraudsters are registered to the default * watchlist.

*/ inline RegistrationConfig& AddWatchlistIds(const Aws::String& value) { m_watchlistIdsHasBeenSet = true; m_watchlistIds.push_back(value); return *this; } /** *

The identifiers of watchlists that a fraudster is registered to. If a * watchlist isn't provided, the fraudsters are registered to the default * watchlist.

*/ inline RegistrationConfig& AddWatchlistIds(Aws::String&& value) { m_watchlistIdsHasBeenSet = true; m_watchlistIds.push_back(std::move(value)); return *this; } /** *

The identifiers of watchlists that a fraudster is registered to. If a * watchlist isn't provided, the fraudsters are registered to the default * watchlist.

*/ inline RegistrationConfig& AddWatchlistIds(const char* value) { m_watchlistIdsHasBeenSet = true; m_watchlistIds.push_back(value); return *this; } private: DuplicateRegistrationAction m_duplicateRegistrationAction; bool m_duplicateRegistrationActionHasBeenSet = false; int m_fraudsterSimilarityThreshold; bool m_fraudsterSimilarityThresholdHasBeenSet = false; Aws::Vector m_watchlistIds; bool m_watchlistIdsHasBeenSet = false; }; } // namespace Model } // namespace VoiceID } // namespace Aws