AWS SDK for C++  1.9.155
AWS SDK for C++
BulkEmailEntry.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace SESV2
25 {
26 namespace Model
27 {
28 
30  {
31  public:
36 
37 
49  inline const Destination& GetDestination() const{ return m_destination; }
50 
62  inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
63 
75  inline void SetDestination(const Destination& value) { m_destinationHasBeenSet = true; m_destination = value; }
76 
88  inline void SetDestination(Destination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
89 
101  inline BulkEmailEntry& WithDestination(const Destination& value) { SetDestination(value); return *this;}
102 
114  inline BulkEmailEntry& WithDestination(Destination&& value) { SetDestination(std::move(value)); return *this;}
115 
116 
123  inline const Aws::Vector<MessageTag>& GetReplacementTags() const{ return m_replacementTags; }
124 
131  inline bool ReplacementTagsHasBeenSet() const { return m_replacementTagsHasBeenSet; }
132 
139  inline void SetReplacementTags(const Aws::Vector<MessageTag>& value) { m_replacementTagsHasBeenSet = true; m_replacementTags = value; }
140 
147  inline void SetReplacementTags(Aws::Vector<MessageTag>&& value) { m_replacementTagsHasBeenSet = true; m_replacementTags = std::move(value); }
148 
155  inline BulkEmailEntry& WithReplacementTags(const Aws::Vector<MessageTag>& value) { SetReplacementTags(value); return *this;}
156 
163  inline BulkEmailEntry& WithReplacementTags(Aws::Vector<MessageTag>&& value) { SetReplacementTags(std::move(value)); return *this;}
164 
171  inline BulkEmailEntry& AddReplacementTags(const MessageTag& value) { m_replacementTagsHasBeenSet = true; m_replacementTags.push_back(value); return *this; }
172 
179  inline BulkEmailEntry& AddReplacementTags(MessageTag&& value) { m_replacementTagsHasBeenSet = true; m_replacementTags.push_back(std::move(value)); return *this; }
180 
181 
186  inline const ReplacementEmailContent& GetReplacementEmailContent() const{ return m_replacementEmailContent; }
187 
192  inline bool ReplacementEmailContentHasBeenSet() const { return m_replacementEmailContentHasBeenSet; }
193 
198  inline void SetReplacementEmailContent(const ReplacementEmailContent& value) { m_replacementEmailContentHasBeenSet = true; m_replacementEmailContent = value; }
199 
204  inline void SetReplacementEmailContent(ReplacementEmailContent&& value) { m_replacementEmailContentHasBeenSet = true; m_replacementEmailContent = std::move(value); }
205 
210  inline BulkEmailEntry& WithReplacementEmailContent(const ReplacementEmailContent& value) { SetReplacementEmailContent(value); return *this;}
211 
216  inline BulkEmailEntry& WithReplacementEmailContent(ReplacementEmailContent&& value) { SetReplacementEmailContent(std::move(value)); return *this;}
217 
218  private:
219 
220  Destination m_destination;
221  bool m_destinationHasBeenSet;
222 
223  Aws::Vector<MessageTag> m_replacementTags;
224  bool m_replacementTagsHasBeenSet;
225 
226  ReplacementEmailContent m_replacementEmailContent;
227  bool m_replacementEmailContentHasBeenSet;
228  };
229 
230 } // namespace Model
231 } // namespace SESV2
232 } // namespace Aws
Aws::SESV2::Model::BulkEmailEntry::SetReplacementEmailContent
void SetReplacementEmailContent(const ReplacementEmailContent &value)
Definition: BulkEmailEntry.h:198
Aws::SESV2::Model::BulkEmailEntry::SetReplacementTags
void SetReplacementTags(Aws::Vector< MessageTag > &&value)
Definition: BulkEmailEntry.h:147
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::BulkEmailEntry::operator=
BulkEmailEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::BulkEmailEntry::GetDestination
const Destination & GetDestination() const
Definition: BulkEmailEntry.h:49
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SESV2::Model::BulkEmailEntry::SetDestination
void SetDestination(Destination &&value)
Definition: BulkEmailEntry.h:88
Aws::SESV2::Model::BulkEmailEntry::DestinationHasBeenSet
bool DestinationHasBeenSet() const
Definition: BulkEmailEntry.h:62
Aws::SESV2::Model::BulkEmailEntry::SetReplacementEmailContent
void SetReplacementEmailContent(ReplacementEmailContent &&value)
Definition: BulkEmailEntry.h:204
Destination.h
Aws::SESV2::Model::Destination
Definition: Destination.h:42
Aws::SESV2::Model::BulkEmailEntry::WithDestination
BulkEmailEntry & WithDestination(const Destination &value)
Definition: BulkEmailEntry.h:101
Aws::SESV2::Model::BulkEmailEntry::ReplacementTagsHasBeenSet
bool ReplacementTagsHasBeenSet() const
Definition: BulkEmailEntry.h:131
Aws::SESV2::Model::MessageTag
Definition: MessageTag.h:33
Aws::SESV2::Model::BulkEmailEntry::GetReplacementEmailContent
const ReplacementEmailContent & GetReplacementEmailContent() const
Definition: BulkEmailEntry.h:186
Aws::SESV2::Model::BulkEmailEntry::SetReplacementTags
void SetReplacementTags(const Aws::Vector< MessageTag > &value)
Definition: BulkEmailEntry.h:139
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
SESV2_EXPORTS.h
Aws::SESV2::Model::BulkEmailEntry::BulkEmailEntry
BulkEmailEntry(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::BulkEmailEntry::WithReplacementEmailContent
BulkEmailEntry & WithReplacementEmailContent(ReplacementEmailContent &&value)
Definition: BulkEmailEntry.h:216
Aws::SESV2::Model::BulkEmailEntry::ReplacementEmailContentHasBeenSet
bool ReplacementEmailContentHasBeenSet() const
Definition: BulkEmailEntry.h:192
Aws::SESV2::Model::BulkEmailEntry::WithReplacementTags
BulkEmailEntry & WithReplacementTags(Aws::Vector< MessageTag > &&value)
Definition: BulkEmailEntry.h:163
Aws::SESV2::Model::BulkEmailEntry::BulkEmailEntry
BulkEmailEntry()
Aws::SESV2::Model::BulkEmailEntry::WithReplacementTags
BulkEmailEntry & WithReplacementTags(const Aws::Vector< MessageTag > &value)
Definition: BulkEmailEntry.h:155
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
ReplacementEmailContent.h
Aws::SESV2::Model::BulkEmailEntry::AddReplacementTags
BulkEmailEntry & AddReplacementTags(MessageTag &&value)
Definition: BulkEmailEntry.h:179
MessageTag.h
Aws::SESV2::Model::BulkEmailEntry::WithDestination
BulkEmailEntry & WithDestination(Destination &&value)
Definition: BulkEmailEntry.h:114
Aws::SESV2::Model::BulkEmailEntry::AddReplacementTags
BulkEmailEntry & AddReplacementTags(const MessageTag &value)
Definition: BulkEmailEntry.h:171
Aws::SESV2::Model::BulkEmailEntry::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::BulkEmailEntry
Definition: BulkEmailEntry.h:30
Aws::SESV2::Model::ReplacementEmailContent
Definition: ReplacementEmailContent.h:34
Aws::SESV2::Model::BulkEmailEntry::SetDestination
void SetDestination(const Destination &value)
Definition: BulkEmailEntry.h:75
Aws::SESV2::Model::BulkEmailEntry::WithReplacementEmailContent
BulkEmailEntry & WithReplacementEmailContent(const ReplacementEmailContent &value)
Definition: BulkEmailEntry.h:210
Aws::SESV2::Model::BulkEmailEntry::GetReplacementTags
const Aws::Vector< MessageTag > & GetReplacementTags() const
Definition: BulkEmailEntry.h:123