AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BulkEmailEntry.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/sesv2/model/Destination.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sesv2/model/ReplacementEmailContent.h>
11#include <aws/sesv2/model/MessageTag.h>
12#include <aws/sesv2/model/MessageHeader.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SESV2
26{
27namespace Model
28{
29
31 {
32 public:
33 AWS_SESV2_API BulkEmailEntry();
36 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
51 inline const Destination& GetDestination() const{ return m_destination; }
52 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
53 inline void SetDestination(const Destination& value) { m_destinationHasBeenSet = true; m_destination = value; }
54 inline void SetDestination(Destination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
55 inline BulkEmailEntry& WithDestination(const Destination& value) { SetDestination(value); return *this;}
56 inline BulkEmailEntry& WithDestination(Destination&& value) { SetDestination(std::move(value)); return *this;}
58
60
66 inline const Aws::Vector<MessageTag>& GetReplacementTags() const{ return m_replacementTags; }
67 inline bool ReplacementTagsHasBeenSet() const { return m_replacementTagsHasBeenSet; }
68 inline void SetReplacementTags(const Aws::Vector<MessageTag>& value) { m_replacementTagsHasBeenSet = true; m_replacementTags = value; }
69 inline void SetReplacementTags(Aws::Vector<MessageTag>&& value) { m_replacementTagsHasBeenSet = true; m_replacementTags = std::move(value); }
71 inline BulkEmailEntry& WithReplacementTags(Aws::Vector<MessageTag>&& value) { SetReplacementTags(std::move(value)); return *this;}
72 inline BulkEmailEntry& AddReplacementTags(const MessageTag& value) { m_replacementTagsHasBeenSet = true; m_replacementTags.push_back(value); return *this; }
73 inline BulkEmailEntry& AddReplacementTags(MessageTag&& value) { m_replacementTagsHasBeenSet = true; m_replacementTags.push_back(std::move(value)); return *this; }
75
77
81 inline const ReplacementEmailContent& GetReplacementEmailContent() const{ return m_replacementEmailContent; }
82 inline bool ReplacementEmailContentHasBeenSet() const { return m_replacementEmailContentHasBeenSet; }
83 inline void SetReplacementEmailContent(const ReplacementEmailContent& value) { m_replacementEmailContentHasBeenSet = true; m_replacementEmailContent = value; }
84 inline void SetReplacementEmailContent(ReplacementEmailContent&& value) { m_replacementEmailContentHasBeenSet = true; m_replacementEmailContent = std::move(value); }
88
90
107 inline const Aws::Vector<MessageHeader>& GetReplacementHeaders() const{ return m_replacementHeaders; }
108 inline bool ReplacementHeadersHasBeenSet() const { return m_replacementHeadersHasBeenSet; }
109 inline void SetReplacementHeaders(const Aws::Vector<MessageHeader>& value) { m_replacementHeadersHasBeenSet = true; m_replacementHeaders = value; }
110 inline void SetReplacementHeaders(Aws::Vector<MessageHeader>&& value) { m_replacementHeadersHasBeenSet = true; m_replacementHeaders = std::move(value); }
113 inline BulkEmailEntry& AddReplacementHeaders(const MessageHeader& value) { m_replacementHeadersHasBeenSet = true; m_replacementHeaders.push_back(value); return *this; }
114 inline BulkEmailEntry& AddReplacementHeaders(MessageHeader&& value) { m_replacementHeadersHasBeenSet = true; m_replacementHeaders.push_back(std::move(value)); return *this; }
116 private:
117
118 Destination m_destination;
119 bool m_destinationHasBeenSet = false;
120
121 Aws::Vector<MessageTag> m_replacementTags;
122 bool m_replacementTagsHasBeenSet = false;
123
124 ReplacementEmailContent m_replacementEmailContent;
125 bool m_replacementEmailContentHasBeenSet = false;
126
127 Aws::Vector<MessageHeader> m_replacementHeaders;
128 bool m_replacementHeadersHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace SESV2
133} // namespace Aws
bool ReplacementTagsHasBeenSet() const
BulkEmailEntry & WithDestination(const Destination &value)
void SetReplacementEmailContent(const ReplacementEmailContent &value)
BulkEmailEntry & WithReplacementTags(Aws::Vector< MessageTag > &&value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReplacementEmailContent(ReplacementEmailContent &&value)
BulkEmailEntry & WithReplacementHeaders(const Aws::Vector< MessageHeader > &value)
bool DestinationHasBeenSet() const
void SetDestination(const Destination &value)
void SetDestination(Destination &&value)
const Destination & GetDestination() const
void SetReplacementHeaders(Aws::Vector< MessageHeader > &&value)
BulkEmailEntry & AddReplacementHeaders(const MessageHeader &value)
const Aws::Vector< MessageTag > & GetReplacementTags() const
AWS_SESV2_API BulkEmailEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
BulkEmailEntry & AddReplacementTags(MessageTag &&value)
BulkEmailEntry & AddReplacementHeaders(MessageHeader &&value)
const Aws::Vector< MessageHeader > & GetReplacementHeaders() const
BulkEmailEntry & AddReplacementTags(const MessageTag &value)
BulkEmailEntry & WithReplacementEmailContent(ReplacementEmailContent &&value)
BulkEmailEntry & WithDestination(Destination &&value)
const ReplacementEmailContent & GetReplacementEmailContent() const
void SetReplacementTags(Aws::Vector< MessageTag > &&value)
BulkEmailEntry & WithReplacementEmailContent(const ReplacementEmailContent &value)
BulkEmailEntry & WithReplacementHeaders(Aws::Vector< MessageHeader > &&value)
AWS_SESV2_API BulkEmailEntry(Aws::Utils::Json::JsonView jsonValue)
bool ReplacementEmailContentHasBeenSet() const
AWS_SESV2_API BulkEmailEntry()
void SetReplacementHeaders(const Aws::Vector< MessageHeader > &value)
void SetReplacementTags(const Aws::Vector< MessageTag > &value)
BulkEmailEntry & WithReplacementTags(const Aws::Vector< MessageTag > &value)
bool ReplacementHeadersHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue