7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/BlockerType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/crt/cbor/Cbor.h>
20namespace CodePipeline {
31 AWS_CODEPIPELINE_API
BlockerDeclaration(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_CODEPIPELINE_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
41 template <
typename NameT = Aws::String>
43 m_nameHasBeenSet =
true;
44 m_name = std::forward<NameT>(value);
46 template <
typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
60 m_typeHasBeenSet =
true;
72 bool m_nameHasBeenSet =
false;
73 bool m_typeHasBeenSet =
false;
BlockerType GetType() const
AWS_CODEPIPELINE_API BlockerDeclaration()=default
AWS_CODEPIPELINE_API BlockerDeclaration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
BlockerDeclaration & WithType(BlockerType value)
bool NameHasBeenSet() const
bool TypeHasBeenSet() const
AWS_CODEPIPELINE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
BlockerDeclaration & WithName(NameT &&value)
AWS_CODEPIPELINE_API BlockerDeclaration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetType(BlockerType value)
const Aws::String & GetName() const
void SetName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String