AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SendRawEmailResult.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/email/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 SES
25{
26namespace Model
27{
34 {
35 public:
36 AWS_SES_API SendRawEmailResult();
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 SendRawEmailResult& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
51 inline SendRawEmailResult& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;}
52 inline SendRawEmailResult& WithMessageId(const char* value) { SetMessageId(value); return *this;}
54
56
57 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
58 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
59 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
60 inline SendRawEmailResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
61 inline SendRawEmailResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
63 private:
64
65 Aws::String m_messageId;
66
67 ResponseMetadata m_responseMetadata;
68 };
69
70} // namespace Model
71} // namespace SES
72} // namespace Aws
const ResponseMetadata & GetResponseMetadata() const
SendRawEmailResult & WithMessageId(const Aws::String &value)
SendRawEmailResult & WithResponseMetadata(const ResponseMetadata &value)
SendRawEmailResult & WithMessageId(Aws::String &&value)
void SetMessageId(Aws::String &&value)
const Aws::String & GetMessageId() const
AWS_SES_API SendRawEmailResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetResponseMetadata(ResponseMetadata &&value)
void SetResponseMetadata(const ResponseMetadata &value)
void SetMessageId(const Aws::String &value)
AWS_SES_API SendRawEmailResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
SendRawEmailResult & WithMessageId(const char *value)
SendRawEmailResult & WithResponseMetadata(ResponseMetadata &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument