7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace CodeStarconnections {
41 template <
typename EventT = Aws::String>
43 m_eventHasBeenSet =
true;
44 m_event = std::forward<EventT>(value);
46 template <
typename EventT = Aws::String>
48 SetEvent(std::forward<EventT>(value));
59 template <
typename ExternalIdT = Aws::String>
61 m_externalIdHasBeenSet =
true;
62 m_externalId = std::forward<ExternalIdT>(value);
64 template <
typename ExternalIdT = Aws::String>
77 template <
typename TimeT = Aws::Utils::DateTime>
79 m_timeHasBeenSet =
true;
80 m_time = std::forward<TimeT>(value);
82 template <
typename TimeT = Aws::Utils::DateTime>
84 SetTime(std::forward<TimeT>(value));
95 template <
typename TypeT = Aws::String>
97 m_typeHasBeenSet =
true;
98 m_type = std::forward<TypeT>(value);
100 template <
typename TypeT = Aws::String>
102 SetType(std::forward<TypeT>(value));
114 bool m_eventHasBeenSet =
false;
115 bool m_externalIdHasBeenSet =
false;
116 bool m_timeHasBeenSet =
false;
117 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