AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegistrationConfig.h
1
6#pragma once
7#include <aws/voice-id/VoiceID_EXPORTS.h>
8#include <aws/voice-id/model/DuplicateRegistrationAction.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace VoiceID
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_VOICEID_API RegistrationConfig();
40 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline const DuplicateRegistrationAction& GetDuplicateRegistrationAction() const{ return m_duplicateRegistrationAction; }
51 inline bool DuplicateRegistrationActionHasBeenSet() const { return m_duplicateRegistrationActionHasBeenSet; }
52 inline void SetDuplicateRegistrationAction(const DuplicateRegistrationAction& value) { m_duplicateRegistrationActionHasBeenSet = true; m_duplicateRegistrationAction = value; }
53 inline void SetDuplicateRegistrationAction(DuplicateRegistrationAction&& value) { m_duplicateRegistrationActionHasBeenSet = true; m_duplicateRegistrationAction = std::move(value); }
57
59
63 inline int GetFraudsterSimilarityThreshold() const{ return m_fraudsterSimilarityThreshold; }
64 inline bool FraudsterSimilarityThresholdHasBeenSet() const { return m_fraudsterSimilarityThresholdHasBeenSet; }
65 inline void SetFraudsterSimilarityThreshold(int value) { m_fraudsterSimilarityThresholdHasBeenSet = true; m_fraudsterSimilarityThreshold = value; }
68
70
75 inline const Aws::Vector<Aws::String>& GetWatchlistIds() const{ return m_watchlistIds; }
76 inline bool WatchlistIdsHasBeenSet() const { return m_watchlistIdsHasBeenSet; }
77 inline void SetWatchlistIds(const Aws::Vector<Aws::String>& value) { m_watchlistIdsHasBeenSet = true; m_watchlistIds = value; }
78 inline void SetWatchlistIds(Aws::Vector<Aws::String>&& value) { m_watchlistIdsHasBeenSet = true; m_watchlistIds = std::move(value); }
79 inline RegistrationConfig& WithWatchlistIds(const Aws::Vector<Aws::String>& value) { SetWatchlistIds(value); return *this;}
80 inline RegistrationConfig& WithWatchlistIds(Aws::Vector<Aws::String>&& value) { SetWatchlistIds(std::move(value)); return *this;}
81 inline RegistrationConfig& AddWatchlistIds(const Aws::String& value) { m_watchlistIdsHasBeenSet = true; m_watchlistIds.push_back(value); return *this; }
82 inline RegistrationConfig& AddWatchlistIds(Aws::String&& value) { m_watchlistIdsHasBeenSet = true; m_watchlistIds.push_back(std::move(value)); return *this; }
83 inline RegistrationConfig& AddWatchlistIds(const char* value) { m_watchlistIdsHasBeenSet = true; m_watchlistIds.push_back(value); return *this; }
85 private:
86
87 DuplicateRegistrationAction m_duplicateRegistrationAction;
88 bool m_duplicateRegistrationActionHasBeenSet = false;
89
90 int m_fraudsterSimilarityThreshold;
91 bool m_fraudsterSimilarityThresholdHasBeenSet = false;
92
93 Aws::Vector<Aws::String> m_watchlistIds;
94 bool m_watchlistIdsHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace VoiceID
99} // namespace Aws
RegistrationConfig & AddWatchlistIds(const char *value)
RegistrationConfig & AddWatchlistIds(const Aws::String &value)
AWS_VOICEID_API RegistrationConfig(Aws::Utils::Json::JsonView jsonValue)
RegistrationConfig & AddWatchlistIds(Aws::String &&value)
RegistrationConfig & WithFraudsterSimilarityThreshold(int value)
void SetWatchlistIds(Aws::Vector< Aws::String > &&value)
RegistrationConfig & WithDuplicateRegistrationAction(DuplicateRegistrationAction &&value)
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
RegistrationConfig & WithDuplicateRegistrationAction(const DuplicateRegistrationAction &value)
void SetDuplicateRegistrationAction(const DuplicateRegistrationAction &value)
const Aws::Vector< Aws::String > & GetWatchlistIds() const
AWS_VOICEID_API RegistrationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const DuplicateRegistrationAction & GetDuplicateRegistrationAction() const
void SetDuplicateRegistrationAction(DuplicateRegistrationAction &&value)
void SetWatchlistIds(const Aws::Vector< Aws::String > &value)
RegistrationConfig & WithWatchlistIds(Aws::Vector< Aws::String > &&value)
RegistrationConfig & WithWatchlistIds(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue