7#include <aws/codestar-connections/CodeStarconnections_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codestar-connections/model/BlockerType.h>
10#include <aws/codestar-connections/model/BlockerStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/codestar-connections/model/SyncBlockerContext.h>
26namespace CodeStarconnections
52 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
53 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
91 inline void SetCreatedReason(
const char* value) { m_createdReasonHasBeenSet =
true; m_createdReason.assign(value); }
131 inline void SetResolvedReason(
const char* value) { m_resolvedReasonHasBeenSet =
true; m_resolvedReason.assign(value); }
151 bool m_idHasBeenSet =
false;
154 bool m_typeHasBeenSet =
false;
157 bool m_statusHasBeenSet =
false;
160 bool m_createdReasonHasBeenSet =
false;
163 bool m_createdAtHasBeenSet =
false;
166 bool m_contextsHasBeenSet =
false;
169 bool m_resolvedReasonHasBeenSet =
false;
172 bool m_resolvedAtHasBeenSet =
false;
AWS_CODESTARCONNECTIONS_API SyncBlocker()
void SetResolvedReason(Aws::String &&value)
SyncBlocker & WithResolvedReason(const char *value)
void SetCreatedReason(const char *value)
AWS_CODESTARCONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
SyncBlocker & WithContexts(const Aws::Vector< SyncBlockerContext > &value)
bool CreatedReasonHasBeenSet() const
void SetResolvedReason(const char *value)
AWS_CODESTARCONNECTIONS_API SyncBlocker & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CreatedAtHasBeenSet() const
void SetContexts(Aws::Vector< SyncBlockerContext > &&value)
void SetStatus(BlockerStatus &&value)
void SetResolvedReason(const Aws::String &value)
SyncBlocker & WithResolvedAt(const Aws::Utils::DateTime &value)
SyncBlocker & WithCreatedReason(Aws::String &&value)
bool ContextsHasBeenSet() const
SyncBlocker & WithId(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
SyncBlocker & WithResolvedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetId() const
bool StatusHasBeenSet() const
const BlockerType & GetType() const
void SetId(Aws::String &&value)
SyncBlocker & WithType(BlockerType &&value)
SyncBlocker & WithType(const BlockerType &value)
void SetCreatedReason(Aws::String &&value)
void SetResolvedAt(const Aws::Utils::DateTime &value)
SyncBlocker & WithId(const Aws::String &value)
SyncBlocker & WithContexts(Aws::Vector< SyncBlockerContext > &&value)
SyncBlocker & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::Vector< SyncBlockerContext > & GetContexts() const
void SetResolvedAt(Aws::Utils::DateTime &&value)
bool ResolvedReasonHasBeenSet() const
void SetType(const BlockerType &value)
SyncBlocker & AddContexts(const SyncBlockerContext &value)
SyncBlocker & WithResolvedReason(Aws::String &&value)
const Aws::String & GetCreatedReason() const
bool IdHasBeenSet() const
SyncBlocker & WithStatus(const BlockerStatus &value)
const Aws::Utils::DateTime & GetCreatedAt() const
const BlockerStatus & GetStatus() const
const Aws::String & GetResolvedReason() const
void SetType(BlockerType &&value)
void SetContexts(const Aws::Vector< SyncBlockerContext > &value)
SyncBlocker & WithCreatedReason(const Aws::String &value)
void SetId(const char *value)
SyncBlocker & WithCreatedAt(const Aws::Utils::DateTime &value)
SyncBlocker & WithCreatedReason(const char *value)
void SetId(const Aws::String &value)
SyncBlocker & AddContexts(SyncBlockerContext &&value)
void SetStatus(const BlockerStatus &value)
SyncBlocker & WithStatus(BlockerStatus &&value)
bool TypeHasBeenSet() const
const Aws::Utils::DateTime & GetResolvedAt() const
AWS_CODESTARCONNECTIONS_API SyncBlocker(Aws::Utils::Json::JsonView jsonValue)
SyncBlocker & WithResolvedReason(const Aws::String &value)
SyncBlocker & WithId(Aws::String &&value)
bool ResolvedAtHasBeenSet() const
void SetCreatedReason(const Aws::String &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