AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
FraudsterSummary.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
31 public:
32 AWS_VOICEID_API FraudsterSummary() = default;
33 AWS_VOICEID_API FraudsterSummary(Aws::Utils::Json::JsonView jsonValue);
35 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
42 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
43 template <typename CreatedAtT = Aws::Utils::DateTime>
44 void SetCreatedAt(CreatedAtT&& value) {
45 m_createdAtHasBeenSet = true;
46 m_createdAt = std::forward<CreatedAtT>(value);
47 }
48 template <typename CreatedAtT = Aws::Utils::DateTime>
49 FraudsterSummary& WithCreatedAt(CreatedAtT&& value) {
50 SetCreatedAt(std::forward<CreatedAtT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetDomainId() const { return m_domainId; }
60 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
61 template <typename DomainIdT = Aws::String>
62 void SetDomainId(DomainIdT&& value) {
63 m_domainIdHasBeenSet = true;
64 m_domainId = std::forward<DomainIdT>(value);
65 }
66 template <typename DomainIdT = Aws::String>
67 FraudsterSummary& WithDomainId(DomainIdT&& value) {
68 SetDomainId(std::forward<DomainIdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetGeneratedFraudsterId() const { return m_generatedFraudsterId; }
78 inline bool GeneratedFraudsterIdHasBeenSet() const { return m_generatedFraudsterIdHasBeenSet; }
79 template <typename GeneratedFraudsterIdT = Aws::String>
80 void SetGeneratedFraudsterId(GeneratedFraudsterIdT&& value) {
81 m_generatedFraudsterIdHasBeenSet = true;
82 m_generatedFraudsterId = std::forward<GeneratedFraudsterIdT>(value);
83 }
84 template <typename GeneratedFraudsterIdT = Aws::String>
85 FraudsterSummary& WithGeneratedFraudsterId(GeneratedFraudsterIdT&& value) {
86 SetGeneratedFraudsterId(std::forward<GeneratedFraudsterIdT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::Vector<Aws::String>& GetWatchlistIds() const { return m_watchlistIds; }
96 inline bool WatchlistIdsHasBeenSet() const { return m_watchlistIdsHasBeenSet; }
97 template <typename WatchlistIdsT = Aws::Vector<Aws::String>>
98 void SetWatchlistIds(WatchlistIdsT&& value) {
99 m_watchlistIdsHasBeenSet = true;
100 m_watchlistIds = std::forward<WatchlistIdsT>(value);
101 }
102 template <typename WatchlistIdsT = Aws::Vector<Aws::String>>
103 FraudsterSummary& WithWatchlistIds(WatchlistIdsT&& value) {
104 SetWatchlistIds(std::forward<WatchlistIdsT>(value));
105 return *this;
106 }
107 template <typename WatchlistIdsT = Aws::String>
108 FraudsterSummary& AddWatchlistIds(WatchlistIdsT&& value) {
109 m_watchlistIdsHasBeenSet = true;
110 m_watchlistIds.emplace_back(std::forward<WatchlistIdsT>(value));
111 return *this;
112 }
114 private:
115 Aws::Utils::DateTime m_createdAt{};
116
117 Aws::String m_domainId;
118
119 Aws::String m_generatedFraudsterId;
120
121 Aws::Vector<Aws::String> m_watchlistIds;
122 bool m_createdAtHasBeenSet = false;
123 bool m_domainIdHasBeenSet = false;
124 bool m_generatedFraudsterIdHasBeenSet = false;
125 bool m_watchlistIdsHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace VoiceID
130} // namespace Aws
AWS_VOICEID_API FraudsterSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_VOICEID_API FraudsterSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetGeneratedFraudsterId() const
AWS_VOICEID_API FraudsterSummary()=default
FraudsterSummary & WithGeneratedFraudsterId(GeneratedFraudsterIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCreatedAt(CreatedAtT &&value)
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
FraudsterSummary & WithDomainId(DomainIdT &&value)
void SetWatchlistIds(WatchlistIdsT &&value)
FraudsterSummary & AddWatchlistIds(WatchlistIdsT &&value)
const Aws::Vector< Aws::String > & GetWatchlistIds() const
void SetGeneratedFraudsterId(GeneratedFraudsterIdT &&value)
const Aws::String & GetDomainId() const
FraudsterSummary & WithCreatedAt(CreatedAtT &&value)
FraudsterSummary & WithWatchlistIds(WatchlistIdsT &&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