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
91 bool m_startedAtHasBeenSet =
false;
94 bool m_statusHasBeenSet =
false;
97 bool m_eventsHasBeenSet =
false;
RepositorySyncAttempt & AddEvents(const RepositorySyncEvent &value)
RepositorySyncAttempt & AddEvents(RepositorySyncEvent &&value)
const RepositorySyncStatus & GetStatus() const
bool StartedAtHasBeenSet() const
bool EventsHasBeenSet() const
void SetEvents(Aws::Vector< RepositorySyncEvent > &&value)
RepositorySyncAttempt & WithEvents(const Aws::Vector< RepositorySyncEvent > &value)
const Aws::Vector< RepositorySyncEvent > & GetEvents() const
RepositorySyncAttempt & WithStartedAt(Aws::Utils::DateTime &&value)
void SetStatus(const RepositorySyncStatus &value)
AWS_CODESTARCONNECTIONS_API RepositorySyncAttempt(Aws::Utils::Json::JsonView jsonValue)
void SetStartedAt(Aws::Utils::DateTime &&value)
AWS_CODESTARCONNECTIONS_API RepositorySyncAttempt & operator=(Aws::Utils::Json::JsonView jsonValue)
RepositorySyncAttempt & WithEvents(Aws::Vector< RepositorySyncEvent > &&value)
RepositorySyncAttempt & WithStartedAt(const Aws::Utils::DateTime &value)
void SetStatus(RepositorySyncStatus &&value)
void SetStartedAt(const Aws::Utils::DateTime &value)
AWS_CODESTARCONNECTIONS_API RepositorySyncAttempt()
AWS_CODESTARCONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
bool StatusHasBeenSet() const
RepositorySyncAttempt & WithStatus(RepositorySyncStatus &&value)
void SetEvents(const Aws::Vector< RepositorySyncEvent > &value)
const Aws::Utils::DateTime & GetStartedAt() const
RepositorySyncAttempt & WithStatus(const RepositorySyncStatus &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue