7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qconnect/QConnect_EXPORTS.h>
9#include <aws/qconnect/model/RetrieveErrorCode.h>
45 template <
typename AssociationIdT = Aws::String>
47 m_associationIdHasBeenSet =
true;
48 m_associationId = std::forward<AssociationIdT>(value);
50 template <
typename AssociationIdT = Aws::String>
65 m_codeHasBeenSet =
true;
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_associationIdHasBeenSet =
false;
99 bool m_codeHasBeenSet =
false;
100 bool m_messageHasBeenSet =
false;
RetrieveError & WithAssociationId(AssociationIdT &&value)
void SetMessage(MessageT &&value)
bool AssociationIdHasBeenSet() const
AWS_QCONNECT_API RetrieveError & operator=(Aws::Utils::Json::JsonView jsonValue)
RetrieveErrorCode GetCode() const
bool CodeHasBeenSet() const
RetrieveError & WithMessage(MessageT &&value)
void SetCode(RetrieveErrorCode value)
bool MessageHasBeenSet() const
AWS_QCONNECT_API RetrieveError(Aws::Utils::Json::JsonView jsonValue)
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
RetrieveError & WithCode(RetrieveErrorCode value)
const Aws::String & GetMessage() const
const Aws::String & GetAssociationId() const
void SetAssociationId(AssociationIdT &&value)
AWS_QCONNECT_API RetrieveError()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue