AWS SDK for C++  1.8.127
AWS SDK for C++
SendBulkTemplatedEmailResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace SES
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::Vector<BulkEmailDestinationStatus>& GetStatus() const{ return m_status; }
42 
47  inline void SetStatus(const Aws::Vector<BulkEmailDestinationStatus>& value) { m_status = value; }
48 
53  inline void SetStatus(Aws::Vector<BulkEmailDestinationStatus>&& value) { m_status = std::move(value); }
54 
59  inline SendBulkTemplatedEmailResult& WithStatus(const Aws::Vector<BulkEmailDestinationStatus>& value) { SetStatus(value); return *this;}
60 
65  inline SendBulkTemplatedEmailResult& WithStatus(Aws::Vector<BulkEmailDestinationStatus>&& value) { SetStatus(std::move(value)); return *this;}
66 
71  inline SendBulkTemplatedEmailResult& AddStatus(const BulkEmailDestinationStatus& value) { m_status.push_back(value); return *this; }
72 
77  inline SendBulkTemplatedEmailResult& AddStatus(BulkEmailDestinationStatus&& value) { m_status.push_back(std::move(value)); return *this; }
78 
79 
80 
81  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
82 
83 
84  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
85 
86 
87  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
88 
89 
90  inline SendBulkTemplatedEmailResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
91 
92 
93  inline SendBulkTemplatedEmailResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
94 
95  private:
96 
98 
99  ResponseMetadata m_responseMetadata;
100  };
101 
102 } // namespace Model
103 } // namespace SES
104 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SES::Model::SendBulkTemplatedEmailResult::SendBulkTemplatedEmailResult
SendBulkTemplatedEmailResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SES::Model::SendBulkTemplatedEmailResult::AddStatus
SendBulkTemplatedEmailResult & AddStatus(const BulkEmailDestinationStatus &value)
Definition: SendBulkTemplatedEmailResult.h:71
Aws::SES::Model::SendBulkTemplatedEmailResult::WithStatus
SendBulkTemplatedEmailResult & WithStatus(Aws::Vector< BulkEmailDestinationStatus > &&value)
Definition: SendBulkTemplatedEmailResult.h:65
Aws::SES::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SES::Model::SendBulkTemplatedEmailResult
Definition: SendBulkTemplatedEmailResult.h:30
Aws::SES::Model::SendBulkTemplatedEmailResult::SendBulkTemplatedEmailResult
SendBulkTemplatedEmailResult()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SES::Model::SendBulkTemplatedEmailResult::WithResponseMetadata
SendBulkTemplatedEmailResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: SendBulkTemplatedEmailResult.h:90
AWSVector.h
Aws::SES::Model::BulkEmailDestinationStatus
Definition: BulkEmailDestinationStatus.h:34
Aws::SES::Model::SendBulkTemplatedEmailResult::AddStatus
SendBulkTemplatedEmailResult & AddStatus(BulkEmailDestinationStatus &&value)
Definition: SendBulkTemplatedEmailResult.h:77
Aws::SES::Model::SendBulkTemplatedEmailResult::WithResponseMetadata
SendBulkTemplatedEmailResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: SendBulkTemplatedEmailResult.h:93
Aws::SES::Model::SendBulkTemplatedEmailResult::SetStatus
void SetStatus(Aws::Vector< BulkEmailDestinationStatus > &&value)
Definition: SendBulkTemplatedEmailResult.h:53
Aws::SES::Model::SendBulkTemplatedEmailResult::operator=
SendBulkTemplatedEmailResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
BulkEmailDestinationStatus.h
Aws::SES::Model::SendBulkTemplatedEmailResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: SendBulkTemplatedEmailResult.h:84
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::SendBulkTemplatedEmailResult::SetStatus
void SetStatus(const Aws::Vector< BulkEmailDestinationStatus > &value)
Definition: SendBulkTemplatedEmailResult.h:47
Aws
Definition: AccessManagementClient.h:15
ResponseMetadata.h
Aws::SES::Model::SendBulkTemplatedEmailResult::WithStatus
SendBulkTemplatedEmailResult & WithStatus(const Aws::Vector< BulkEmailDestinationStatus > &value)
Definition: SendBulkTemplatedEmailResult.h:59
Aws::SES::Model::SendBulkTemplatedEmailResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: SendBulkTemplatedEmailResult.h:87
Aws::SES::Model::SendBulkTemplatedEmailResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: SendBulkTemplatedEmailResult.h:81
Aws::SES::Model::SendBulkTemplatedEmailResult::GetStatus
const Aws::Vector< BulkEmailDestinationStatus > & GetStatus() const
Definition: SendBulkTemplatedEmailResult.h:41