7#include <aws/assurance/Assurance_EXPORTS.h>
8#include <aws/assurance/model/ControlKey.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/crt/cbor/Cbor.h>
34 AWS_ASSURANCE_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
42 template <
typename KeyT = ControlKey>
44 m_keyHasBeenSet =
true;
45 m_key = std::forward<KeyT>(value);
47 template <
typename KeyT = ControlKey>
49 SetKey(std::forward<KeyT>(value));
61 template <
typename CodeT = Aws::String>
63 m_codeHasBeenSet =
true;
64 m_code = std::forward<CodeT>(value);
66 template <
typename CodeT = Aws::String>
68 SetCode(std::forward<CodeT>(value));
81 template <
typename MessageT = Aws::String>
83 m_messageHasBeenSet =
true;
84 m_message = std::forward<MessageT>(value);
86 template <
typename MessageT = Aws::String>
98 bool m_keyHasBeenSet =
false;
99 bool m_codeHasBeenSet =
false;
100 bool m_messageHasBeenSet =
false;
AWS_ASSURANCE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_ASSURANCE_API BatchGetControlError(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetMessage(MessageT &&value)
const ControlKey & GetKey() const
const Aws::String & GetMessage() const
bool KeyHasBeenSet() const
bool MessageHasBeenSet() const
BatchGetControlError & WithMessage(MessageT &&value)
AWS_ASSURANCE_API BatchGetControlError & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool CodeHasBeenSet() const
void SetKey(KeyT &&value)
AWS_ASSURANCE_API BatchGetControlError()=default
void SetCode(CodeT &&value)
BatchGetControlError & WithCode(CodeT &&value)
BatchGetControlError & WithKey(KeyT &&value)
const Aws::String & GetCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String