AWS SDK for C++  1.8.128
AWS SDK for C++
SendBounceResult.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 
44  inline const Aws::String& GetMessageId() const{ return m_messageId; }
45 
49  inline void SetMessageId(const Aws::String& value) { m_messageId = value; }
50 
54  inline void SetMessageId(Aws::String&& value) { m_messageId = std::move(value); }
55 
59  inline void SetMessageId(const char* value) { m_messageId.assign(value); }
60 
64  inline SendBounceResult& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
65 
69  inline SendBounceResult& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;}
70 
74  inline SendBounceResult& WithMessageId(const char* value) { SetMessageId(value); return *this;}
75 
76 
77 
78  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
79 
80 
81  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
82 
83 
84  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
85 
86 
87  inline SendBounceResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
88 
89 
90  inline SendBounceResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
91 
92  private:
93 
94  Aws::String m_messageId;
95 
96  ResponseMetadata m_responseMetadata;
97  };
98 
99 } // namespace Model
100 } // namespace SES
101 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SES::Model::SendBounceResult::SetMessageId
void SetMessageId(Aws::String &&value)
Definition: SendBounceResult.h:54
Aws::SES::Model::SendBounceResult::SetMessageId
void SetMessageId(const char *value)
Definition: SendBounceResult.h:59
Aws::SES::Model::SendBounceResult::WithMessageId
SendBounceResult & WithMessageId(Aws::String &&value)
Definition: SendBounceResult.h:69
Aws::SES::Model::SendBounceResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: SendBounceResult.h:81
Aws::SES::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SES::Model::SendBounceResult::operator=
SendBounceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SES::Model::SendBounceResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: SendBounceResult.h:84
Aws::SES::Model::SendBounceResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: SendBounceResult.h:78
Aws::SES::Model::SendBounceResult::SetMessageId
void SetMessageId(const Aws::String &value)
Definition: SendBounceResult.h:49
Aws::SES::Model::SendBounceResult::WithMessageId
SendBounceResult & WithMessageId(const Aws::String &value)
Definition: SendBounceResult.h:64
AWSString.h
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::SendBounceResult::GetMessageId
const Aws::String & GetMessageId() const
Definition: SendBounceResult.h:44
Aws::SES::Model::SendBounceResult::SendBounceResult
SendBounceResult()
Aws::SES::Model::SendBounceResult::WithResponseMetadata
SendBounceResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: SendBounceResult.h:87
Aws::SES::Model::SendBounceResult::SendBounceResult
SendBounceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ResponseMetadata.h
Aws::SES::Model::SendBounceResult::WithResponseMetadata
SendBounceResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: SendBounceResult.h:90
Aws::SES::Model::SendBounceResult::WithMessageId
SendBounceResult & WithMessageId(const char *value)
Definition: SendBounceResult.h:74
Aws::SES::Model::SendBounceResult
Definition: SendBounceResult.h:34