7#include <aws/codepipeline/CodePipeline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
19namespace CodePipeline {
31 AWS_CODEPIPELINE_API
ErrorDetails(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_CODEPIPELINE_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
41 template <
typename CodeT = Aws::String>
43 m_codeHasBeenSet =
true;
44 m_code = std::forward<CodeT>(value);
46 template <
typename CodeT = Aws::String>
48 SetCode(std::forward<CodeT>(value));
59 template <
typename MessageT = Aws::String>
61 m_messageHasBeenSet =
true;
62 m_message = std::forward<MessageT>(value);
64 template <
typename MessageT = Aws::String>
74 bool m_codeHasBeenSet =
false;
75 bool m_messageHasBeenSet =
false;
bool MessageHasBeenSet() const
AWS_CODEPIPELINE_API ErrorDetails()=default
AWS_CODEPIPELINE_API ErrorDetails(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetMessage() const
void SetCode(CodeT &&value)
ErrorDetails & WithCode(CodeT &&value)
void SetMessage(MessageT &&value)
bool CodeHasBeenSet() const
ErrorDetails & WithMessage(MessageT &&value)
AWS_CODEPIPELINE_API ErrorDetails & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CODEPIPELINE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String