AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Fraudster.h
1
6#pragma once
7#include <aws/voice-id/VoiceID_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.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
34 {
35 public:
36 AWS_VOICEID_API Fraudster() = default;
37 AWS_VOICEID_API Fraudster(Aws::Utils::Json::JsonView jsonValue);
38 AWS_VOICEID_API Fraudster& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
47 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
48 template<typename CreatedAtT = Aws::Utils::DateTime>
49 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
50 template<typename CreatedAtT = Aws::Utils::DateTime>
51 Fraudster& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
53
55
58 inline const Aws::String& GetDomainId() const { return m_domainId; }
59 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
60 template<typename DomainIdT = Aws::String>
61 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
62 template<typename DomainIdT = Aws::String>
63 Fraudster& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
65
67
70 inline const Aws::String& GetGeneratedFraudsterId() const { return m_generatedFraudsterId; }
71 inline bool GeneratedFraudsterIdHasBeenSet() const { return m_generatedFraudsterIdHasBeenSet; }
72 template<typename GeneratedFraudsterIdT = Aws::String>
73 void SetGeneratedFraudsterId(GeneratedFraudsterIdT&& value) { m_generatedFraudsterIdHasBeenSet = true; m_generatedFraudsterId = std::forward<GeneratedFraudsterIdT>(value); }
74 template<typename GeneratedFraudsterIdT = Aws::String>
75 Fraudster& WithGeneratedFraudsterId(GeneratedFraudsterIdT&& value) { SetGeneratedFraudsterId(std::forward<GeneratedFraudsterIdT>(value)); return *this;}
77
79
82 inline const Aws::Vector<Aws::String>& GetWatchlistIds() const { return m_watchlistIds; }
83 inline bool WatchlistIdsHasBeenSet() const { return m_watchlistIdsHasBeenSet; }
84 template<typename WatchlistIdsT = Aws::Vector<Aws::String>>
85 void SetWatchlistIds(WatchlistIdsT&& value) { m_watchlistIdsHasBeenSet = true; m_watchlistIds = std::forward<WatchlistIdsT>(value); }
86 template<typename WatchlistIdsT = Aws::Vector<Aws::String>>
87 Fraudster& WithWatchlistIds(WatchlistIdsT&& value) { SetWatchlistIds(std::forward<WatchlistIdsT>(value)); return *this;}
88 template<typename WatchlistIdsT = Aws::String>
89 Fraudster& AddWatchlistIds(WatchlistIdsT&& value) { m_watchlistIdsHasBeenSet = true; m_watchlistIds.emplace_back(std::forward<WatchlistIdsT>(value)); return *this; }
91 private:
92
93 Aws::Utils::DateTime m_createdAt{};
94 bool m_createdAtHasBeenSet = false;
95
96 Aws::String m_domainId;
97 bool m_domainIdHasBeenSet = false;
98
99 Aws::String m_generatedFraudsterId;
100 bool m_generatedFraudsterIdHasBeenSet = false;
101
102 Aws::Vector<Aws::String> m_watchlistIds;
103 bool m_watchlistIdsHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace VoiceID
108} // namespace Aws
Fraudster & WithWatchlistIds(WatchlistIdsT &&value)
Definition Fraudster.h:87
AWS_VOICEID_API Fraudster()=default
bool WatchlistIdsHasBeenSet() const
Definition Fraudster.h:83
Fraudster & WithDomainId(DomainIdT &&value)
Definition Fraudster.h:63
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Fraudster.h:46
const Aws::String & GetGeneratedFraudsterId() const
Definition Fraudster.h:70
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
Fraudster & AddWatchlistIds(WatchlistIdsT &&value)
Definition Fraudster.h:89
void SetWatchlistIds(WatchlistIdsT &&value)
Definition Fraudster.h:85
const Aws::String & GetDomainId() const
Definition Fraudster.h:58
void SetGeneratedFraudsterId(GeneratedFraudsterIdT &&value)
Definition Fraudster.h:73
bool GeneratedFraudsterIdHasBeenSet() const
Definition Fraudster.h:71
AWS_VOICEID_API Fraudster(Aws::Utils::Json::JsonView jsonValue)
Fraudster & WithGeneratedFraudsterId(GeneratedFraudsterIdT &&value)
Definition Fraudster.h:75
AWS_VOICEID_API Fraudster & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDomainId(DomainIdT &&value)
Definition Fraudster.h:61
const Aws::Vector< Aws::String > & GetWatchlistIds() const
Definition Fraudster.h:82
Fraudster & WithCreatedAt(CreatedAtT &&value)
Definition Fraudster.h:51
void SetCreatedAt(CreatedAtT &&value)
Definition Fraudster.h:49
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue