7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/proton/model/Revision.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/proton/model/ResourceSyncStatus.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/proton/model/ResourceSyncEvent.h>
104 inline void SetTarget(
const char* value) { m_targetHasBeenSet =
true; m_target.assign(value); }
124 bool m_eventsHasBeenSet =
false;
127 bool m_initialRevisionHasBeenSet =
false;
130 bool m_startedAtHasBeenSet =
false;
133 bool m_statusHasBeenSet =
false;
136 bool m_targetHasBeenSet =
false;
139 bool m_targetRevisionHasBeenSet =
false;
void SetTargetRevision(Revision &&value)
void SetStartedAt(const Aws::Utils::DateTime &value)
void SetStartedAt(Aws::Utils::DateTime &&value)
void SetEvents(const Aws::Vector< ResourceSyncEvent > &value)
bool EventsHasBeenSet() const
AWS_PROTON_API ResourceSyncAttempt()
const ResourceSyncStatus & GetStatus() const
ResourceSyncAttempt & WithStartedAt(Aws::Utils::DateTime &&value)
void SetTarget(Aws::String &&value)
ResourceSyncAttempt & WithStatus(ResourceSyncStatus &&value)
void SetInitialRevision(const Revision &value)
void SetTarget(const char *value)
void SetEvents(Aws::Vector< ResourceSyncEvent > &&value)
ResourceSyncAttempt & WithTarget(Aws::String &&value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< ResourceSyncEvent > & GetEvents() const
bool TargetRevisionHasBeenSet() const
bool StartedAtHasBeenSet() const
ResourceSyncAttempt & WithTarget(const char *value)
bool InitialRevisionHasBeenSet() const
ResourceSyncAttempt & WithEvents(const Aws::Vector< ResourceSyncEvent > &value)
void SetTarget(const Aws::String &value)
bool TargetHasBeenSet() const
void SetInitialRevision(Revision &&value)
const Aws::String & GetTarget() const
AWS_PROTON_API ResourceSyncAttempt & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PROTON_API ResourceSyncAttempt(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(ResourceSyncStatus &&value)
ResourceSyncAttempt & WithTargetRevision(Revision &&value)
ResourceSyncAttempt & WithInitialRevision(Revision &&value)
const Revision & GetTargetRevision() const
void SetStatus(const ResourceSyncStatus &value)
ResourceSyncAttempt & WithEvents(Aws::Vector< ResourceSyncEvent > &&value)
ResourceSyncAttempt & WithTarget(const Aws::String &value)
ResourceSyncAttempt & WithTargetRevision(const Revision &value)
const Revision & GetInitialRevision() const
const Aws::Utils::DateTime & GetStartedAt() const
ResourceSyncAttempt & AddEvents(ResourceSyncEvent &&value)
bool StatusHasBeenSet() const
ResourceSyncAttempt & WithInitialRevision(const Revision &value)
ResourceSyncAttempt & AddEvents(const ResourceSyncEvent &value)
ResourceSyncAttempt & WithStatus(const ResourceSyncStatus &value)
void SetTargetRevision(const Revision &value)
ResourceSyncAttempt & WithStartedAt(const 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