7#include <aws/codeconnections/CodeConnections_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codeconnections/model/BlockerType.h>
10#include <aws/codeconnections/model/BlockerStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/codeconnections/model/SyncBlockerContext.h>
26namespace CodeConnections
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;
SyncBlocker & WithResolvedReason(Aws::String &&value)
AWS_CODECONNECTIONS_API SyncBlocker(Aws::Utils::Json::JsonView jsonValue)
AWS_CODECONNECTIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(BlockerType &&value)
void SetId(Aws::String &&value)
SyncBlocker & WithId(Aws::String &&value)
SyncBlocker & WithCreatedAt(Aws::Utils::DateTime &&value)
SyncBlocker & WithType(const BlockerType &value)
bool ResolvedAtHasBeenSet() const
SyncBlocker & WithContexts(const Aws::Vector< SyncBlockerContext > &value)
SyncBlocker & WithResolvedReason(const char *value)
SyncBlocker & WithCreatedReason(const Aws::String &value)
const Aws::Utils::DateTime & GetResolvedAt() const
void SetId(const Aws::String &value)
bool IdHasBeenSet() const
void SetResolvedAt(Aws::Utils::DateTime &&value)
SyncBlocker & WithCreatedReason(const char *value)
void SetResolvedReason(Aws::String &&value)
SyncBlocker & WithStatus(const BlockerStatus &value)
AWS_CODECONNECTIONS_API SyncBlocker & operator=(Aws::Utils::Json::JsonView jsonValue)
SyncBlocker & WithContexts(Aws::Vector< SyncBlockerContext > &&value)
const Aws::String & GetCreatedReason() const
SyncBlocker & WithResolvedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetId() const
void SetContexts(Aws::Vector< SyncBlockerContext > &&value)
bool ResolvedReasonHasBeenSet() const
SyncBlocker & WithCreatedReason(Aws::String &&value)
bool StatusHasBeenSet() const
void SetStatus(BlockerStatus &&value)
const Aws::String & GetResolvedReason() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetCreatedReason(Aws::String &&value)
SyncBlocker & WithType(BlockerType &&value)
bool CreatedAtHasBeenSet() const
SyncBlocker & WithResolvedAt(Aws::Utils::DateTime &&value)
void SetResolvedAt(const Aws::Utils::DateTime &value)
SyncBlocker & WithResolvedReason(const Aws::String &value)
const Aws::Vector< SyncBlockerContext > & GetContexts() const
void SetCreatedReason(const Aws::String &value)
SyncBlocker & WithStatus(BlockerStatus &&value)
SyncBlocker & WithId(const Aws::String &value)
void SetContexts(const Aws::Vector< SyncBlockerContext > &value)
void SetResolvedReason(const Aws::String &value)
void SetResolvedReason(const char *value)
bool TypeHasBeenSet() const
const BlockerStatus & GetStatus() const
bool ContextsHasBeenSet() const
SyncBlocker & WithId(const char *value)
AWS_CODECONNECTIONS_API SyncBlocker()
SyncBlocker & AddContexts(SyncBlockerContext &&value)
void SetCreatedReason(const char *value)
void SetStatus(const BlockerStatus &value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetType(const BlockerType &value)
const BlockerType & GetType() const
void SetId(const char *value)
bool CreatedReasonHasBeenSet() const
SyncBlocker & WithCreatedAt(const Aws::Utils::DateTime &value)
SyncBlocker & AddContexts(const SyncBlockerContext &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