AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SendEmailResult.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 SendEmailResult();
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 SendEmailResult& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
51 inline SendEmailResult& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;}
52 inline SendEmailResult& 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 SendEmailResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
61 inline SendEmailResult& 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
void SetMessageId(const Aws::String &value)
void SetResponseMetadata(const ResponseMetadata &value)
SendEmailResult & WithMessageId(const Aws::String &value)
AWS_SES_API SendEmailResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetMessageId(const char *value)
void SetMessageId(Aws::String &&value)
AWS_SES_API SendEmailResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
SendEmailResult & WithMessageId(Aws::String &&value)
const Aws::String & GetMessageId() const
SendEmailResult & WithMessageId(const char *value)
SendEmailResult & WithResponseMetadata(ResponseMetadata &&value)
void SetResponseMetadata(ResponseMetadata &&value)
SendEmailResult & WithResponseMetadata(const ResponseMetadata &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument