7#include <aws/codeconnections/CodeConnections_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/codeconnections/model/RepositorySyncStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/codeconnections/model/RepositorySyncEvent.h>
24namespace CodeConnections
91 bool m_startedAtHasBeenSet =
false;
94 bool m_statusHasBeenSet =
false;
97 bool m_eventsHasBeenSet =
false;
AWS_CODECONNECTIONS_API RepositorySyncAttempt()
bool StatusHasBeenSet() const
AWS_CODECONNECTIONS_API RepositorySyncAttempt(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetStartedAt() const
const Aws::Vector< RepositorySyncEvent > & GetEvents() const
void SetEvents(Aws::Vector< RepositorySyncEvent > &&value)
RepositorySyncAttempt & WithStatus(RepositorySyncStatus &&value)
const RepositorySyncStatus & GetStatus() const
RepositorySyncAttempt & WithStartedAt(const Aws::Utils::DateTime &value)
void SetStartedAt(Aws::Utils::DateTime &&value)
void SetStatus(RepositorySyncStatus &&value)
AWS_CODECONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODECONNECTIONS_API RepositorySyncAttempt & operator=(Aws::Utils::Json::JsonView jsonValue)
RepositorySyncAttempt & AddEvents(const RepositorySyncEvent &value)
RepositorySyncAttempt & WithEvents(const Aws::Vector< RepositorySyncEvent > &value)
void SetStartedAt(const Aws::Utils::DateTime &value)
bool EventsHasBeenSet() const
RepositorySyncAttempt & WithStartedAt(Aws::Utils::DateTime &&value)
void SetEvents(const Aws::Vector< RepositorySyncEvent > &value)
bool StartedAtHasBeenSet() const
void SetStatus(const RepositorySyncStatus &value)
RepositorySyncAttempt & WithEvents(Aws::Vector< RepositorySyncEvent > &&value)
RepositorySyncAttempt & AddEvents(RepositorySyncEvent &&value)
RepositorySyncAttempt & WithStatus(const RepositorySyncStatus &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue