AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SendBulkEmailResult.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sesv2/model/BulkEmailEntryResult.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SESV2
26{
27namespace Model
28{
36 {
37 public:
38 AWS_SESV2_API SendBulkEmailResult();
41
42
44
48 inline const Aws::Vector<BulkEmailEntryResult>& GetBulkEmailEntryResults() const{ return m_bulkEmailEntryResults; }
49 inline void SetBulkEmailEntryResults(const Aws::Vector<BulkEmailEntryResult>& value) { m_bulkEmailEntryResults = value; }
50 inline void SetBulkEmailEntryResults(Aws::Vector<BulkEmailEntryResult>&& value) { m_bulkEmailEntryResults = std::move(value); }
53 inline SendBulkEmailResult& AddBulkEmailEntryResults(const BulkEmailEntryResult& value) { m_bulkEmailEntryResults.push_back(value); return *this; }
54 inline SendBulkEmailResult& AddBulkEmailEntryResults(BulkEmailEntryResult&& value) { m_bulkEmailEntryResults.push_back(std::move(value)); return *this; }
56
58
59 inline const Aws::String& GetRequestId() const{ return m_requestId; }
60 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
61 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
62 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
63 inline SendBulkEmailResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
64 inline SendBulkEmailResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
65 inline SendBulkEmailResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
67 private:
68
69 Aws::Vector<BulkEmailEntryResult> m_bulkEmailEntryResults;
70
71 Aws::String m_requestId;
72 };
73
74} // namespace Model
75} // namespace SESV2
76} // namespace Aws
SendBulkEmailResult & WithRequestId(const char *value)
AWS_SESV2_API SendBulkEmailResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< BulkEmailEntryResult > & GetBulkEmailEntryResults() const
SendBulkEmailResult & WithBulkEmailEntryResults(Aws::Vector< BulkEmailEntryResult > &&value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
void SetBulkEmailEntryResults(const Aws::Vector< BulkEmailEntryResult > &value)
SendBulkEmailResult & WithRequestId(const Aws::String &value)
SendBulkEmailResult & AddBulkEmailEntryResults(BulkEmailEntryResult &&value)
SendBulkEmailResult & WithRequestId(Aws::String &&value)
AWS_SESV2_API SendBulkEmailResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SendBulkEmailResult & AddBulkEmailEntryResults(const BulkEmailEntryResult &value)
void SetBulkEmailEntryResults(Aws::Vector< BulkEmailEntryResult > &&value)
SendBulkEmailResult & WithBulkEmailEntryResults(const Aws::Vector< BulkEmailEntryResult > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue