7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/proton/Proton_EXPORTS.h>
10#include <aws/proton/model/RepositorySyncEvent.h>
11#include <aws/proton/model/RepositorySyncStatus.h>
44 template <
typename EventsT = Aws::Vector<RepositorySyncEvent>>
46 m_eventsHasBeenSet =
true;
47 m_events = std::forward<EventsT>(value);
49 template <
typename EventsT = Aws::Vector<RepositorySyncEvent>>
54 template <
typename EventsT = RepositorySyncEvent>
56 m_eventsHasBeenSet =
true;
57 m_events.emplace_back(std::forward<EventsT>(value));
68 template <
typename StartedAtT = Aws::Utils::DateTime>
70 m_startedAtHasBeenSet =
true;
71 m_startedAt = std::forward<StartedAtT>(value);
73 template <
typename StartedAtT = Aws::Utils::DateTime>
87 m_statusHasBeenSet =
true;
101 bool m_eventsHasBeenSet =
false;
102 bool m_startedAtHasBeenSet =
false;
103 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