AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PublishBatchResultEntry.h
1
6#pragma once
7#include <aws/sns/SNS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace SNS
22{
23namespace Model
24{
25
33 {
34 public:
38
39 AWS_SNS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_SNS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline PublishBatchResultEntry& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline PublishBatchResultEntry& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline PublishBatchResultEntry& WithId(const char* value) { SetId(value); return *this;}
56
58
61 inline const Aws::String& GetMessageId() const{ return m_messageId; }
62 inline bool MessageIdHasBeenSet() const { return m_messageIdHasBeenSet; }
63 inline void SetMessageId(const Aws::String& value) { m_messageIdHasBeenSet = true; m_messageId = value; }
64 inline void SetMessageId(Aws::String&& value) { m_messageIdHasBeenSet = true; m_messageId = std::move(value); }
65 inline void SetMessageId(const char* value) { m_messageIdHasBeenSet = true; m_messageId.assign(value); }
66 inline PublishBatchResultEntry& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
67 inline PublishBatchResultEntry& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;}
68 inline PublishBatchResultEntry& WithMessageId(const char* value) { SetMessageId(value); return *this;}
70
72
79 inline const Aws::String& GetSequenceNumber() const{ return m_sequenceNumber; }
80 inline bool SequenceNumberHasBeenSet() const { return m_sequenceNumberHasBeenSet; }
81 inline void SetSequenceNumber(const Aws::String& value) { m_sequenceNumberHasBeenSet = true; m_sequenceNumber = value; }
82 inline void SetSequenceNumber(Aws::String&& value) { m_sequenceNumberHasBeenSet = true; m_sequenceNumber = std::move(value); }
83 inline void SetSequenceNumber(const char* value) { m_sequenceNumberHasBeenSet = true; m_sequenceNumber.assign(value); }
84 inline PublishBatchResultEntry& WithSequenceNumber(const Aws::String& value) { SetSequenceNumber(value); return *this;}
85 inline PublishBatchResultEntry& WithSequenceNumber(Aws::String&& value) { SetSequenceNumber(std::move(value)); return *this;}
86 inline PublishBatchResultEntry& WithSequenceNumber(const char* value) { SetSequenceNumber(value); return *this;}
88 private:
89
90 Aws::String m_id;
91 bool m_idHasBeenSet = false;
92
93 Aws::String m_messageId;
94 bool m_messageIdHasBeenSet = false;
95
96 Aws::String m_sequenceNumber;
97 bool m_sequenceNumberHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace SNS
102} // namespace Aws
void SetSequenceNumber(const Aws::String &value)
void SetId(Aws::String &&value)
AWS_SNS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetId() const
void SetId(const char *value)
PublishBatchResultEntry & WithSequenceNumber(const Aws::String &value)
AWS_SNS_API PublishBatchResultEntry & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SequenceNumberHasBeenSet() const
bool MessageIdHasBeenSet() const
AWS_SNS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetMessageId() const
const Aws::String & GetSequenceNumber() const
void SetSequenceNumber(const char *value)
void SetMessageId(const char *value)
PublishBatchResultEntry & WithSequenceNumber(const char *value)
AWS_SNS_API PublishBatchResultEntry(const Aws::Utils::Xml::XmlNode &xmlNode)
PublishBatchResultEntry & WithSequenceNumber(Aws::String &&value)
bool IdHasBeenSet() const
PublishBatchResultEntry & WithMessageId(Aws::String &&value)
PublishBatchResultEntry & WithMessageId(const Aws::String &value)
void SetMessageId(const Aws::String &value)
PublishBatchResultEntry & WithId(Aws::String &&value)
void SetMessageId(Aws::String &&value)
void SetId(const Aws::String &value)
AWS_SNS_API PublishBatchResultEntry()
PublishBatchResultEntry & WithMessageId(const char *value)
PublishBatchResultEntry & WithId(const Aws::String &value)
PublishBatchResultEntry & WithId(const char *value)
void SetSequenceNumber(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream