AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
WatchlistSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/voice-id/VoiceID_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace VoiceID {
21namespace Model {
22
30 public:
31 AWS_VOICEID_API WatchlistSummary() = default;
32 AWS_VOICEID_API WatchlistSummary(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 WatchlistSummary& WithCreatedAt(CreatedAtT&& value) {
49 SetCreatedAt(std::forward<CreatedAtT>(value));
50 return *this;
51 }
53
55
58 inline bool GetDefaultWatchlist() const { return m_defaultWatchlist; }
59 inline bool DefaultWatchlistHasBeenSet() const { return m_defaultWatchlistHasBeenSet; }
60 inline void SetDefaultWatchlist(bool value) {
61 m_defaultWatchlistHasBeenSet = true;
62 m_defaultWatchlist = value;
63 }
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 template <typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) {
78 m_descriptionHasBeenSet = true;
79 m_description = std::forward<DescriptionT>(value);
80 }
81 template <typename DescriptionT = Aws::String>
82 WatchlistSummary& WithDescription(DescriptionT&& value) {
83 SetDescription(std::forward<DescriptionT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetDomainId() const { return m_domainId; }
93 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
94 template <typename DomainIdT = Aws::String>
95 void SetDomainId(DomainIdT&& value) {
96 m_domainIdHasBeenSet = true;
97 m_domainId = std::forward<DomainIdT>(value);
98 }
99 template <typename DomainIdT = Aws::String>
100 WatchlistSummary& WithDomainId(DomainIdT&& value) {
101 SetDomainId(std::forward<DomainIdT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetName() const { return m_name; }
111 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
112 template <typename NameT = Aws::String>
113 void SetName(NameT&& value) {
114 m_nameHasBeenSet = true;
115 m_name = std::forward<NameT>(value);
116 }
117 template <typename NameT = Aws::String>
118 WatchlistSummary& WithName(NameT&& value) {
119 SetName(std::forward<NameT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
129 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
130 template <typename UpdatedAtT = Aws::Utils::DateTime>
131 void SetUpdatedAt(UpdatedAtT&& value) {
132 m_updatedAtHasBeenSet = true;
133 m_updatedAt = std::forward<UpdatedAtT>(value);
134 }
135 template <typename UpdatedAtT = Aws::Utils::DateTime>
136 WatchlistSummary& WithUpdatedAt(UpdatedAtT&& value) {
137 SetUpdatedAt(std::forward<UpdatedAtT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::String& GetWatchlistId() const { return m_watchlistId; }
147 inline bool WatchlistIdHasBeenSet() const { return m_watchlistIdHasBeenSet; }
148 template <typename WatchlistIdT = Aws::String>
149 void SetWatchlistId(WatchlistIdT&& value) {
150 m_watchlistIdHasBeenSet = true;
151 m_watchlistId = std::forward<WatchlistIdT>(value);
152 }
153 template <typename WatchlistIdT = Aws::String>
154 WatchlistSummary& WithWatchlistId(WatchlistIdT&& value) {
155 SetWatchlistId(std::forward<WatchlistIdT>(value));
156 return *this;
157 }
159 private:
160 Aws::Utils::DateTime m_createdAt{};
161
162 bool m_defaultWatchlist{false};
163
164 Aws::String m_description;
165
166 Aws::String m_domainId;
167
168 Aws::String m_name;
169
170 Aws::Utils::DateTime m_updatedAt{};
171
172 Aws::String m_watchlistId;
173 bool m_createdAtHasBeenSet = false;
174 bool m_defaultWatchlistHasBeenSet = false;
175 bool m_descriptionHasBeenSet = false;
176 bool m_domainIdHasBeenSet = false;
177 bool m_nameHasBeenSet = false;
178 bool m_updatedAtHasBeenSet = false;
179 bool m_watchlistIdHasBeenSet = false;
180};
181
182} // namespace Model
183} // namespace VoiceID
184} // namespace Aws
const Aws::Utils::DateTime & GetCreatedAt() const
WatchlistSummary & WithDescription(DescriptionT &&value)
const Aws::String & GetWatchlistId() const
const Aws::Utils::DateTime & GetUpdatedAt() const
WatchlistSummary & WithUpdatedAt(UpdatedAtT &&value)
AWS_VOICEID_API WatchlistSummary()=default
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreatedAt(CreatedAtT &&value)
WatchlistSummary & WithName(NameT &&value)
WatchlistSummary & WithWatchlistId(WatchlistIdT &&value)
WatchlistSummary & WithDefaultWatchlist(bool value)
AWS_VOICEID_API WatchlistSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDomainId() const
const Aws::String & GetName() const
void SetDescription(DescriptionT &&value)
WatchlistSummary & WithCreatedAt(CreatedAtT &&value)
void SetWatchlistId(WatchlistIdT &&value)
AWS_VOICEID_API WatchlistSummary(Aws::Utils::Json::JsonView jsonValue)
WatchlistSummary & WithDomainId(DomainIdT &&value)
const Aws::String & GetDescription() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue