7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/proton/model/BlockerStatus.h>
12#include <aws/proton/model/BlockerType.h>
13#include <aws/proton/model/SyncBlockerContext.h>
51 template<
typename ContextsT = Aws::Vector<SyncBlockerContext>>
52 void SetContexts(ContextsT&& value) { m_contextsHasBeenSet =
true; m_contexts = std::forward<ContextsT>(value); }
53 template<
typename ContextsT = Aws::Vector<SyncBlockerContext>>
55 template<
typename ContextsT = SyncBlockerContext>
56 SyncBlocker&
AddContexts(ContextsT&& value) { m_contextsHasBeenSet =
true; m_contexts.emplace_back(std::forward<ContextsT>(value));
return *
this; }
65 template<
typename CreatedAtT = Aws::Utils::DateTime>
66 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
67 template<
typename CreatedAtT = Aws::Utils::DateTime>
77 template<
typename CreatedReasonT = Aws::String>
78 void SetCreatedReason(CreatedReasonT&& value) { m_createdReasonHasBeenSet =
true; m_createdReason = std::forward<CreatedReasonT>(value); }
79 template<
typename CreatedReasonT = Aws::String>
89 template<
typename IdT = Aws::String>
90 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
91 template<
typename IdT = Aws::String>
101 template<
typename ResolvedAtT = Aws::Utils::DateTime>
102 void SetResolvedAt(ResolvedAtT&& value) { m_resolvedAtHasBeenSet =
true; m_resolvedAt = std::forward<ResolvedAtT>(value); }
103 template<
typename ResolvedAtT = Aws::Utils::DateTime>
113 template<
typename ResolvedReasonT = Aws::String>
114 void SetResolvedReason(ResolvedReasonT&& value) { m_resolvedReasonHasBeenSet =
true; m_resolvedReason = std::forward<ResolvedReasonT>(value); }
115 template<
typename ResolvedReasonT = Aws::String>
141 bool m_contextsHasBeenSet =
false;
144 bool m_createdAtHasBeenSet =
false;
147 bool m_createdReasonHasBeenSet =
false;
150 bool m_idHasBeenSet =
false;
153 bool m_resolvedAtHasBeenSet =
false;
156 bool m_resolvedReasonHasBeenSet =
false;
159 bool m_statusHasBeenSet =
false;
162 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