/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Detail data for a repository sync attempt activated by a push to a
* repository.See Also:
AWS
* API Reference
Detail data for sync attempt events.
*/ inline const Aws::VectorDetail data for sync attempt events.
*/ inline bool EventsHasBeenSet() const { return m_eventsHasBeenSet; } /** *Detail data for sync attempt events.
*/ inline void SetEvents(const Aws::VectorDetail data for sync attempt events.
*/ inline void SetEvents(Aws::VectorDetail data for sync attempt events.
*/ inline RepositorySyncAttempt& WithEvents(const Aws::VectorDetail data for sync attempt events.
*/ inline RepositorySyncAttempt& WithEvents(Aws::VectorDetail data for sync attempt events.
*/ inline RepositorySyncAttempt& AddEvents(const RepositorySyncEvent& value) { m_eventsHasBeenSet = true; m_events.push_back(value); return *this; } /** *Detail data for sync attempt events.
*/ inline RepositorySyncAttempt& AddEvents(RepositorySyncEvent&& value) { m_eventsHasBeenSet = true; m_events.push_back(std::move(value)); return *this; } /** *The time when the sync attempt started.
*/ inline const Aws::Utils::DateTime& GetStartedAt() const{ return m_startedAt; } /** *The time when the sync attempt started.
*/ inline bool StartedAtHasBeenSet() const { return m_startedAtHasBeenSet; } /** *The time when the sync attempt started.
*/ inline void SetStartedAt(const Aws::Utils::DateTime& value) { m_startedAtHasBeenSet = true; m_startedAt = value; } /** *The time when the sync attempt started.
*/ inline void SetStartedAt(Aws::Utils::DateTime&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::move(value); } /** *The time when the sync attempt started.
*/ inline RepositorySyncAttempt& WithStartedAt(const Aws::Utils::DateTime& value) { SetStartedAt(value); return *this;} /** *The time when the sync attempt started.
*/ inline RepositorySyncAttempt& WithStartedAt(Aws::Utils::DateTime&& value) { SetStartedAt(std::move(value)); return *this;} /** *The sync attempt status.
*/ inline const RepositorySyncStatus& GetStatus() const{ return m_status; } /** *The sync attempt status.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The sync attempt status.
*/ inline void SetStatus(const RepositorySyncStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The sync attempt status.
*/ inline void SetStatus(RepositorySyncStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The sync attempt status.
*/ inline RepositorySyncAttempt& WithStatus(const RepositorySyncStatus& value) { SetStatus(value); return *this;} /** *The sync attempt status.
*/ inline RepositorySyncAttempt& WithStatus(RepositorySyncStatus&& value) { SetStatus(std::move(value)); return *this;} private: Aws::Vector