7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/codestar-connections/model/RepositorySyncStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/codestar-connections/model/RepositorySyncEvent.h>
24namespace CodeStarconnections
50 template<
typename StartedAtT = Aws::Utils::DateTime>
51 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet =
true; m_startedAt = std::forward<StartedAtT>(value); }
52 template<
typename StartedAtT = Aws::Utils::DateTime>
79 template<
typename EventsT = Aws::Vector<RepositorySyncEvent>>
80 void SetEvents(EventsT&& value) { m_eventsHasBeenSet =
true; m_events = std::forward<EventsT>(value); }
81 template<
typename EventsT = Aws::Vector<RepositorySyncEvent>>
83 template<
typename EventsT = RepositorySyncEvent>
89 bool m_startedAtHasBeenSet =
false;
92 bool m_statusHasBeenSet =
false;
95 bool m_eventsHasBeenSet =
false;
void SetEvents(EventsT &&value)
bool StartedAtHasBeenSet() const
bool EventsHasBeenSet() const
const Aws::Vector< RepositorySyncEvent > & GetEvents() const
AWS_CODESTARCONNECTIONS_API RepositorySyncAttempt()=default
RepositorySyncStatus GetStatus() const
RepositorySyncAttempt & AddEvents(EventsT &&value)
RepositorySyncAttempt & WithStatus(RepositorySyncStatus value)
AWS_CODESTARCONNECTIONS_API RepositorySyncAttempt(Aws::Utils::Json::JsonView jsonValue)
AWS_CODESTARCONNECTIONS_API RepositorySyncAttempt & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStartedAt(StartedAtT &&value)
AWS_CODESTARCONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
bool StatusHasBeenSet() const
RepositorySyncAttempt & WithStartedAt(StartedAtT &&value)
const Aws::Utils::DateTime & GetStartedAt() const
void SetStatus(RepositorySyncStatus value)
RepositorySyncAttempt & WithEvents(EventsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue