7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/codestar-connections/model/BlockerStatus.h>
9#include <aws/codestar-connections/model/BlockerType.h>
10#include <aws/codestar-connections/model/SyncBlockerContext.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
24namespace CodeStarconnections {
45 template <
typename IdT = Aws::String>
47 m_idHasBeenSet =
true;
48 m_id = std::forward<IdT>(value);
50 template <
typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
64 m_typeHasBeenSet =
true;
80 m_statusHasBeenSet =
true;
95 template <
typename CreatedReasonT = Aws::String>
97 m_createdReasonHasBeenSet =
true;
98 m_createdReason = std::forward<CreatedReasonT>(value);
100 template <
typename CreatedReasonT = Aws::String>
113 template <
typename CreatedAtT = Aws::Utils::DateTime>
115 m_createdAtHasBeenSet =
true;
116 m_createdAt = std::forward<CreatedAtT>(value);
118 template <
typename CreatedAtT = Aws::Utils::DateTime>
131 template <
typename ContextsT = Aws::Vector<SyncBlockerContext>>
133 m_contextsHasBeenSet =
true;
134 m_contexts = std::forward<ContextsT>(value);
136 template <
typename ContextsT = Aws::Vector<SyncBlockerContext>>
141 template <
typename ContextsT = SyncBlockerContext>
143 m_contextsHasBeenSet =
true;
144 m_contexts.emplace_back(std::forward<ContextsT>(value));
155 template <
typename ResolvedReasonT = Aws::String>
157 m_resolvedReasonHasBeenSet =
true;
158 m_resolvedReason = std::forward<ResolvedReasonT>(value);
160 template <
typename ResolvedReasonT = Aws::String>
173 template <
typename ResolvedAtT = Aws::Utils::DateTime>
175 m_resolvedAtHasBeenSet =
true;
176 m_resolvedAt = std::forward<ResolvedAtT>(value);
178 template <
typename ResolvedAtT = Aws::Utils::DateTime>
200 bool m_idHasBeenSet =
false;
201 bool m_typeHasBeenSet =
false;
202 bool m_statusHasBeenSet =
false;
203 bool m_createdReasonHasBeenSet =
false;
204 bool m_createdAtHasBeenSet =
false;
205 bool m_contextsHasBeenSet =
false;
206 bool m_resolvedReasonHasBeenSet =
false;
207 bool m_resolvedAtHasBeenSet =
false;
AWS_CODESTARCONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
SyncBlocker & WithResolvedAt(ResolvedAtT &&value)
bool CreatedReasonHasBeenSet() const
AWS_CODESTARCONNECTIONS_API SyncBlocker & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CreatedAtHasBeenSet() const
void SetCreatedReason(CreatedReasonT &&value)
bool ContextsHasBeenSet() const
SyncBlocker & WithStatus(BlockerStatus value)
const Aws::String & GetId() const
SyncBlocker & WithId(IdT &&value)
bool StatusHasBeenSet() const
void SetResolvedAt(ResolvedAtT &&value)
SyncBlocker & WithCreatedAt(CreatedAtT &&value)
void SetResolvedReason(ResolvedReasonT &&value)
SyncBlocker & AddContexts(ContextsT &&value)
const Aws::Vector< SyncBlockerContext > & GetContexts() const
bool ResolvedReasonHasBeenSet() const
AWS_CODESTARCONNECTIONS_API SyncBlocker()=default
void SetContexts(ContextsT &&value)
const Aws::String & GetCreatedReason() const
SyncBlocker & WithContexts(ContextsT &&value)
bool IdHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetResolvedReason() const
void SetStatus(BlockerStatus value)
SyncBlocker & WithCreatedReason(CreatedReasonT &&value)
SyncBlocker & WithType(BlockerType value)
BlockerStatus GetStatus() const
void SetType(BlockerType value)
bool TypeHasBeenSet() const
BlockerType GetType() const
const Aws::Utils::DateTime & GetResolvedAt() const
AWS_CODESTARCONNECTIONS_API SyncBlocker(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedAt(CreatedAtT &&value)
SyncBlocker & WithResolvedReason(ResolvedReasonT &&value)
bool ResolvedAtHasBeenSet() 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