AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EventTracker.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 Personalize
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_PERSONALIZE_API EventTracker();
36 AWS_PERSONALIZE_API EventTracker(Aws::Utils::Json::JsonView jsonValue);
37 AWS_PERSONALIZE_API EventTracker& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline EventTracker& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline EventTracker& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline EventTracker& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const Aws::String& GetEventTrackerArn() const{ return m_eventTrackerArn; }
60 inline bool EventTrackerArnHasBeenSet() const { return m_eventTrackerArnHasBeenSet; }
61 inline void SetEventTrackerArn(const Aws::String& value) { m_eventTrackerArnHasBeenSet = true; m_eventTrackerArn = value; }
62 inline void SetEventTrackerArn(Aws::String&& value) { m_eventTrackerArnHasBeenSet = true; m_eventTrackerArn = std::move(value); }
63 inline void SetEventTrackerArn(const char* value) { m_eventTrackerArnHasBeenSet = true; m_eventTrackerArn.assign(value); }
64 inline EventTracker& WithEventTrackerArn(const Aws::String& value) { SetEventTrackerArn(value); return *this;}
65 inline EventTracker& WithEventTrackerArn(Aws::String&& value) { SetEventTrackerArn(std::move(value)); return *this;}
66 inline EventTracker& WithEventTrackerArn(const char* value) { SetEventTrackerArn(value); return *this;}
68
70
73 inline const Aws::String& GetAccountId() const{ return m_accountId; }
74 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
75 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
76 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
77 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
78 inline EventTracker& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
79 inline EventTracker& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
80 inline EventTracker& WithAccountId(const char* value) { SetAccountId(value); return *this;}
82
84
89 inline const Aws::String& GetTrackingId() const{ return m_trackingId; }
90 inline bool TrackingIdHasBeenSet() const { return m_trackingIdHasBeenSet; }
91 inline void SetTrackingId(const Aws::String& value) { m_trackingIdHasBeenSet = true; m_trackingId = value; }
92 inline void SetTrackingId(Aws::String&& value) { m_trackingIdHasBeenSet = true; m_trackingId = std::move(value); }
93 inline void SetTrackingId(const char* value) { m_trackingIdHasBeenSet = true; m_trackingId.assign(value); }
94 inline EventTracker& WithTrackingId(const Aws::String& value) { SetTrackingId(value); return *this;}
95 inline EventTracker& WithTrackingId(Aws::String&& value) { SetTrackingId(std::move(value)); return *this;}
96 inline EventTracker& WithTrackingId(const char* value) { SetTrackingId(value); return *this;}
98
100
104 inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; }
105 inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
106 inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; }
107 inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); }
108 inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); }
109 inline EventTracker& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;}
110 inline EventTracker& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;}
111 inline EventTracker& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;}
113
115
121 inline const Aws::String& GetStatus() const{ return m_status; }
122 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
123 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
124 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
125 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
126 inline EventTracker& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
127 inline EventTracker& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
128 inline EventTracker& WithStatus(const char* value) { SetStatus(value); return *this;}
130
132
135 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
136 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
137 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
138 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
139 inline EventTracker& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
140 inline EventTracker& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
142
144
147 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
148 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
149 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
150 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
152 inline EventTracker& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
154 private:
155
156 Aws::String m_name;
157 bool m_nameHasBeenSet = false;
158
159 Aws::String m_eventTrackerArn;
160 bool m_eventTrackerArnHasBeenSet = false;
161
162 Aws::String m_accountId;
163 bool m_accountIdHasBeenSet = false;
164
165 Aws::String m_trackingId;
166 bool m_trackingIdHasBeenSet = false;
167
168 Aws::String m_datasetGroupArn;
169 bool m_datasetGroupArnHasBeenSet = false;
170
171 Aws::String m_status;
172 bool m_statusHasBeenSet = false;
173
174 Aws::Utils::DateTime m_creationDateTime;
175 bool m_creationDateTimeHasBeenSet = false;
176
177 Aws::Utils::DateTime m_lastUpdatedDateTime;
178 bool m_lastUpdatedDateTimeHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace Personalize
183} // namespace Aws
void SetCreationDateTime(const Aws::Utils::DateTime &value)
EventTracker & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetEventTrackerArn() const
EventTracker & WithStatus(const char *value)
AWS_PERSONALIZE_API EventTracker & operator=(Aws::Utils::Json::JsonView jsonValue)
EventTracker & WithDatasetGroupArn(Aws::String &&value)
void SetName(Aws::String &&value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
EventTracker & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetStatus(Aws::String &&value)
void SetAccountId(const char *value)
void SetStatus(const Aws::String &value)
EventTracker & WithAccountId(const char *value)
const Aws::Utils::DateTime & GetCreationDateTime() const
EventTracker & WithDatasetGroupArn(const char *value)
EventTracker & WithCreationDateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
EventTracker & WithCreationDateTime(Aws::Utils::DateTime &&value)
EventTracker & WithName(Aws::String &&value)
void SetStatus(const char *value)
EventTracker & WithAccountId(Aws::String &&value)
void SetDatasetGroupArn(const char *value)
EventTracker & WithTrackingId(const Aws::String &value)
EventTracker & WithTrackingId(const char *value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTrackingId(const Aws::String &value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
void SetName(const char *value)
EventTracker & WithDatasetGroupArn(const Aws::String &value)
const Aws::String & GetDatasetGroupArn() const
EventTracker & WithEventTrackerArn(const char *value)
AWS_PERSONALIZE_API EventTracker()
const Aws::String & GetAccountId() const
void SetCreationDateTime(Aws::Utils::DateTime &&value)
EventTracker & WithStatus(const Aws::String &value)
EventTracker & WithName(const Aws::String &value)
const Aws::String & GetName() const
void SetAccountId(const Aws::String &value)
void SetEventTrackerArn(const Aws::String &value)
void SetDatasetGroupArn(Aws::String &&value)
void SetTrackingId(Aws::String &&value)
EventTracker & WithAccountId(const Aws::String &value)
void SetAccountId(Aws::String &&value)
EventTracker & WithEventTrackerArn(const Aws::String &value)
EventTracker & WithEventTrackerArn(Aws::String &&value)
EventTracker & WithName(const char *value)
void SetDatasetGroupArn(const Aws::String &value)
EventTracker & WithTrackingId(Aws::String &&value)
void SetName(const Aws::String &value)
void SetEventTrackerArn(const char *value)
void SetTrackingId(const char *value)
void SetEventTrackerArn(Aws::String &&value)
AWS_PERSONALIZE_API EventTracker(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStatus() const
EventTracker & WithStatus(Aws::String &&value)
const Aws::String & GetTrackingId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue