AWS SDK for C++  1.9.108
AWS SDK for C++
EventTrackerSummary.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 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetName() const{ return m_name; }
46 
50  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 
55  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 
60  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 
65  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 
70  inline EventTrackerSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
71 
75  inline EventTrackerSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 
80  inline EventTrackerSummary& WithName(const char* value) { SetName(value); return *this;}
81 
82 
86  inline const Aws::String& GetEventTrackerArn() const{ return m_eventTrackerArn; }
87 
91  inline bool EventTrackerArnHasBeenSet() const { return m_eventTrackerArnHasBeenSet; }
92 
96  inline void SetEventTrackerArn(const Aws::String& value) { m_eventTrackerArnHasBeenSet = true; m_eventTrackerArn = value; }
97 
101  inline void SetEventTrackerArn(Aws::String&& value) { m_eventTrackerArnHasBeenSet = true; m_eventTrackerArn = std::move(value); }
102 
106  inline void SetEventTrackerArn(const char* value) { m_eventTrackerArnHasBeenSet = true; m_eventTrackerArn.assign(value); }
107 
111  inline EventTrackerSummary& WithEventTrackerArn(const Aws::String& value) { SetEventTrackerArn(value); return *this;}
112 
116  inline EventTrackerSummary& WithEventTrackerArn(Aws::String&& value) { SetEventTrackerArn(std::move(value)); return *this;}
117 
121  inline EventTrackerSummary& WithEventTrackerArn(const char* value) { SetEventTrackerArn(value); return *this;}
122 
123 
130  inline const Aws::String& GetStatus() const{ return m_status; }
131 
138  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
139 
146  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
147 
154  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
155 
162  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
163 
170  inline EventTrackerSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
171 
178  inline EventTrackerSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
179 
186  inline EventTrackerSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
187 
188 
192  inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
193 
197  inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
198 
202  inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
203 
207  inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
208 
212  inline EventTrackerSummary& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
213 
217  inline EventTrackerSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
218 
219 
223  inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
224 
228  inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
229 
233  inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
234 
238  inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
239 
243  inline EventTrackerSummary& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;}
244 
248  inline EventTrackerSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
249 
250  private:
251 
252  Aws::String m_name;
253  bool m_nameHasBeenSet;
254 
255  Aws::String m_eventTrackerArn;
256  bool m_eventTrackerArnHasBeenSet;
257 
258  Aws::String m_status;
259  bool m_statusHasBeenSet;
260 
261  Aws::Utils::DateTime m_creationDateTime;
262  bool m_creationDateTimeHasBeenSet;
263 
264  Aws::Utils::DateTime m_lastUpdatedDateTime;
265  bool m_lastUpdatedDateTimeHasBeenSet;
266  };
267 
268 } // namespace Model
269 } // namespace Personalize
270 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Personalize::Model::EventTrackerSummary::WithName
EventTrackerSummary & WithName(Aws::String &&value)
Definition: EventTrackerSummary.h:75
Aws::Personalize::Model::EventTrackerSummary::EventTrackerArnHasBeenSet
bool EventTrackerArnHasBeenSet() const
Definition: EventTrackerSummary.h:91
Aws::Personalize::Model::EventTrackerSummary::SetEventTrackerArn
void SetEventTrackerArn(Aws::String &&value)
Definition: EventTrackerSummary.h:101
Aws::Personalize::Model::EventTrackerSummary::GetLastUpdatedDateTime
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition: EventTrackerSummary.h:223
Aws::Personalize::Model::EventTrackerSummary::operator=
EventTrackerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::EventTrackerSummary::WithStatus
EventTrackerSummary & WithStatus(const char *value)
Definition: EventTrackerSummary.h:186
DateTime.h
Aws::Personalize::Model::EventTrackerSummary::GetStatus
const Aws::String & GetStatus() const
Definition: EventTrackerSummary.h:130
Aws::Personalize::Model::EventTrackerSummary::WithCreationDateTime
EventTrackerSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition: EventTrackerSummary.h:212
Aws::Personalize::Model::EventTrackerSummary::WithStatus
EventTrackerSummary & WithStatus(const Aws::String &value)
Definition: EventTrackerSummary.h:170
Aws::Personalize::Model::EventTrackerSummary::SetStatus
void SetStatus(Aws::String &&value)
Definition: EventTrackerSummary.h:154
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::EventTrackerSummary::LastUpdatedDateTimeHasBeenSet
bool LastUpdatedDateTimeHasBeenSet() const
Definition: EventTrackerSummary.h:228
Aws::Personalize::Model::EventTrackerSummary::GetCreationDateTime
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition: EventTrackerSummary.h:192
Aws::Personalize::Model::EventTrackerSummary::SetName
void SetName(const Aws::String &value)
Definition: EventTrackerSummary.h:55
Aws::Personalize::Model::EventTrackerSummary::WithEventTrackerArn
EventTrackerSummary & WithEventTrackerArn(Aws::String &&value)
Definition: EventTrackerSummary.h:116
Aws::Personalize::Model::EventTrackerSummary::WithCreationDateTime
EventTrackerSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition: EventTrackerSummary.h:217
Aws::Personalize::Model::EventTrackerSummary::WithName
EventTrackerSummary & WithName(const char *value)
Definition: EventTrackerSummary.h:80
Aws::Personalize::Model::EventTrackerSummary::SetName
void SetName(const char *value)
Definition: EventTrackerSummary.h:65
Aws::Personalize::Model::EventTrackerSummary::WithName
EventTrackerSummary & WithName(const Aws::String &value)
Definition: EventTrackerSummary.h:70
Aws::Personalize::Model::EventTrackerSummary::WithLastUpdatedDateTime
EventTrackerSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: EventTrackerSummary.h:243
Aws::Personalize::Model::EventTrackerSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: EventTrackerSummary.h:50
Aws::Personalize::Model::EventTrackerSummary::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: EventTrackerSummary.h:238
Aws::Personalize::Model::EventTrackerSummary::WithStatus
EventTrackerSummary & WithStatus(Aws::String &&value)
Definition: EventTrackerSummary.h:178
Aws::Personalize::Model::EventTrackerSummary::SetStatus
void SetStatus(const Aws::String &value)
Definition: EventTrackerSummary.h:146
Aws::Personalize::Model::EventTrackerSummary::SetStatus
void SetStatus(const char *value)
Definition: EventTrackerSummary.h:162
Aws::Personalize::Model::EventTrackerSummary
Definition: EventTrackerSummary.h:34
Aws::Personalize::Model::EventTrackerSummary::SetEventTrackerArn
void SetEventTrackerArn(const Aws::String &value)
Definition: EventTrackerSummary.h:96
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Personalize::Model::EventTrackerSummary::SetEventTrackerArn
void SetEventTrackerArn(const char *value)
Definition: EventTrackerSummary.h:106
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::EventTrackerSummary::GetName
const Aws::String & GetName() const
Definition: EventTrackerSummary.h:45
Aws::Personalize::Model::EventTrackerSummary::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: EventTrackerSummary.h:233
Aws::Personalize::Model::EventTrackerSummary::SetCreationDateTime
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition: EventTrackerSummary.h:207
Aws::Personalize::Model::EventTrackerSummary::SetName
void SetName(Aws::String &&value)
Definition: EventTrackerSummary.h:60
Aws::Personalize::Model::EventTrackerSummary::SetCreationDateTime
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition: EventTrackerSummary.h:202
Aws::Personalize::Model::EventTrackerSummary::WithEventTrackerArn
EventTrackerSummary & WithEventTrackerArn(const Aws::String &value)
Definition: EventTrackerSummary.h:111
Aws::Personalize::Model::EventTrackerSummary::WithEventTrackerArn
EventTrackerSummary & WithEventTrackerArn(const char *value)
Definition: EventTrackerSummary.h:121
Aws::Personalize::Model::EventTrackerSummary::CreationDateTimeHasBeenSet
bool CreationDateTimeHasBeenSet() const
Definition: EventTrackerSummary.h:197
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::EventTrackerSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::EventTrackerSummary::GetEventTrackerArn
const Aws::String & GetEventTrackerArn() const
Definition: EventTrackerSummary.h:86
Aws::Personalize::Model::EventTrackerSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: EventTrackerSummary.h:138
Aws::Personalize::Model::EventTrackerSummary::WithLastUpdatedDateTime
EventTrackerSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: EventTrackerSummary.h:248
Aws::Personalize::Model::EventTrackerSummary::EventTrackerSummary
EventTrackerSummary(Aws::Utils::Json::JsonView jsonValue)
Personalize_EXPORTS.h
Aws::Personalize::Model::EventTrackerSummary::EventTrackerSummary
EventTrackerSummary()