7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
22namespace CodeStarconnections
48 template<
typename EventT = Aws::String>
49 void SetEvent(EventT&& value) { m_eventHasBeenSet =
true; m_event = std::forward<EventT>(value); }
50 template<
typename EventT = Aws::String>
60 template<
typename ExternalIdT = Aws::String>
61 void SetExternalId(ExternalIdT&& value) { m_externalIdHasBeenSet =
true; m_externalId = std::forward<ExternalIdT>(value); }
62 template<
typename ExternalIdT = Aws::String>
72 template<
typename TimeT = Aws::Utils::DateTime>
73 void SetTime(TimeT&& value) { m_timeHasBeenSet =
true; m_time = std::forward<TimeT>(value); }
74 template<
typename TimeT = Aws::Utils::DateTime>
84 template<
typename TypeT = Aws::String>
85 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
86 template<
typename TypeT = Aws::String>
92 bool m_eventHasBeenSet =
false;
95 bool m_externalIdHasBeenSet =
false;
98 bool m_timeHasBeenSet =
false;
101 bool m_typeHasBeenSet =
false;
void SetTime(TimeT &&value)
AWS_CODESTARCONNECTIONS_API ResourceSyncEvent(Aws::Utils::Json::JsonView jsonValue)
bool ExternalIdHasBeenSet() const
void SetEvent(EventT &&value)
ResourceSyncEvent & WithExternalId(ExternalIdT &&value)
AWS_CODESTARCONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
bool TypeHasBeenSet() const
bool EventHasBeenSet() const
const Aws::Utils::DateTime & GetTime() const
const Aws::String & GetExternalId() const
const Aws::String & GetEvent() const
ResourceSyncEvent & WithEvent(EventT &&value)
const Aws::String & GetType() const
ResourceSyncEvent & WithType(TypeT &&value)
AWS_CODESTARCONNECTIONS_API ResourceSyncEvent()=default
void SetExternalId(ExternalIdT &&value)
bool TimeHasBeenSet() const
ResourceSyncEvent & WithTime(TimeT &&value)
void SetType(TypeT &&value)
AWS_CODESTARCONNECTIONS_API ResourceSyncEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue