AWS SDK for C++  1.9.108
AWS SDK for C++
EventTracker.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Personalize
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetName() const{ return m_name; }
45 
49  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 
54  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 
59  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 
64  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 
69  inline EventTracker& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
74  inline EventTracker& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 
79  inline EventTracker& WithName(const char* value) { SetName(value); return *this;}
80 
81 
85  inline const Aws::String& GetEventTrackerArn() const{ return m_eventTrackerArn; }
86 
90  inline bool EventTrackerArnHasBeenSet() const { return m_eventTrackerArnHasBeenSet; }
91 
95  inline void SetEventTrackerArn(const Aws::String& value) { m_eventTrackerArnHasBeenSet = true; m_eventTrackerArn = value; }
96 
100  inline void SetEventTrackerArn(Aws::String&& value) { m_eventTrackerArnHasBeenSet = true; m_eventTrackerArn = std::move(value); }
101 
105  inline void SetEventTrackerArn(const char* value) { m_eventTrackerArnHasBeenSet = true; m_eventTrackerArn.assign(value); }
106 
110  inline EventTracker& WithEventTrackerArn(const Aws::String& value) { SetEventTrackerArn(value); return *this;}
111 
115  inline EventTracker& WithEventTrackerArn(Aws::String&& value) { SetEventTrackerArn(std::move(value)); return *this;}
116 
120  inline EventTracker& WithEventTrackerArn(const char* value) { SetEventTrackerArn(value); return *this;}
121 
122 
126  inline const Aws::String& GetAccountId() const{ return m_accountId; }
127 
131  inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
132 
136  inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
137 
141  inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
142 
146  inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
147 
151  inline EventTracker& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
152 
156  inline EventTracker& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
157 
161  inline EventTracker& WithAccountId(const char* value) { SetAccountId(value); return *this;}
162 
163 
169  inline const Aws::String& GetTrackingId() const{ return m_trackingId; }
170 
176  inline bool TrackingIdHasBeenSet() const { return m_trackingIdHasBeenSet; }
177 
183  inline void SetTrackingId(const Aws::String& value) { m_trackingIdHasBeenSet = true; m_trackingId = value; }
184 
190  inline void SetTrackingId(Aws::String&& value) { m_trackingIdHasBeenSet = true; m_trackingId = std::move(value); }
191 
197  inline void SetTrackingId(const char* value) { m_trackingIdHasBeenSet = true; m_trackingId.assign(value); }
198 
204  inline EventTracker& WithTrackingId(const Aws::String& value) { SetTrackingId(value); return *this;}
205 
211  inline EventTracker& WithTrackingId(Aws::String&& value) { SetTrackingId(std::move(value)); return *this;}
212 
218  inline EventTracker& WithTrackingId(const char* value) { SetTrackingId(value); return *this;}
219 
220 
225  inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; }
226 
231  inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
232 
237  inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; }
238 
243  inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); }
244 
249  inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); }
250 
255  inline EventTracker& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;}
256 
261  inline EventTracker& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;}
262 
267  inline EventTracker& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;}
268 
269 
276  inline const Aws::String& GetStatus() const{ return m_status; }
277 
284  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
285 
292  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
293 
300  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
301 
308  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
309 
316  inline EventTracker& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
317 
324  inline EventTracker& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
325 
332  inline EventTracker& WithStatus(const char* value) { SetStatus(value); return *this;}
333 
334 
338  inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
339 
343  inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
344 
348  inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
349 
353  inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
354 
358  inline EventTracker& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
359 
363  inline EventTracker& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
364 
365 
369  inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
370 
374  inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
375 
379  inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
380 
384  inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
385 
389  inline EventTracker& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;}
390 
394  inline EventTracker& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
395 
396  private:
397 
398  Aws::String m_name;
399  bool m_nameHasBeenSet;
400 
401  Aws::String m_eventTrackerArn;
402  bool m_eventTrackerArnHasBeenSet;
403 
404  Aws::String m_accountId;
405  bool m_accountIdHasBeenSet;
406 
407  Aws::String m_trackingId;
408  bool m_trackingIdHasBeenSet;
409 
410  Aws::String m_datasetGroupArn;
411  bool m_datasetGroupArnHasBeenSet;
412 
413  Aws::String m_status;
414  bool m_statusHasBeenSet;
415 
416  Aws::Utils::DateTime m_creationDateTime;
417  bool m_creationDateTimeHasBeenSet;
418 
419  Aws::Utils::DateTime m_lastUpdatedDateTime;
420  bool m_lastUpdatedDateTimeHasBeenSet;
421  };
422 
423 } // namespace Model
424 } // namespace Personalize
425 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Personalize::Model::EventTracker::GetTrackingId
const Aws::String & GetTrackingId() const
Definition: EventTracker.h:169
Aws::Personalize::Model::EventTracker::SetTrackingId
void SetTrackingId(const char *value)
Definition: EventTracker.h:197
Aws::Personalize::Model::EventTracker::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: EventTracker.h:384
Aws::Personalize::Model::EventTracker::EventTracker
EventTracker(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::EventTracker::SetDatasetGroupArn
void SetDatasetGroupArn(const Aws::String &value)
Definition: EventTracker.h:237
Aws::Personalize::Model::EventTracker::TrackingIdHasBeenSet
bool TrackingIdHasBeenSet() const
Definition: EventTracker.h:176
Aws::Personalize::Model::EventTracker::WithCreationDateTime
EventTracker & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition: EventTracker.h:358
Aws::Personalize::Model::EventTracker::WithAccountId
EventTracker & WithAccountId(Aws::String &&value)
Definition: EventTracker.h:156
Aws::Personalize::Model::EventTracker::EventTracker
EventTracker()
Aws::Personalize::Model::EventTracker::WithLastUpdatedDateTime
EventTracker & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: EventTracker.h:394
Aws::Personalize::Model::EventTracker::SetStatus
void SetStatus(const char *value)
Definition: EventTracker.h:308
Aws::Personalize::Model::EventTracker::GetAccountId
const Aws::String & GetAccountId() const
Definition: EventTracker.h:126
Aws::Personalize::Model::EventTracker::WithDatasetGroupArn
EventTracker & WithDatasetGroupArn(const Aws::String &value)
Definition: EventTracker.h:255
Aws::Personalize::Model::EventTracker::SetCreationDateTime
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition: EventTracker.h:348
Aws::Personalize::Model::EventTracker::WithStatus
EventTracker & WithStatus(const Aws::String &value)
Definition: EventTracker.h:316
DateTime.h
Aws::Personalize::Model::EventTracker::WithStatus
EventTracker & WithStatus(Aws::String &&value)
Definition: EventTracker.h:324
Aws::Personalize::Model::EventTracker::SetStatus
void SetStatus(const Aws::String &value)
Definition: EventTracker.h:292
Aws::Personalize::Model::EventTracker::WithEventTrackerArn
EventTracker & WithEventTrackerArn(const Aws::String &value)
Definition: EventTracker.h:110
Aws::Personalize::Model::EventTracker::WithName
EventTracker & WithName(const char *value)
Definition: EventTracker.h:79
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::EventTracker::SetDatasetGroupArn
void SetDatasetGroupArn(const char *value)
Definition: EventTracker.h:249
Aws::Personalize::Model::EventTracker::LastUpdatedDateTimeHasBeenSet
bool LastUpdatedDateTimeHasBeenSet() const
Definition: EventTracker.h:374
Aws::Personalize::Model::EventTracker::WithAccountId
EventTracker & WithAccountId(const Aws::String &value)
Definition: EventTracker.h:151
Aws::Personalize::Model::EventTracker::SetName
void SetName(const char *value)
Definition: EventTracker.h:64
Aws::Personalize::Model::EventTracker::GetDatasetGroupArn
const Aws::String & GetDatasetGroupArn() const
Definition: EventTracker.h:225
Aws::Personalize::Model::EventTracker::CreationDateTimeHasBeenSet
bool CreationDateTimeHasBeenSet() const
Definition: EventTracker.h:343
Aws::Personalize::Model::EventTracker::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: EventTracker.h:379
Aws::Personalize::Model::EventTracker::WithTrackingId
EventTracker & WithTrackingId(Aws::String &&value)
Definition: EventTracker.h:211
Aws::Personalize::Model::EventTracker::WithDatasetGroupArn
EventTracker & WithDatasetGroupArn(const char *value)
Definition: EventTracker.h:267
Aws::Personalize::Model::EventTracker::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Personalize::Model::EventTracker::SetName
void SetName(const Aws::String &value)
Definition: EventTracker.h:54
Aws::Personalize::Model::EventTracker::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: EventTracker.h:284
Aws::Personalize::Model::EventTracker::WithCreationDateTime
EventTracker & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition: EventTracker.h:363
Aws::Personalize::Model::EventTracker::GetName
const Aws::String & GetName() const
Definition: EventTracker.h:44
Aws::Personalize::Model::EventTracker::DatasetGroupArnHasBeenSet
bool DatasetGroupArnHasBeenSet() const
Definition: EventTracker.h:231
Aws::Personalize::Model::EventTracker::GetCreationDateTime
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition: EventTracker.h:338
Aws::Personalize::Model::EventTracker::SetAccountId
void SetAccountId(const Aws::String &value)
Definition: EventTracker.h:136
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::EventTracker::SetCreationDateTime
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition: EventTracker.h:353
Aws::Personalize::Model::EventTracker::EventTrackerArnHasBeenSet
bool EventTrackerArnHasBeenSet() const
Definition: EventTracker.h:90
Aws::Personalize::Model::EventTracker::AccountIdHasBeenSet
bool AccountIdHasBeenSet() const
Definition: EventTracker.h:131
Aws::Personalize::Model::EventTracker::WithTrackingId
EventTracker & WithTrackingId(const char *value)
Definition: EventTracker.h:218
Aws::Personalize::Model::EventTracker::WithStatus
EventTracker & WithStatus(const char *value)
Definition: EventTracker.h:332
Aws::Personalize::Model::EventTracker::WithLastUpdatedDateTime
EventTracker & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: EventTracker.h:389
Aws::Personalize::Model::EventTracker::GetLastUpdatedDateTime
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition: EventTracker.h:369
Aws::Personalize::Model::EventTracker::SetTrackingId
void SetTrackingId(const Aws::String &value)
Definition: EventTracker.h:183
Aws::Personalize::Model::EventTracker::SetAccountId
void SetAccountId(Aws::String &&value)
Definition: EventTracker.h:141
Aws::Personalize::Model::EventTracker::WithTrackingId
EventTracker & WithTrackingId(const Aws::String &value)
Definition: EventTracker.h:204
Aws::Personalize::Model::EventTracker::GetEventTrackerArn
const Aws::String & GetEventTrackerArn() const
Definition: EventTracker.h:85
Aws::Personalize::Model::EventTracker
Definition: EventTracker.h:33
Aws::Personalize::Model::EventTracker::WithEventTrackerArn
EventTracker & WithEventTrackerArn(const char *value)
Definition: EventTracker.h:120
Aws::Personalize::Model::EventTracker::WithEventTrackerArn
EventTracker & WithEventTrackerArn(Aws::String &&value)
Definition: EventTracker.h:115
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::EventTracker::SetEventTrackerArn
void SetEventTrackerArn(Aws::String &&value)
Definition: EventTracker.h:100
Aws::Personalize::Model::EventTracker::WithAccountId
EventTracker & WithAccountId(const char *value)
Definition: EventTracker.h:161
Aws::Personalize::Model::EventTracker::WithDatasetGroupArn
EventTracker & WithDatasetGroupArn(Aws::String &&value)
Definition: EventTracker.h:261
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::EventTracker::GetStatus
const Aws::String & GetStatus() const
Definition: EventTracker.h:276
Personalize_EXPORTS.h
Aws::Personalize::Model::EventTracker::SetDatasetGroupArn
void SetDatasetGroupArn(Aws::String &&value)
Definition: EventTracker.h:243
Aws::Personalize::Model::EventTracker::operator=
EventTracker & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::EventTracker::WithName
EventTracker & WithName(const Aws::String &value)
Definition: EventTracker.h:69
Aws::Personalize::Model::EventTracker::SetEventTrackerArn
void SetEventTrackerArn(const char *value)
Definition: EventTracker.h:105
Aws::Personalize::Model::EventTracker::NameHasBeenSet
bool NameHasBeenSet() const
Definition: EventTracker.h:49
Aws::Personalize::Model::EventTracker::SetAccountId
void SetAccountId(const char *value)
Definition: EventTracker.h:146
Aws::Personalize::Model::EventTracker::SetTrackingId
void SetTrackingId(Aws::String &&value)
Definition: EventTracker.h:190
Aws::Personalize::Model::EventTracker::SetEventTrackerArn
void SetEventTrackerArn(const Aws::String &value)
Definition: EventTracker.h:95
Aws::Personalize::Model::EventTracker::WithName
EventTracker & WithName(Aws::String &&value)
Definition: EventTracker.h:74
Aws::Personalize::Model::EventTracker::SetName
void SetName(Aws::String &&value)
Definition: EventTracker.h:59
Aws::Personalize::Model::EventTracker::SetStatus
void SetStatus(Aws::String &&value)
Definition: EventTracker.h:300