AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
Fraudster.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/voice-id/VoiceID_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace VoiceID {
22namespace Model {
23
29class Fraudster {
30 public:
31 AWS_VOICEID_API Fraudster() = default;
32 AWS_VOICEID_API Fraudster(Aws::Utils::Json::JsonView jsonValue);
33 AWS_VOICEID_API Fraudster& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
41 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
42 template <typename CreatedAtT = Aws::Utils::DateTime>
43 void SetCreatedAt(CreatedAtT&& value) {
44 m_createdAtHasBeenSet = true;
45 m_createdAt = std::forward<CreatedAtT>(value);
46 }
47 template <typename CreatedAtT = Aws::Utils::DateTime>
48 Fraudster& WithCreatedAt(CreatedAtT&& value) {
49 SetCreatedAt(std::forward<CreatedAtT>(value));
50 return *this;
51 }
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) {
62 m_domainIdHasBeenSet = true;
63 m_domainId = std::forward<DomainIdT>(value);
64 }
65 template <typename DomainIdT = Aws::String>
66 Fraudster& WithDomainId(DomainIdT&& value) {
67 SetDomainId(std::forward<DomainIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetGeneratedFraudsterId() const { return m_generatedFraudsterId; }
77 inline bool GeneratedFraudsterIdHasBeenSet() const { return m_generatedFraudsterIdHasBeenSet; }
78 template <typename GeneratedFraudsterIdT = Aws::String>
79 void SetGeneratedFraudsterId(GeneratedFraudsterIdT&& value) {
80 m_generatedFraudsterIdHasBeenSet = true;
81 m_generatedFraudsterId = std::forward<GeneratedFraudsterIdT>(value);
82 }
83 template <typename GeneratedFraudsterIdT = Aws::String>
84 Fraudster& WithGeneratedFraudsterId(GeneratedFraudsterIdT&& value) {
85 SetGeneratedFraudsterId(std::forward<GeneratedFraudsterIdT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::Vector<Aws::String>& GetWatchlistIds() const { return m_watchlistIds; }
95 inline bool WatchlistIdsHasBeenSet() const { return m_watchlistIdsHasBeenSet; }
96 template <typename WatchlistIdsT = Aws::Vector<Aws::String>>
97 void SetWatchlistIds(WatchlistIdsT&& value) {
98 m_watchlistIdsHasBeenSet = true;
99 m_watchlistIds = std::forward<WatchlistIdsT>(value);
100 }
101 template <typename WatchlistIdsT = Aws::Vector<Aws::String>>
102 Fraudster& WithWatchlistIds(WatchlistIdsT&& value) {
103 SetWatchlistIds(std::forward<WatchlistIdsT>(value));
104 return *this;
105 }
106 template <typename WatchlistIdsT = Aws::String>
107 Fraudster& AddWatchlistIds(WatchlistIdsT&& value) {
108 m_watchlistIdsHasBeenSet = true;
109 m_watchlistIds.emplace_back(std::forward<WatchlistIdsT>(value));
110 return *this;
111 }
113 private:
114 Aws::Utils::DateTime m_createdAt{};
115
116 Aws::String m_domainId;
117
118 Aws::String m_generatedFraudsterId;
119
120 Aws::Vector<Aws::String> m_watchlistIds;
121 bool m_createdAtHasBeenSet = false;
122 bool m_domainIdHasBeenSet = false;
123 bool m_generatedFraudsterIdHasBeenSet = false;
124 bool m_watchlistIdsHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace VoiceID
129} // namespace Aws
Fraudster & WithWatchlistIds(WatchlistIdsT &&value)
Definition Fraudster.h:102
AWS_VOICEID_API Fraudster()=default
bool WatchlistIdsHasBeenSet() const
Definition Fraudster.h:95
Fraudster & WithDomainId(DomainIdT &&value)
Definition Fraudster.h:66
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Fraudster.h:40
const Aws::String & GetGeneratedFraudsterId() const
Definition Fraudster.h:76
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
Fraudster & AddWatchlistIds(WatchlistIdsT &&value)
Definition Fraudster.h:107
void SetWatchlistIds(WatchlistIdsT &&value)
Definition Fraudster.h:97
const Aws::String & GetDomainId() const
Definition Fraudster.h:58
void SetGeneratedFraudsterId(GeneratedFraudsterIdT &&value)
Definition Fraudster.h:79
bool GeneratedFraudsterIdHasBeenSet() const
Definition Fraudster.h:77
AWS_VOICEID_API Fraudster(Aws::Utils::Json::JsonView jsonValue)
Fraudster & WithGeneratedFraudsterId(GeneratedFraudsterIdT &&value)
Definition Fraudster.h:84
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:94
Fraudster & WithCreatedAt(CreatedAtT &&value)
Definition Fraudster.h:48
void SetCreatedAt(CreatedAtT &&value)
Definition Fraudster.h:43
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue