7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/codestar-connections/model/Revision.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/codestar-connections/model/ResourceSyncStatus.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/codestar-connections/model/ResourceSyncEvent.h>
26namespace CodeStarconnections
124 inline void SetTarget(
const char* value) { m_targetHasBeenSet =
true; m_target.assign(value); }
132 bool m_eventsHasBeenSet =
false;
135 bool m_initialRevisionHasBeenSet =
false;
138 bool m_startedAtHasBeenSet =
false;
141 bool m_statusHasBeenSet =
false;
144 bool m_targetRevisionHasBeenSet =
false;
147 bool m_targetHasBeenSet =
false;
ResourceSyncAttempt & WithStatus(const ResourceSyncStatus &value)
const Aws::Vector< ResourceSyncEvent > & GetEvents() const
ResourceSyncAttempt & WithTargetRevision(const Revision &value)
void SetStatus(const ResourceSyncStatus &value)
const Revision & GetInitialRevision() const
ResourceSyncAttempt & WithTargetRevision(Revision &&value)
AWS_CODESTARCONNECTIONS_API ResourceSyncAttempt()
void SetTargetRevision(const Revision &value)
ResourceSyncAttempt & AddEvents(ResourceSyncEvent &&value)
AWS_CODESTARCONNECTIONS_API ResourceSyncAttempt(Aws::Utils::Json::JsonView jsonValue)
void SetEvents(Aws::Vector< ResourceSyncEvent > &&value)
ResourceSyncAttempt & WithTarget(const char *value)
const Aws::Utils::DateTime & GetStartedAt() const
void SetStartedAt(const Aws::Utils::DateTime &value)
const ResourceSyncStatus & GetStatus() const
AWS_CODESTARCONNECTIONS_API ResourceSyncAttempt & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTarget(const Aws::String &value)
void SetStatus(ResourceSyncStatus &&value)
ResourceSyncAttempt & WithStatus(ResourceSyncStatus &&value)
const Aws::String & GetTarget() const
ResourceSyncAttempt & WithInitialRevision(const Revision &value)
AWS_CODESTARCONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
ResourceSyncAttempt & WithTarget(Aws::String &&value)
ResourceSyncAttempt & AddEvents(const ResourceSyncEvent &value)
bool TargetRevisionHasBeenSet() const
bool StatusHasBeenSet() const
bool InitialRevisionHasBeenSet() const
ResourceSyncAttempt & WithEvents(Aws::Vector< ResourceSyncEvent > &&value)
void SetTarget(Aws::String &&value)
void SetInitialRevision(const Revision &value)
void SetStartedAt(Aws::Utils::DateTime &&value)
ResourceSyncAttempt & WithEvents(const Aws::Vector< ResourceSyncEvent > &value)
bool StartedAtHasBeenSet() const
void SetEvents(const Aws::Vector< ResourceSyncEvent > &value)
ResourceSyncAttempt & WithInitialRevision(Revision &&value)
ResourceSyncAttempt & WithTarget(const Aws::String &value)
const Revision & GetTargetRevision() const
void SetInitialRevision(Revision &&value)
bool TargetHasBeenSet() const
ResourceSyncAttempt & WithStartedAt(const Aws::Utils::DateTime &value)
void SetTargetRevision(Revision &&value)
bool EventsHasBeenSet() const
void SetTarget(const char *value)
ResourceSyncAttempt & WithStartedAt(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue