7#include <aws/codeconnections/CodeConnections_EXPORTS.h>
8#include <aws/codeconnections/model/SyncBlocker.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/crt/cbor/Cbor.h>
21namespace CodeConnections {
32 AWS_CODECONNECTIONS_API
SyncBlockerSummary(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_CODECONNECTIONS_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
42 template <
typename ResourceNameT = Aws::String>
44 m_resourceNameHasBeenSet =
true;
45 m_resourceName = std::forward<ResourceNameT>(value);
47 template <
typename ResourceNameT = Aws::String>
60 template <
typename ParentResourceNameT = Aws::String>
62 m_parentResourceNameHasBeenSet =
true;
63 m_parentResourceName = std::forward<ParentResourceNameT>(value);
65 template <
typename ParentResourceNameT = Aws::String>
78 template <
typename LatestBlockersT = Aws::Vector<SyncBlocker>>
80 m_latestBlockersHasBeenSet =
true;
81 m_latestBlockers = std::forward<LatestBlockersT>(value);
83 template <
typename LatestBlockersT = Aws::Vector<SyncBlocker>>
88 template <
typename LatestBlockersT = SyncBlocker>
90 m_latestBlockersHasBeenSet =
true;
91 m_latestBlockers.emplace_back(std::forward<LatestBlockersT>(value));
101 bool m_resourceNameHasBeenSet =
false;
102 bool m_parentResourceNameHasBeenSet =
false;
103 bool m_latestBlockersHasBeenSet =
false;
void SetParentResourceName(ParentResourceNameT &&value)
const Aws::String & GetResourceName() const
AWS_CODECONNECTIONS_API SyncBlockerSummary(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CODECONNECTIONS_API SyncBlockerSummary()=default
const Aws::String & GetParentResourceName() const
void SetLatestBlockers(LatestBlockersT &&value)
AWS_CODECONNECTIONS_API SyncBlockerSummary & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetResourceName(ResourceNameT &&value)
SyncBlockerSummary & WithLatestBlockers(LatestBlockersT &&value)
bool ParentResourceNameHasBeenSet() const
bool ResourceNameHasBeenSet() const
AWS_CODECONNECTIONS_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
SyncBlockerSummary & AddLatestBlockers(LatestBlockersT &&value)
const Aws::Vector< SyncBlocker > & GetLatestBlockers() const
SyncBlockerSummary & WithParentResourceName(ParentResourceNameT &&value)
bool LatestBlockersHasBeenSet() const
SyncBlockerSummary & WithResourceName(ResourceNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector