AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PublishResult.h
1
6#pragma once
7#include <aws/sns/SNS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sns/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace SNS
25{
26namespace Model
27{
34 {
35 public:
36 AWS_SNS_API PublishResult();
39
40
42
46 inline const Aws::String& GetMessageId() const{ return m_messageId; }
47 inline void SetMessageId(const Aws::String& value) { m_messageId = value; }
48 inline void SetMessageId(Aws::String&& value) { m_messageId = std::move(value); }
49 inline void SetMessageId(const char* value) { m_messageId.assign(value); }
50 inline PublishResult& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
51 inline PublishResult& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;}
52 inline PublishResult& WithMessageId(const char* value) { SetMessageId(value); return *this;}
54
56
63 inline const Aws::String& GetSequenceNumber() const{ return m_sequenceNumber; }
64 inline void SetSequenceNumber(const Aws::String& value) { m_sequenceNumber = value; }
65 inline void SetSequenceNumber(Aws::String&& value) { m_sequenceNumber = std::move(value); }
66 inline void SetSequenceNumber(const char* value) { m_sequenceNumber.assign(value); }
67 inline PublishResult& WithSequenceNumber(const Aws::String& value) { SetSequenceNumber(value); return *this;}
68 inline PublishResult& WithSequenceNumber(Aws::String&& value) { SetSequenceNumber(std::move(value)); return *this;}
69 inline PublishResult& WithSequenceNumber(const char* value) { SetSequenceNumber(value); return *this;}
71
73
74 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
75 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
76 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
77 inline PublishResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
78 inline PublishResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
80 private:
81
82 Aws::String m_messageId;
83
84 Aws::String m_sequenceNumber;
85
86 ResponseMetadata m_responseMetadata;
87 };
88
89} // namespace Model
90} // namespace SNS
91} // namespace Aws
void SetSequenceNumber(const Aws::String &value)
AWS_SNS_API PublishResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetSequenceNumber(const char *value)
PublishResult & WithMessageId(const Aws::String &value)
PublishResult & WithSequenceNumber(const Aws::String &value)
PublishResult & WithMessageId(const char *value)
const Aws::String & GetMessageId() const
PublishResult & WithSequenceNumber(Aws::String &&value)
const ResponseMetadata & GetResponseMetadata() const
void SetResponseMetadata(ResponseMetadata &&value)
void SetMessageId(const char *value)
AWS_SNS_API PublishResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetMessageId(Aws::String &&value)
PublishResult & WithResponseMetadata(const ResponseMetadata &value)
void SetResponseMetadata(const ResponseMetadata &value)
PublishResult & WithResponseMetadata(ResponseMetadata &&value)
void SetSequenceNumber(Aws::String &&value)
const Aws::String & GetSequenceNumber() const
PublishResult & WithMessageId(Aws::String &&value)
void SetMessageId(const Aws::String &value)
PublishResult & WithSequenceNumber(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument