AWS SDK for C++  1.8.127
AWS SDK for C++
SendRawEmailResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace SES
25 {
26 namespace Model
27 {
34  {
35  public:
39 
40 
45  inline const Aws::String& GetMessageId() const{ return m_messageId; }
46 
51  inline void SetMessageId(const Aws::String& value) { m_messageId = value; }
52 
57  inline void SetMessageId(Aws::String&& value) { m_messageId = std::move(value); }
58 
63  inline void SetMessageId(const char* value) { m_messageId.assign(value); }
64 
69  inline SendRawEmailResult& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
70 
75  inline SendRawEmailResult& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;}
76 
81  inline SendRawEmailResult& WithMessageId(const char* value) { SetMessageId(value); return *this;}
82 
83 
84 
85  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
86 
87 
88  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
89 
90 
91  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
92 
93 
94  inline SendRawEmailResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
95 
96 
97  inline SendRawEmailResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
98 
99  private:
100 
101  Aws::String m_messageId;
102 
103  ResponseMetadata m_responseMetadata;
104  };
105 
106 } // namespace Model
107 } // namespace SES
108 } // namespace Aws
Aws::SES::Model::SendRawEmailResult::SendRawEmailResult
SendRawEmailResult()
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SES::Model::SendRawEmailResult::WithMessageId
SendRawEmailResult & WithMessageId(Aws::String &&value)
Definition: SendRawEmailResult.h:75
Aws::SES::Model::SendRawEmailResult::WithMessageId
SendRawEmailResult & WithMessageId(const char *value)
Definition: SendRawEmailResult.h:81
Aws::SES::Model::SendRawEmailResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: SendRawEmailResult.h:85
Aws::SES::Model::SendRawEmailResult::SendRawEmailResult
SendRawEmailResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SES::Model::SendRawEmailResult::GetMessageId
const Aws::String & GetMessageId() const
Definition: SendRawEmailResult.h:45
Aws::SES::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SES::Model::SendRawEmailResult
Definition: SendRawEmailResult.h:34
Aws::SES::Model::SendRawEmailResult::operator=
SendRawEmailResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SES::Model::SendRawEmailResult::SetMessageId
void SetMessageId(const char *value)
Definition: SendRawEmailResult.h:63
AWSString.h
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::SendRawEmailResult::SetMessageId
void SetMessageId(Aws::String &&value)
Definition: SendRawEmailResult.h:57
Aws::SES::Model::SendRawEmailResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: SendRawEmailResult.h:91
Aws::SES::Model::SendRawEmailResult::SetMessageId
void SetMessageId(const Aws::String &value)
Definition: SendRawEmailResult.h:51
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::SendRawEmailResult::WithResponseMetadata
SendRawEmailResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: SendRawEmailResult.h:94
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ResponseMetadata.h
Aws::SES::Model::SendRawEmailResult::WithResponseMetadata
SendRawEmailResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: SendRawEmailResult.h:97
Aws::SES::Model::SendRawEmailResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: SendRawEmailResult.h:88
Aws::SES::Model::SendRawEmailResult::WithMessageId
SendRawEmailResult & WithMessageId(const Aws::String &value)
Definition: SendRawEmailResult.h:69