AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Watchlist.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace VoiceID
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_VOICEID_API Watchlist() = default;
36 AWS_VOICEID_API Watchlist(Aws::Utils::Json::JsonView jsonValue);
37 AWS_VOICEID_API Watchlist& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
46 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
47 template<typename CreatedAtT = Aws::Utils::DateTime>
48 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
49 template<typename CreatedAtT = Aws::Utils::DateTime>
50 Watchlist& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
52
54
57 inline bool GetDefaultWatchlist() const { return m_defaultWatchlist; }
58 inline bool DefaultWatchlistHasBeenSet() const { return m_defaultWatchlistHasBeenSet; }
59 inline void SetDefaultWatchlist(bool value) { m_defaultWatchlistHasBeenSet = true; m_defaultWatchlist = value; }
60 inline Watchlist& WithDefaultWatchlist(bool value) { SetDefaultWatchlist(value); return *this;}
62
64
67 inline const Aws::String& GetDescription() const { return m_description; }
68 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
69 template<typename DescriptionT = Aws::String>
70 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
71 template<typename DescriptionT = Aws::String>
72 Watchlist& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
74
76
79 inline const Aws::String& GetDomainId() const { return m_domainId; }
80 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
81 template<typename DomainIdT = Aws::String>
82 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
83 template<typename DomainIdT = Aws::String>
84 Watchlist& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
86
88
91 inline const Aws::String& GetName() const { return m_name; }
92 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
93 template<typename NameT = Aws::String>
94 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
95 template<typename NameT = Aws::String>
96 Watchlist& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
104 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
105 template<typename UpdatedAtT = Aws::Utils::DateTime>
106 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
107 template<typename UpdatedAtT = Aws::Utils::DateTime>
108 Watchlist& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
110
112
115 inline const Aws::String& GetWatchlistId() const { return m_watchlistId; }
116 inline bool WatchlistIdHasBeenSet() const { return m_watchlistIdHasBeenSet; }
117 template<typename WatchlistIdT = Aws::String>
118 void SetWatchlistId(WatchlistIdT&& value) { m_watchlistIdHasBeenSet = true; m_watchlistId = std::forward<WatchlistIdT>(value); }
119 template<typename WatchlistIdT = Aws::String>
120 Watchlist& WithWatchlistId(WatchlistIdT&& value) { SetWatchlistId(std::forward<WatchlistIdT>(value)); return *this;}
122 private:
123
124 Aws::Utils::DateTime m_createdAt{};
125 bool m_createdAtHasBeenSet = false;
126
127 bool m_defaultWatchlist{false};
128 bool m_defaultWatchlistHasBeenSet = false;
129
130 Aws::String m_description;
131 bool m_descriptionHasBeenSet = false;
132
133 Aws::String m_domainId;
134 bool m_domainIdHasBeenSet = false;
135
136 Aws::String m_name;
137 bool m_nameHasBeenSet = false;
138
139 Aws::Utils::DateTime m_updatedAt{};
140 bool m_updatedAtHasBeenSet = false;
141
142 Aws::String m_watchlistId;
143 bool m_watchlistIdHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace VoiceID
148} // namespace Aws
const Aws::String & GetDescription() const
Definition Watchlist.h:67
Watchlist & WithDescription(DescriptionT &&value)
Definition Watchlist.h:72
void SetCreatedAt(CreatedAtT &&value)
Definition Watchlist.h:48
void SetWatchlistId(WatchlistIdT &&value)
Definition Watchlist.h:118
Watchlist & WithDefaultWatchlist(bool value)
Definition Watchlist.h:60
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Watchlist.h:45
bool DefaultWatchlistHasBeenSet() const
Definition Watchlist.h:58
bool DescriptionHasBeenSet() const
Definition Watchlist.h:68
const Aws::String & GetWatchlistId() const
Definition Watchlist.h:115
Watchlist & WithDomainId(DomainIdT &&value)
Definition Watchlist.h:84
void SetDefaultWatchlist(bool value)
Definition Watchlist.h:59
AWS_VOICEID_API Watchlist(Aws::Utils::Json::JsonView jsonValue)
Watchlist & WithWatchlistId(WatchlistIdT &&value)
Definition Watchlist.h:120
void SetDescription(DescriptionT &&value)
Definition Watchlist.h:70
void SetDomainId(DomainIdT &&value)
Definition Watchlist.h:82
const Aws::String & GetName() const
Definition Watchlist.h:91
Watchlist & WithName(NameT &&value)
Definition Watchlist.h:96
Watchlist & WithCreatedAt(CreatedAtT &&value)
Definition Watchlist.h:50
AWS_VOICEID_API Watchlist()=default
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_VOICEID_API Watchlist & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition Watchlist.h:103
Watchlist & WithUpdatedAt(UpdatedAtT &&value)
Definition Watchlist.h:108
void SetUpdatedAt(UpdatedAtT &&value)
Definition Watchlist.h:106
const Aws::String & GetDomainId() const
Definition Watchlist.h:79
void SetName(NameT &&value)
Definition Watchlist.h:94
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue