7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/proton/model/RepositorySyncStatus.h>
11#include <aws/proton/model/RepositorySyncEvent.h>
50 template<
typename EventsT = Aws::Vector<RepositorySyncEvent>>
51 void SetEvents(EventsT&& value) { m_eventsHasBeenSet =
true; m_events = std::forward<EventsT>(value); }
52 template<
typename EventsT = Aws::Vector<RepositorySyncEvent>>
54 template<
typename EventsT = RepositorySyncEvent>
64 template<
typename StartedAtT = Aws::Utils::DateTime>
65 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet =
true; m_startedAt = std::forward<StartedAtT>(value); }
66 template<
typename StartedAtT = Aws::Utils::DateTime>
82 bool m_eventsHasBeenSet =
false;
85 bool m_startedAtHasBeenSet =
false;
88 bool m_statusHasBeenSet =
false;
void SetStartedAt(StartedAtT &&value)
bool EventsHasBeenSet() const
AWS_PROTON_API RepositorySyncAttempt()=default
void SetStatus(RepositorySyncStatus value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
RepositorySyncAttempt & AddEvents(EventsT &&value)
RepositorySyncStatus GetStatus() const
void SetEvents(EventsT &&value)
const Aws::Utils::DateTime & GetStartedAt() const
bool StatusHasBeenSet() const
const Aws::Vector< RepositorySyncEvent > & GetEvents() const
bool StartedAtHasBeenSet() const
RepositorySyncAttempt & WithStartedAt(StartedAtT &&value)
AWS_PROTON_API RepositorySyncAttempt & operator=(Aws::Utils::Json::JsonView jsonValue)
RepositorySyncAttempt & WithStatus(RepositorySyncStatus value)
RepositorySyncAttempt & WithEvents(EventsT &&value)
AWS_PROTON_API RepositorySyncAttempt(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue