AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
48 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
49 inline Watchlist& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
50 inline Watchlist& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(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 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
70 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
71 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
72 inline Watchlist& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
73 inline Watchlist& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
74 inline Watchlist& WithDescription(const char* value) { SetDescription(value); return *this;}
76
78
81 inline const Aws::String& GetDomainId() const{ return m_domainId; }
82 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
83 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
84 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
85 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
86 inline Watchlist& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
87 inline Watchlist& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
88 inline Watchlist& WithDomainId(const char* value) { SetDomainId(value); return *this;}
90
92
95 inline const Aws::String& GetName() const{ return m_name; }
96 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
97 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
98 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
99 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
100 inline Watchlist& WithName(const Aws::String& value) { SetName(value); return *this;}
101 inline Watchlist& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
102 inline Watchlist& WithName(const char* value) { SetName(value); return *this;}
104
106
109 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
110 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
111 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
112 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
113 inline Watchlist& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
114 inline Watchlist& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
116
118
121 inline const Aws::String& GetWatchlistId() const{ return m_watchlistId; }
122 inline bool WatchlistIdHasBeenSet() const { return m_watchlistIdHasBeenSet; }
123 inline void SetWatchlistId(const Aws::String& value) { m_watchlistIdHasBeenSet = true; m_watchlistId = value; }
124 inline void SetWatchlistId(Aws::String&& value) { m_watchlistIdHasBeenSet = true; m_watchlistId = std::move(value); }
125 inline void SetWatchlistId(const char* value) { m_watchlistIdHasBeenSet = true; m_watchlistId.assign(value); }
126 inline Watchlist& WithWatchlistId(const Aws::String& value) { SetWatchlistId(value); return *this;}
127 inline Watchlist& WithWatchlistId(Aws::String&& value) { SetWatchlistId(std::move(value)); return *this;}
128 inline Watchlist& WithWatchlistId(const char* value) { SetWatchlistId(value); return *this;}
130 private:
131
132 Aws::Utils::DateTime m_createdAt;
133 bool m_createdAtHasBeenSet = false;
134
135 bool m_defaultWatchlist;
136 bool m_defaultWatchlistHasBeenSet = false;
137
138 Aws::String m_description;
139 bool m_descriptionHasBeenSet = false;
140
141 Aws::String m_domainId;
142 bool m_domainIdHasBeenSet = false;
143
144 Aws::String m_name;
145 bool m_nameHasBeenSet = false;
146
147 Aws::Utils::DateTime m_updatedAt;
148 bool m_updatedAtHasBeenSet = false;
149
150 Aws::String m_watchlistId;
151 bool m_watchlistIdHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace VoiceID
156} // namespace Aws
void SetDomainId(const Aws::String &value)
Definition Watchlist.h:83
const Aws::String & GetDescription() const
Definition Watchlist.h:67
Watchlist & WithName(const char *value)
Definition Watchlist.h:102
Watchlist & WithDomainId(const char *value)
Definition Watchlist.h:88
Watchlist & WithDescription(const char *value)
Definition Watchlist.h:74
Watchlist & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition Watchlist.h:50
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Definition Watchlist.h:112
void SetWatchlistId(const char *value)
Definition Watchlist.h:125
void SetDescription(const Aws::String &value)
Definition Watchlist.h:69
Watchlist & WithDefaultWatchlist(bool value)
Definition Watchlist.h:60
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Watchlist.h:45
void SetName(Aws::String &&value)
Definition Watchlist.h:98
bool DefaultWatchlistHasBeenSet() const
Definition Watchlist.h:58
void SetWatchlistId(Aws::String &&value)
Definition Watchlist.h:124
bool DescriptionHasBeenSet() const
Definition Watchlist.h:68
const Aws::String & GetWatchlistId() const
Definition Watchlist.h:121
void SetDomainId(Aws::String &&value)
Definition Watchlist.h:84
void SetDefaultWatchlist(bool value)
Definition Watchlist.h:59
AWS_VOICEID_API Watchlist(Aws::Utils::Json::JsonView jsonValue)
Watchlist & WithWatchlistId(Aws::String &&value)
Definition Watchlist.h:127
Watchlist & WithUpdatedAt(Aws::Utils::DateTime &&value)
Definition Watchlist.h:114
void SetUpdatedAt(const Aws::Utils::DateTime &value)
Definition Watchlist.h:111
const Aws::String & GetName() const
Definition Watchlist.h:95
void SetWatchlistId(const Aws::String &value)
Definition Watchlist.h:123
Watchlist & WithDomainId(const Aws::String &value)
Definition Watchlist.h:86
Watchlist & WithDomainId(Aws::String &&value)
Definition Watchlist.h:87
Watchlist & WithName(Aws::String &&value)
Definition Watchlist.h:101
Watchlist & WithWatchlistId(const char *value)
Definition Watchlist.h:128
Watchlist & WithName(const Aws::String &value)
Definition Watchlist.h:100
Watchlist & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition Watchlist.h:49
AWS_VOICEID_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_VOICEID_API Watchlist & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(Aws::String &&value)
Definition Watchlist.h:70
void SetName(const char *value)
Definition Watchlist.h:99
Watchlist & WithDescription(const Aws::String &value)
Definition Watchlist.h:72
Watchlist & WithDescription(Aws::String &&value)
Definition Watchlist.h:73
Watchlist & WithUpdatedAt(const Aws::Utils::DateTime &value)
Definition Watchlist.h:113
void SetName(const Aws::String &value)
Definition Watchlist.h:97
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition Watchlist.h:109
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition Watchlist.h:48
const Aws::String & GetDomainId() const
Definition Watchlist.h:81
void SetDomainId(const char *value)
Definition Watchlist.h:85
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition Watchlist.h:47
Watchlist & WithWatchlistId(const Aws::String &value)
Definition Watchlist.h:126
void SetDescription(const char *value)
Definition Watchlist.h:71
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue