7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/codepipeline/model/EncryptionKeyType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/crt/cbor/Cbor.h>
20namespace CodePipeline {
33 AWS_CODEPIPELINE_API
EncryptionKey(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_CODEPIPELINE_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
49 template <
typename IdT = Aws::String>
51 m_idHasBeenSet =
true;
52 m_id = std::forward<IdT>(value);
54 template <
typename IdT = Aws::String>
56 SetId(std::forward<IdT>(value));
69 m_typeHasBeenSet =
true;
81 bool m_idHasBeenSet =
false;
82 bool m_typeHasBeenSet =
false;
EncryptionKey & WithType(EncryptionKeyType value)
void SetType(EncryptionKeyType value)
const Aws::String & GetId() const
AWS_CODEPIPELINE_API EncryptionKey(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CODEPIPELINE_API EncryptionKey()=default
bool TypeHasBeenSet() const
EncryptionKey & WithId(IdT &&value)
EncryptionKeyType GetType() const
AWS_CODEPIPELINE_API EncryptionKey & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool IdHasBeenSet() const
AWS_CODEPIPELINE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String