7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sns/SNS_EXPORTS.h>
43 template <
typename IdT = Aws::String>
45 m_idHasBeenSet =
true;
46 m_id = std::forward<IdT>(value);
48 template <
typename IdT = Aws::String>
50 SetId(std::forward<IdT>(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));
79 template <
typename MessageT = Aws::String>
81 m_messageHasBeenSet =
true;
82 m_message = std::forward<MessageT>(value);
84 template <
typename MessageT = Aws::String>
99 m_senderFaultHasBeenSet =
true;
100 m_senderFault = value;
114 bool m_senderFault{
false};
115 bool m_idHasBeenSet =
false;
116 bool m_codeHasBeenSet =
false;
117 bool m_messageHasBeenSet =
false;
118 bool m_senderFaultHasBeenSet =
false;
BatchResultErrorEntry & WithCode(CodeT &&value)
void SetMessage(MessageT &&value)
const Aws::String & GetMessage() const
AWS_SNS_API BatchResultErrorEntry & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SNS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetSenderFault(bool value)
BatchResultErrorEntry & WithMessage(MessageT &&value)
bool MessageHasBeenSet() const
AWS_SNS_API BatchResultErrorEntry(const Aws::Utils::Xml::XmlNode &xmlNode)
bool GetSenderFault() const
BatchResultErrorEntry & WithId(IdT &&value)
AWS_SNS_API BatchResultErrorEntry()=default
bool CodeHasBeenSet() const
BatchResultErrorEntry & WithSenderFault(bool value)
void SetCode(CodeT &&value)
bool IdHasBeenSet() const
const Aws::String & GetCode() const
bool SenderFaultHasBeenSet() const
AWS_SNS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream