AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EventTrackerSummary.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
36 {
37 public:
38 AWS_PERSONALIZE_API EventTrackerSummary();
39 AWS_PERSONALIZE_API EventTrackerSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetName() const{ return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline EventTrackerSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline EventTrackerSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline EventTrackerSummary& WithName(const char* value) { SetName(value); return *this;}
57
59
62 inline const Aws::String& GetEventTrackerArn() const{ return m_eventTrackerArn; }
63 inline bool EventTrackerArnHasBeenSet() const { return m_eventTrackerArnHasBeenSet; }
64 inline void SetEventTrackerArn(const Aws::String& value) { m_eventTrackerArnHasBeenSet = true; m_eventTrackerArn = value; }
65 inline void SetEventTrackerArn(Aws::String&& value) { m_eventTrackerArnHasBeenSet = true; m_eventTrackerArn = std::move(value); }
66 inline void SetEventTrackerArn(const char* value) { m_eventTrackerArnHasBeenSet = true; m_eventTrackerArn.assign(value); }
67 inline EventTrackerSummary& WithEventTrackerArn(const Aws::String& value) { SetEventTrackerArn(value); return *this;}
68 inline EventTrackerSummary& WithEventTrackerArn(Aws::String&& value) { SetEventTrackerArn(std::move(value)); return *this;}
69 inline EventTrackerSummary& WithEventTrackerArn(const char* value) { SetEventTrackerArn(value); return *this;}
71
73
79 inline const Aws::String& GetStatus() const{ return m_status; }
80 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
81 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
82 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
83 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
84 inline EventTrackerSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
85 inline EventTrackerSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
86 inline EventTrackerSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
94 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
95 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
96 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
98 inline EventTrackerSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
106 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
107 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
108 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
112 private:
113
114 Aws::String m_name;
115 bool m_nameHasBeenSet = false;
116
117 Aws::String m_eventTrackerArn;
118 bool m_eventTrackerArnHasBeenSet = false;
119
120 Aws::String m_status;
121 bool m_statusHasBeenSet = false;
122
123 Aws::Utils::DateTime m_creationDateTime;
124 bool m_creationDateTimeHasBeenSet = false;
125
126 Aws::Utils::DateTime m_lastUpdatedDateTime;
127 bool m_lastUpdatedDateTimeHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace Personalize
132} // namespace Aws
EventTrackerSummary & WithStatus(const Aws::String &value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
AWS_PERSONALIZE_API EventTrackerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
EventTrackerSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
EventTrackerSummary & WithName(Aws::String &&value)
EventTrackerSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
EventTrackerSummary & WithEventTrackerArn(Aws::String &&value)
EventTrackerSummary & WithEventTrackerArn(const char *value)
const Aws::Utils::DateTime & GetCreationDateTime() const
EventTrackerSummary & WithStatus(const char *value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
EventTrackerSummary & WithName(const char *value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PERSONALIZE_API EventTrackerSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
EventTrackerSummary & WithEventTrackerArn(const Aws::String &value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
EventTrackerSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetEventTrackerArn(const Aws::String &value)
EventTrackerSummary & WithStatus(Aws::String &&value)
EventTrackerSummary & WithName(const Aws::String &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
EventTrackerSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue