AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WatchlistSummary.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
34 {
35 public:
36 AWS_VOICEID_API WatchlistSummary();
37 AWS_VOICEID_API WatchlistSummary(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 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
49 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
50 inline WatchlistSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
51 inline WatchlistSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
53
55
58 inline bool GetDefaultWatchlist() const{ return m_defaultWatchlist; }
59 inline bool DefaultWatchlistHasBeenSet() const { return m_defaultWatchlistHasBeenSet; }
60 inline void SetDefaultWatchlist(bool value) { m_defaultWatchlistHasBeenSet = true; m_defaultWatchlist = value; }
61 inline WatchlistSummary& WithDefaultWatchlist(bool value) { SetDefaultWatchlist(value); return *this;}
63
65
68 inline const Aws::String& GetDescription() const{ return m_description; }
69 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
70 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
71 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
72 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
73 inline WatchlistSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
74 inline WatchlistSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
75 inline WatchlistSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
77
79
82 inline const Aws::String& GetDomainId() const{ return m_domainId; }
83 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
84 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
85 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
86 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
87 inline WatchlistSummary& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
88 inline WatchlistSummary& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
89 inline WatchlistSummary& WithDomainId(const char* value) { SetDomainId(value); return *this;}
91
93
96 inline const Aws::String& GetName() const{ return m_name; }
97 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
98 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
99 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
100 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
101 inline WatchlistSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
102 inline WatchlistSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
103 inline WatchlistSummary& WithName(const char* value) { SetName(value); return *this;}
105
107
110 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
111 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
112 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
113 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
114 inline WatchlistSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
115 inline WatchlistSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
117
119
122 inline const Aws::String& GetWatchlistId() const{ return m_watchlistId; }
123 inline bool WatchlistIdHasBeenSet() const { return m_watchlistIdHasBeenSet; }
124 inline void SetWatchlistId(const Aws::String& value) { m_watchlistIdHasBeenSet = true; m_watchlistId = value; }
125 inline void SetWatchlistId(Aws::String&& value) { m_watchlistIdHasBeenSet = true; m_watchlistId = std::move(value); }
126 inline void SetWatchlistId(const char* value) { m_watchlistIdHasBeenSet = true; m_watchlistId.assign(value); }
127 inline WatchlistSummary& WithWatchlistId(const Aws::String& value) { SetWatchlistId(value); return *this;}
128 inline WatchlistSummary& WithWatchlistId(Aws::String&& value) { SetWatchlistId(std::move(value)); return *this;}
129 inline WatchlistSummary& WithWatchlistId(const char* value) { SetWatchlistId(value); return *this;}
131 private:
132
133 Aws::Utils::DateTime m_createdAt;
134 bool m_createdAtHasBeenSet = false;
135
136 bool m_defaultWatchlist;
137 bool m_defaultWatchlistHasBeenSet = false;
138
139 Aws::String m_description;
140 bool m_descriptionHasBeenSet = false;
141
142 Aws::String m_domainId;
143 bool m_domainIdHasBeenSet = false;
144
145 Aws::String m_name;
146 bool m_nameHasBeenSet = false;
147
148 Aws::Utils::DateTime m_updatedAt;
149 bool m_updatedAtHasBeenSet = false;
150
151 Aws::String m_watchlistId;
152 bool m_watchlistIdHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace VoiceID
157} // namespace Aws
const Aws::Utils::DateTime & GetCreatedAt() const
void SetName(const Aws::String &value)
WatchlistSummary & WithName(const char *value)
const Aws::String & GetWatchlistId() const
WatchlistSummary & WithCreatedAt(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetDescription(Aws::String &&value)
WatchlistSummary & WithName(Aws::String &&value)
WatchlistSummary & WithCreatedAt(Aws::Utils::DateTime &&value)
void SetWatchlistId(Aws::String &&value)
WatchlistSummary & WithWatchlistId(const char *value)
WatchlistSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
WatchlistSummary & WithDescription(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetDescription(const Aws::String &value)
WatchlistSummary & WithWatchlistId(Aws::String &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
WatchlistSummary & WithDefaultWatchlist(bool value)
WatchlistSummary & WithDomainId(const Aws::String &value)
WatchlistSummary & WithDomainId(Aws::String &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
AWS_VOICEID_API WatchlistSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDomainId(Aws::String &&value)
WatchlistSummary & WithDomainId(const char *value)
void SetDomainId(const Aws::String &value)
const Aws::String & GetDomainId() const
const Aws::String & GetName() const
void SetWatchlistId(const Aws::String &value)
WatchlistSummary & WithDescription(Aws::String &&value)
WatchlistSummary & WithName(const Aws::String &value)
WatchlistSummary & WithDescription(const Aws::String &value)
WatchlistSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
AWS_VOICEID_API WatchlistSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
WatchlistSummary & WithWatchlistId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue