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/BlockerStatus.h>
12#include <aws/proton/model/BlockerType.h>
13#include <aws/proton/model/SyncBlockerContext.h>
45 template <
typename ContextsT = Aws::Vector<SyncBlockerContext>>
47 m_contextsHasBeenSet =
true;
48 m_contexts = std::forward<ContextsT>(value);
50 template <
typename ContextsT = Aws::Vector<SyncBlockerContext>>
55 template <
typename ContextsT = SyncBlockerContext>
57 m_contextsHasBeenSet =
true;
58 m_contexts.emplace_back(std::forward<ContextsT>(value));
69 template <
typename CreatedAtT = Aws::Utils::DateTime>
71 m_createdAtHasBeenSet =
true;
72 m_createdAt = std::forward<CreatedAtT>(value);
74 template <
typename CreatedAtT = Aws::Utils::DateTime>
87 template <
typename CreatedReasonT = Aws::String>
89 m_createdReasonHasBeenSet =
true;
90 m_createdReason = std::forward<CreatedReasonT>(value);
92 template <
typename CreatedReasonT = Aws::String>
105 template <
typename IdT = Aws::String>
107 m_idHasBeenSet =
true;
108 m_id = std::forward<IdT>(value);
110 template <
typename IdT = Aws::String>
112 SetId(std::forward<IdT>(value));
123 template <
typename ResolvedAtT = Aws::Utils::DateTime>
125 m_resolvedAtHasBeenSet =
true;
126 m_resolvedAt = std::forward<ResolvedAtT>(value);
128 template <
typename ResolvedAtT = Aws::Utils::DateTime>
141 template <
typename ResolvedReasonT = Aws::String>
143 m_resolvedReasonHasBeenSet =
true;
144 m_resolvedReason = std::forward<ResolvedReasonT>(value);
146 template <
typename ResolvedReasonT = Aws::String>
160 m_statusHasBeenSet =
true;
176 m_typeHasBeenSet =
true;
200 bool m_contextsHasBeenSet =
false;
201 bool m_createdAtHasBeenSet =
false;
202 bool m_createdReasonHasBeenSet =
false;
203 bool m_idHasBeenSet =
false;
204 bool m_resolvedAtHasBeenSet =
false;
205 bool m_resolvedReasonHasBeenSet =
false;
206 bool m_statusHasBeenSet =
false;
207 bool m_typeHasBeenSet =
false;
void SetType(BlockerType value)
void SetResolvedReason(ResolvedReasonT &&value)
BlockerType GetType() const
void SetResolvedAt(ResolvedAtT &&value)
void SetCreatedReason(CreatedReasonT &&value)
void SetStatus(BlockerStatus value)
AWS_PROTON_API SyncBlocker()=default
bool ContextsHasBeenSet() const
bool TypeHasBeenSet() const
const Aws::Utils::DateTime & GetResolvedAt() const
bool IdHasBeenSet() const
SyncBlocker & WithResolvedAt(ResolvedAtT &&value)
const Aws::Vector< SyncBlockerContext > & GetContexts() const
const Aws::String & GetResolvedReason() const
AWS_PROTON_API SyncBlocker(Aws::Utils::Json::JsonView jsonValue)
void SetContexts(ContextsT &&value)
AWS_PROTON_API SyncBlocker & operator=(Aws::Utils::Json::JsonView jsonValue)
BlockerStatus GetStatus() const
bool ResolvedAtHasBeenSet() const
SyncBlocker & WithContexts(ContextsT &&value)
SyncBlocker & AddContexts(ContextsT &&value)
SyncBlocker & WithStatus(BlockerStatus value)
const Aws::String & GetCreatedReason() const
bool CreatedAtHasBeenSet() const
SyncBlocker & WithResolvedReason(ResolvedReasonT &&value)
SyncBlocker & WithId(IdT &&value)
void SetCreatedAt(CreatedAtT &&value)
SyncBlocker & WithCreatedReason(CreatedReasonT &&value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
bool ResolvedReasonHasBeenSet() const
SyncBlocker & WithCreatedAt(CreatedAtT &&value)
SyncBlocker & WithType(BlockerType value)
const Aws::String & GetId() const
bool CreatedReasonHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
bool StatusHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue