AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename CreatedAtT = Aws::Utils::DateTime>
49 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
50 template<typename CreatedAtT = Aws::Utils::DateTime>
51 WatchlistSummary& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(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 template<typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
72 template<typename DescriptionT = Aws::String>
73 WatchlistSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
75
77
80 inline const Aws::String& GetDomainId() const { return m_domainId; }
81 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
82 template<typename DomainIdT = Aws::String>
83 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
84 template<typename DomainIdT = Aws::String>
85 WatchlistSummary& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
87
89
92 inline const Aws::String& GetName() const { return m_name; }
93 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
94 template<typename NameT = Aws::String>
95 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
96 template<typename NameT = Aws::String>
97 WatchlistSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
105 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
106 template<typename UpdatedAtT = Aws::Utils::DateTime>
107 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
108 template<typename UpdatedAtT = Aws::Utils::DateTime>
109 WatchlistSummary& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
111
113
116 inline const Aws::String& GetWatchlistId() const { return m_watchlistId; }
117 inline bool WatchlistIdHasBeenSet() const { return m_watchlistIdHasBeenSet; }
118 template<typename WatchlistIdT = Aws::String>
119 void SetWatchlistId(WatchlistIdT&& value) { m_watchlistIdHasBeenSet = true; m_watchlistId = std::forward<WatchlistIdT>(value); }
120 template<typename WatchlistIdT = Aws::String>
121 WatchlistSummary& WithWatchlistId(WatchlistIdT&& value) { SetWatchlistId(std::forward<WatchlistIdT>(value)); return *this;}
123 private:
124
125 Aws::Utils::DateTime m_createdAt{};
126 bool m_createdAtHasBeenSet = false;
127
128 bool m_defaultWatchlist{false};
129 bool m_defaultWatchlistHasBeenSet = false;
130
131 Aws::String m_description;
132 bool m_descriptionHasBeenSet = false;
133
134 Aws::String m_domainId;
135 bool m_domainIdHasBeenSet = false;
136
137 Aws::String m_name;
138 bool m_nameHasBeenSet = false;
139
140 Aws::Utils::DateTime m_updatedAt{};
141 bool m_updatedAtHasBeenSet = false;
142
143 Aws::String m_watchlistId;
144 bool m_watchlistIdHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace VoiceID
149} // 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