7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/ChangeEventType.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
22namespace ApplicationSignals {
46 template <
typename TimestampT = Aws::Utils::DateTime>
48 m_timestampHasBeenSet =
true;
49 m_timestamp = std::forward<TimestampT>(value);
51 template <
typename TimestampT = Aws::Utils::DateTime>
64 template <
typename AccountIdT = Aws::String>
66 m_accountIdHasBeenSet =
true;
67 m_accountId = std::forward<AccountIdT>(value);
69 template <
typename AccountIdT = Aws::String>
82 template <
typename RegionT = Aws::String>
84 m_regionHasBeenSet =
true;
85 m_region = std::forward<RegionT>(value);
87 template <
typename RegionT = Aws::String>
119 template <
typename EntityT = Aws::Map<Aws::String, Aws::String>>
121 m_entityHasBeenSet =
true;
122 m_entity = std::forward<EntityT>(value);
124 template <
typename EntityT = Aws::Map<Aws::String, Aws::String>>
129 template <
typename EntityKeyT = Aws::String,
typename EntityValueT = Aws::String>
131 m_entityHasBeenSet =
true;
132 m_entity.emplace(std::forward<EntityKeyT>(key), std::forward<EntityValueT>(value));
144 m_changeEventTypeHasBeenSet =
true;
145 m_changeEventType = value;
161 template <
typename EventIdT = Aws::String>
163 m_eventIdHasBeenSet =
true;
164 m_eventId = std::forward<EventIdT>(value);
166 template <
typename EventIdT = Aws::String>
179 template <
typename UserNameT = Aws::String>
181 m_userNameHasBeenSet =
true;
182 m_userName = std::forward<UserNameT>(value);
184 template <
typename UserNameT = Aws::String>
197 template <
typename EventNameT = Aws::String>
199 m_eventNameHasBeenSet =
true;
200 m_eventName = std::forward<EventNameT>(value);
202 template <
typename EventNameT = Aws::String>
224 bool m_timestampHasBeenSet =
false;
225 bool m_accountIdHasBeenSet =
false;
226 bool m_regionHasBeenSet =
false;
227 bool m_entityHasBeenSet =
false;
228 bool m_changeEventTypeHasBeenSet =
false;
229 bool m_eventIdHasBeenSet =
false;
230 bool m_userNameHasBeenSet =
false;
231 bool m_eventNameHasBeenSet =
false;
const Aws::String & GetAccountId() const
ChangeEvent & WithRegion(RegionT &&value)
const Aws::Utils::DateTime & GetTimestamp() const
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
bool EventIdHasBeenSet() const
ChangeEventType GetChangeEventType() const
void SetTimestamp(TimestampT &&value)
const Aws::String & GetEventId() const
bool UserNameHasBeenSet() const
ChangeEvent & WithUserName(UserNameT &&value)
bool AccountIdHasBeenSet() const
ChangeEvent & WithChangeEventType(ChangeEventType value)
void SetEntity(EntityT &&value)
void SetChangeEventType(ChangeEventType value)
void SetEventName(EventNameT &&value)
const Aws::String & GetRegion() const
ChangeEvent & WithTimestamp(TimestampT &&value)
AWS_APPLICATIONSIGNALS_API ChangeEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RegionHasBeenSet() const
void SetRegion(RegionT &&value)
bool TimestampHasBeenSet() const
ChangeEvent & AddEntity(EntityKeyT &&key, EntityValueT &&value)
bool EntityHasBeenSet() const
ChangeEvent & WithEntity(EntityT &&value)
AWS_APPLICATIONSIGNALS_API ChangeEvent()=default
void SetUserName(UserNameT &&value)
ChangeEvent & WithEventName(EventNameT &&value)
bool ChangeEventTypeHasBeenSet() const
bool EventNameHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetEntity() const
const Aws::String & GetUserName() const
void SetAccountId(AccountIdT &&value)
AWS_APPLICATIONSIGNALS_API ChangeEvent(Aws::Utils::Json::JsonView jsonValue)
ChangeEvent & WithEventId(EventIdT &&value)
const Aws::String & GetEventName() const
ChangeEvent & WithAccountId(AccountIdT &&value)
void SetEventId(EventIdT &&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