AWS SDK for C++  1.8.128
AWS SDK for C++
SendTemplatedEmailResult.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 {
29  {
30  public:
34 
35 
40  inline const Aws::String& GetMessageId() const{ return m_messageId; }
41 
46  inline void SetMessageId(const Aws::String& value) { m_messageId = value; }
47 
52  inline void SetMessageId(Aws::String&& value) { m_messageId = std::move(value); }
53 
58  inline void SetMessageId(const char* value) { m_messageId.assign(value); }
59 
64  inline SendTemplatedEmailResult& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
65 
70  inline SendTemplatedEmailResult& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;}
71 
76  inline SendTemplatedEmailResult& WithMessageId(const char* value) { SetMessageId(value); return *this;}
77 
78 
79 
80  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
81 
82 
83  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
84 
85 
86  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
87 
88 
89  inline SendTemplatedEmailResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
90 
91 
92  inline SendTemplatedEmailResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
93 
94  private:
95 
96  Aws::String m_messageId;
97 
98  ResponseMetadata m_responseMetadata;
99  };
100 
101 } // namespace Model
102 } // namespace SES
103 } // namespace Aws
Aws::SES::Model::SendTemplatedEmailResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: SendTemplatedEmailResult.h:80
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SES::Model::SendTemplatedEmailResult::SetMessageId
void SetMessageId(Aws::String &&value)
Definition: SendTemplatedEmailResult.h:52
Aws::SES::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SES::Model::SendTemplatedEmailResult::WithMessageId
SendTemplatedEmailResult & WithMessageId(const char *value)
Definition: SendTemplatedEmailResult.h:76
Aws::SES::Model::SendTemplatedEmailResult::WithMessageId
SendTemplatedEmailResult & WithMessageId(Aws::String &&value)
Definition: SendTemplatedEmailResult.h:70
Aws::SES::Model::SendTemplatedEmailResult
Definition: SendTemplatedEmailResult.h:29
Aws::SES::Model::SendTemplatedEmailResult::SetMessageId
void SetMessageId(const Aws::String &value)
Definition: SendTemplatedEmailResult.h:46
Aws::SES::Model::SendTemplatedEmailResult::operator=
SendTemplatedEmailResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SES::Model::SendTemplatedEmailResult::WithMessageId
SendTemplatedEmailResult & WithMessageId(const Aws::String &value)
Definition: SendTemplatedEmailResult.h:64
AWSString.h
Aws::SES::Model::SendTemplatedEmailResult::SendTemplatedEmailResult
SendTemplatedEmailResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
SES_EXPORTS.h
Aws::SES::Model::SendTemplatedEmailResult::WithResponseMetadata
SendTemplatedEmailResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: SendTemplatedEmailResult.h:92
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::SendTemplatedEmailResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: SendTemplatedEmailResult.h:83
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::SendTemplatedEmailResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: SendTemplatedEmailResult.h:86
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::SendTemplatedEmailResult::SetMessageId
void SetMessageId(const char *value)
Definition: SendTemplatedEmailResult.h:58
ResponseMetadata.h
Aws::SES::Model::SendTemplatedEmailResult::WithResponseMetadata
SendTemplatedEmailResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: SendTemplatedEmailResult.h:89
Aws::SES::Model::SendTemplatedEmailResult::SendTemplatedEmailResult
SendTemplatedEmailResult()
Aws::SES::Model::SendTemplatedEmailResult::GetMessageId
const Aws::String & GetMessageId() const
Definition: SendTemplatedEmailResult.h:40