AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BulkEmailDestination.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/email/model/Destination.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/email/model/MessageTag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace SES
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_SES_API BulkEmailDestination();
42
43 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
45
46
48
49 inline const Destination& GetDestination() const{ return m_destination; }
50 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
51 inline void SetDestination(const Destination& value) { m_destinationHasBeenSet = true; m_destination = value; }
52 inline void SetDestination(Destination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
53 inline BulkEmailDestination& WithDestination(const Destination& value) { SetDestination(value); return *this;}
54 inline BulkEmailDestination& WithDestination(Destination&& value) { SetDestination(std::move(value)); return *this;}
56
58
64 inline const Aws::Vector<MessageTag>& GetReplacementTags() const{ return m_replacementTags; }
65 inline bool ReplacementTagsHasBeenSet() const { return m_replacementTagsHasBeenSet; }
66 inline void SetReplacementTags(const Aws::Vector<MessageTag>& value) { m_replacementTagsHasBeenSet = true; m_replacementTags = value; }
67 inline void SetReplacementTags(Aws::Vector<MessageTag>&& value) { m_replacementTagsHasBeenSet = true; m_replacementTags = std::move(value); }
69 inline BulkEmailDestination& WithReplacementTags(Aws::Vector<MessageTag>&& value) { SetReplacementTags(std::move(value)); return *this;}
70 inline BulkEmailDestination& AddReplacementTags(const MessageTag& value) { m_replacementTagsHasBeenSet = true; m_replacementTags.push_back(value); return *this; }
71 inline BulkEmailDestination& AddReplacementTags(MessageTag&& value) { m_replacementTagsHasBeenSet = true; m_replacementTags.push_back(std::move(value)); return *this; }
73
75
80 inline const Aws::String& GetReplacementTemplateData() const{ return m_replacementTemplateData; }
81 inline bool ReplacementTemplateDataHasBeenSet() const { return m_replacementTemplateDataHasBeenSet; }
82 inline void SetReplacementTemplateData(const Aws::String& value) { m_replacementTemplateDataHasBeenSet = true; m_replacementTemplateData = value; }
83 inline void SetReplacementTemplateData(Aws::String&& value) { m_replacementTemplateDataHasBeenSet = true; m_replacementTemplateData = std::move(value); }
84 inline void SetReplacementTemplateData(const char* value) { m_replacementTemplateDataHasBeenSet = true; m_replacementTemplateData.assign(value); }
87 inline BulkEmailDestination& WithReplacementTemplateData(const char* value) { SetReplacementTemplateData(value); return *this;}
89 private:
90
91 Destination m_destination;
92 bool m_destinationHasBeenSet = false;
93
94 Aws::Vector<MessageTag> m_replacementTags;
95 bool m_replacementTagsHasBeenSet = false;
96
97 Aws::String m_replacementTemplateData;
98 bool m_replacementTemplateDataHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace SES
103} // namespace Aws
const Destination & GetDestination() const
void SetReplacementTemplateData(const char *value)
BulkEmailDestination & WithDestination(Destination &&value)
const Aws::String & GetReplacementTemplateData() const
BulkEmailDestination & AddReplacementTags(const MessageTag &value)
void SetReplacementTemplateData(Aws::String &&value)
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
BulkEmailDestination & WithReplacementTemplateData(const char *value)
BulkEmailDestination & WithReplacementTemplateData(const Aws::String &value)
AWS_SES_API BulkEmailDestination(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetReplacementTemplateData(const Aws::String &value)
BulkEmailDestination & WithReplacementTemplateData(Aws::String &&value)
const Aws::Vector< MessageTag > & GetReplacementTags() const
void SetReplacementTags(Aws::Vector< MessageTag > &&value)
void SetDestination(const Destination &value)
void SetReplacementTags(const Aws::Vector< MessageTag > &value)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
BulkEmailDestination & WithReplacementTags(Aws::Vector< MessageTag > &&value)
BulkEmailDestination & AddReplacementTags(MessageTag &&value)
BulkEmailDestination & WithDestination(const Destination &value)
BulkEmailDestination & WithReplacementTags(const Aws::Vector< MessageTag > &value)
AWS_SES_API BulkEmailDestination & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream