AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
52 template<typename NameT = Aws::String>
53 EventTrackerSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
55
57
60 inline const Aws::String& GetEventTrackerArn() const { return m_eventTrackerArn; }
61 inline bool EventTrackerArnHasBeenSet() const { return m_eventTrackerArnHasBeenSet; }
62 template<typename EventTrackerArnT = Aws::String>
63 void SetEventTrackerArn(EventTrackerArnT&& value) { m_eventTrackerArnHasBeenSet = true; m_eventTrackerArn = std::forward<EventTrackerArnT>(value); }
64 template<typename EventTrackerArnT = Aws::String>
65 EventTrackerSummary& WithEventTrackerArn(EventTrackerArnT&& value) { SetEventTrackerArn(std::forward<EventTrackerArnT>(value)); return *this;}
67
69
75 inline const Aws::String& GetStatus() const { return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 template<typename StatusT = Aws::String>
78 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
79 template<typename StatusT = Aws::String>
80 EventTrackerSummary& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
88 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
89 template<typename CreationDateTimeT = Aws::Utils::DateTime>
90 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
91 template<typename CreationDateTimeT = Aws::Utils::DateTime>
92 EventTrackerSummary& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
94
96
99 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
100 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
101 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
102 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
103 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
104 EventTrackerSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
106 private:
107
108 Aws::String m_name;
109 bool m_nameHasBeenSet = false;
110
111 Aws::String m_eventTrackerArn;
112 bool m_eventTrackerArnHasBeenSet = false;
113
114 Aws::String m_status;
115 bool m_statusHasBeenSet = false;
116
117 Aws::Utils::DateTime m_creationDateTime{};
118 bool m_creationDateTimeHasBeenSet = false;
119
120 Aws::Utils::DateTime m_lastUpdatedDateTime{};
121 bool m_lastUpdatedDateTimeHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace Personalize
126} // namespace Aws
AWS_PERSONALIZE_API EventTrackerSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
EventTrackerSummary & WithName(NameT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
AWS_PERSONALIZE_API EventTrackerSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API EventTrackerSummary()=default
void SetCreationDateTime(CreationDateTimeT &&value)
EventTrackerSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
EventTrackerSummary & WithStatus(StatusT &&value)
EventTrackerSummary & WithEventTrackerArn(EventTrackerArnT &&value)
EventTrackerSummary & WithCreationDateTime(CreationDateTimeT &&value)
void SetEventTrackerArn(EventTrackerArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue