7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/proton/Proton_EXPORTS.h>
11#include <aws/proton/model/ResourceSyncEvent.h>
12#include <aws/proton/model/ResourceSyncStatus.h>
13#include <aws/proton/model/Revision.h>
46 template <
typename EventsT = Aws::Vector<ResourceSyncEvent>>
48 m_eventsHasBeenSet =
true;
49 m_events = std::forward<EventsT>(value);
51 template <
typename EventsT = Aws::Vector<ResourceSyncEvent>>
56 template <
typename EventsT = ResourceSyncEvent>
58 m_eventsHasBeenSet =
true;
59 m_events.emplace_back(std::forward<EventsT>(value));
70 template <
typename InitialRevisionT = Revision>
72 m_initialRevisionHasBeenSet =
true;
73 m_initialRevision = std::forward<InitialRevisionT>(value);
75 template <
typename InitialRevisionT = Revision>
88 template <
typename StartedAtT = Aws::Utils::DateTime>
90 m_startedAtHasBeenSet =
true;
91 m_startedAt = std::forward<StartedAtT>(value);
93 template <
typename StartedAtT = Aws::Utils::DateTime>
107 m_statusHasBeenSet =
true;
122 template <
typename TargetT = Aws::String>
124 m_targetHasBeenSet =
true;
125 m_target = std::forward<TargetT>(value);
127 template <
typename TargetT = Aws::String>
140 template <
typename TargetRevisionT = Revision>
142 m_targetRevisionHasBeenSet =
true;
143 m_targetRevision = std::forward<TargetRevisionT>(value);
145 template <
typename TargetRevisionT = Revision>
162 Revision m_targetRevision;
163 bool m_eventsHasBeenSet =
false;
164 bool m_initialRevisionHasBeenSet =
false;
165 bool m_startedAtHasBeenSet =
false;
166 bool m_statusHasBeenSet =
false;
167 bool m_targetHasBeenSet =
false;
168 bool m_targetRevisionHasBeenSet =
false;
AWS_PROTON_API ResourceSyncAttempt()=default
bool EventsHasBeenSet() const
void SetTargetRevision(TargetRevisionT &&value)
ResourceSyncAttempt & AddEvents(EventsT &&value)
ResourceSyncAttempt & WithTargetRevision(TargetRevisionT &&value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStatus(ResourceSyncStatus value)
const Aws::Vector< ResourceSyncEvent > & GetEvents() const
void SetEvents(EventsT &&value)
bool TargetRevisionHasBeenSet() const
bool StartedAtHasBeenSet() const
bool InitialRevisionHasBeenSet() const
void SetInitialRevision(InitialRevisionT &&value)
void SetTarget(TargetT &&value)
bool TargetHasBeenSet() const
ResourceSyncAttempt & WithTarget(TargetT &&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)
const Revision & GetTargetRevision() const
ResourceSyncAttempt & WithEvents(EventsT &&value)
ResourceSyncAttempt & WithInitialRevision(InitialRevisionT &&value)
const Revision & GetInitialRevision() const
void SetStartedAt(StartedAtT &&value)
const Aws::Utils::DateTime & GetStartedAt() const
bool StatusHasBeenSet() const
ResourceSyncStatus GetStatus() const
ResourceSyncAttempt & WithStartedAt(StartedAtT &&value)
ResourceSyncAttempt & WithStatus(ResourceSyncStatus 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