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
47 template<
typename EventT = Aws::String>
48 void SetEvent(EventT&& value) { m_eventHasBeenSet =
true; m_event = std::forward<EventT>(value); }
49 template<
typename EventT = Aws::String>
59 template<
typename ExternalIdT = Aws::String>
60 void SetExternalId(ExternalIdT&& value) { m_externalIdHasBeenSet =
true; m_externalId = std::forward<ExternalIdT>(value); }
61 template<
typename ExternalIdT = Aws::String>
71 template<
typename TimeT = Aws::Utils::DateTime>
72 void SetTime(TimeT&& value) { m_timeHasBeenSet =
true; m_time = std::forward<TimeT>(value); }
73 template<
typename TimeT = Aws::Utils::DateTime>
83 template<
typename TypeT = Aws::String>
84 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
85 template<
typename TypeT = Aws::String>
91 bool m_eventHasBeenSet =
false;
94 bool m_externalIdHasBeenSet =
false;
97 bool m_timeHasBeenSet =
false;
100 bool m_typeHasBeenSet =
false;
const Aws::String & GetType() const
void SetTime(TimeT &&value)
RepositorySyncEvent & WithTime(TimeT &&value)
bool EventHasBeenSet() const
AWS_CODESTARCONNECTIONS_API RepositorySyncEvent(Aws::Utils::Json::JsonView jsonValue)
void SetExternalId(ExternalIdT &&value)
const Aws::String & GetEvent() const
const Aws::String & GetExternalId() const
bool TimeHasBeenSet() const
bool ExternalIdHasBeenSet() const
AWS_CODESTARCONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODESTARCONNECTIONS_API RepositorySyncEvent()=default
AWS_CODESTARCONNECTIONS_API RepositorySyncEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetType(TypeT &&value)
void SetEvent(EventT &&value)
const Aws::Utils::DateTime & GetTime() const
RepositorySyncEvent & WithExternalId(ExternalIdT &&value)
RepositorySyncEvent & WithEvent(EventT &&value)
bool TypeHasBeenSet() const
RepositorySyncEvent & WithType(TypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue