AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
EventTriggerSummaryItem.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CustomerProfiles {
22namespace Model {
23
30 public:
31 AWS_CUSTOMERPROFILES_API EventTriggerSummaryItem() = default;
32 AWS_CUSTOMERPROFILES_API EventTriggerSummaryItem(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CUSTOMERPROFILES_API EventTriggerSummaryItem& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetObjectTypeName() const { return m_objectTypeName; }
41 inline bool ObjectTypeNameHasBeenSet() const { return m_objectTypeNameHasBeenSet; }
42 template <typename ObjectTypeNameT = Aws::String>
43 void SetObjectTypeName(ObjectTypeNameT&& value) {
44 m_objectTypeNameHasBeenSet = true;
45 m_objectTypeName = std::forward<ObjectTypeNameT>(value);
46 }
47 template <typename ObjectTypeNameT = Aws::String>
48 EventTriggerSummaryItem& WithObjectTypeName(ObjectTypeNameT&& value) {
49 SetObjectTypeName(std::forward<ObjectTypeNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetEventTriggerName() const { return m_eventTriggerName; }
59 inline bool EventTriggerNameHasBeenSet() const { return m_eventTriggerNameHasBeenSet; }
60 template <typename EventTriggerNameT = Aws::String>
61 void SetEventTriggerName(EventTriggerNameT&& value) {
62 m_eventTriggerNameHasBeenSet = true;
63 m_eventTriggerName = std::forward<EventTriggerNameT>(value);
64 }
65 template <typename EventTriggerNameT = Aws::String>
66 EventTriggerSummaryItem& WithEventTriggerName(EventTriggerNameT&& value) {
67 SetEventTriggerName(std::forward<EventTriggerNameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDescription() const { return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 template <typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) {
80 m_descriptionHasBeenSet = true;
81 m_description = std::forward<DescriptionT>(value);
82 }
83 template <typename DescriptionT = Aws::String>
85 SetDescription(std::forward<DescriptionT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
95 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
96 template <typename CreatedAtT = Aws::Utils::DateTime>
97 void SetCreatedAt(CreatedAtT&& value) {
98 m_createdAtHasBeenSet = true;
99 m_createdAt = std::forward<CreatedAtT>(value);
100 }
101 template <typename CreatedAtT = Aws::Utils::DateTime>
103 SetCreatedAt(std::forward<CreatedAtT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
113 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
114 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
115 void SetLastUpdatedAt(LastUpdatedAtT&& value) {
116 m_lastUpdatedAtHasBeenSet = true;
117 m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value);
118 }
119 template <typename LastUpdatedAtT = Aws::Utils::DateTime>
121 SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
131 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
132 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
133 void SetTags(TagsT&& value) {
134 m_tagsHasBeenSet = true;
135 m_tags = std::forward<TagsT>(value);
136 }
137 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
139 SetTags(std::forward<TagsT>(value));
140 return *this;
141 }
142 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
143 EventTriggerSummaryItem& AddTags(TagsKeyT&& key, TagsValueT&& value) {
144 m_tagsHasBeenSet = true;
145 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
146 return *this;
147 }
149 private:
150 Aws::String m_objectTypeName;
151
152 Aws::String m_eventTriggerName;
153
154 Aws::String m_description;
155
156 Aws::Utils::DateTime m_createdAt{};
157
158 Aws::Utils::DateTime m_lastUpdatedAt{};
159
161 bool m_objectTypeNameHasBeenSet = false;
162 bool m_eventTriggerNameHasBeenSet = false;
163 bool m_descriptionHasBeenSet = false;
164 bool m_createdAtHasBeenSet = false;
165 bool m_lastUpdatedAtHasBeenSet = false;
166 bool m_tagsHasBeenSet = false;
167};
168
169} // namespace Model
170} // namespace CustomerProfiles
171} // namespace Aws
EventTriggerSummaryItem & WithLastUpdatedAt(LastUpdatedAtT &&value)
AWS_CUSTOMERPROFILES_API EventTriggerSummaryItem(Aws::Utils::Json::JsonView jsonValue)
EventTriggerSummaryItem & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_CUSTOMERPROFILES_API EventTriggerSummaryItem & operator=(Aws::Utils::Json::JsonView jsonValue)
EventTriggerSummaryItem & WithDescription(DescriptionT &&value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
EventTriggerSummaryItem & WithEventTriggerName(EventTriggerNameT &&value)
AWS_CUSTOMERPROFILES_API EventTriggerSummaryItem()=default
EventTriggerSummaryItem & WithObjectTypeName(ObjectTypeNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
EventTriggerSummaryItem & WithCreatedAt(CreatedAtT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue