AWS SDK for C++  1.8.129
AWS SDK for C++
BulkEmailDestination.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlNode;
22 } // namespace Xml
23 } // namespace Utils
24 namespace SES
25 {
26 namespace Model
27 {
28 
37  {
38  public:
42 
43  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44  void OutputToStream(Aws::OStream& oStream, const char* location) const;
45 
46 
47 
48  inline const Destination& GetDestination() const{ return m_destination; }
49 
50 
51  inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
52 
53 
54  inline void SetDestination(const Destination& value) { m_destinationHasBeenSet = true; m_destination = value; }
55 
56 
57  inline void SetDestination(Destination&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
58 
59 
60  inline BulkEmailDestination& WithDestination(const Destination& value) { SetDestination(value); return *this;}
61 
62 
63  inline BulkEmailDestination& WithDestination(Destination&& value) { SetDestination(std::move(value)); return *this;}
64 
65 
72  inline const Aws::Vector<MessageTag>& GetReplacementTags() const{ return m_replacementTags; }
73 
80  inline bool ReplacementTagsHasBeenSet() const { return m_replacementTagsHasBeenSet; }
81 
88  inline void SetReplacementTags(const Aws::Vector<MessageTag>& value) { m_replacementTagsHasBeenSet = true; m_replacementTags = value; }
89 
96  inline void SetReplacementTags(Aws::Vector<MessageTag>&& value) { m_replacementTagsHasBeenSet = true; m_replacementTags = std::move(value); }
97 
104  inline BulkEmailDestination& WithReplacementTags(const Aws::Vector<MessageTag>& value) { SetReplacementTags(value); return *this;}
105 
112  inline BulkEmailDestination& WithReplacementTags(Aws::Vector<MessageTag>&& value) { SetReplacementTags(std::move(value)); return *this;}
113 
120  inline BulkEmailDestination& AddReplacementTags(const MessageTag& value) { m_replacementTagsHasBeenSet = true; m_replacementTags.push_back(value); return *this; }
121 
128  inline BulkEmailDestination& AddReplacementTags(MessageTag&& value) { m_replacementTagsHasBeenSet = true; m_replacementTags.push_back(std::move(value)); return *this; }
129 
130 
136  inline const Aws::String& GetReplacementTemplateData() const{ return m_replacementTemplateData; }
137 
143  inline bool ReplacementTemplateDataHasBeenSet() const { return m_replacementTemplateDataHasBeenSet; }
144 
150  inline void SetReplacementTemplateData(const Aws::String& value) { m_replacementTemplateDataHasBeenSet = true; m_replacementTemplateData = value; }
151 
157  inline void SetReplacementTemplateData(Aws::String&& value) { m_replacementTemplateDataHasBeenSet = true; m_replacementTemplateData = std::move(value); }
158 
164  inline void SetReplacementTemplateData(const char* value) { m_replacementTemplateDataHasBeenSet = true; m_replacementTemplateData.assign(value); }
165 
171  inline BulkEmailDestination& WithReplacementTemplateData(const Aws::String& value) { SetReplacementTemplateData(value); return *this;}
172 
178  inline BulkEmailDestination& WithReplacementTemplateData(Aws::String&& value) { SetReplacementTemplateData(std::move(value)); return *this;}
179 
185  inline BulkEmailDestination& WithReplacementTemplateData(const char* value) { SetReplacementTemplateData(value); return *this;}
186 
187  private:
188 
189  Destination m_destination;
190  bool m_destinationHasBeenSet;
191 
192  Aws::Vector<MessageTag> m_replacementTags;
193  bool m_replacementTagsHasBeenSet;
194 
195  Aws::String m_replacementTemplateData;
196  bool m_replacementTemplateDataHasBeenSet;
197  };
198 
199 } // namespace Model
200 } // namespace SES
201 } // namespace Aws
Aws::SES::Model::MessageTag
Definition: MessageTag.h:37
Aws::SES::Model::BulkEmailDestination::SetReplacementTags
void SetReplacementTags(Aws::Vector< MessageTag > &&value)
Definition: BulkEmailDestination.h:96
Aws::SES::Model::BulkEmailDestination::operator=
BulkEmailDestination & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::BulkEmailDestination::SetReplacementTemplateData
void SetReplacementTemplateData(const Aws::String &value)
Definition: BulkEmailDestination.h:150
Aws::SES::Model::BulkEmailDestination::BulkEmailDestination
BulkEmailDestination(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::BulkEmailDestination::GetReplacementTemplateData
const Aws::String & GetReplacementTemplateData() const
Definition: BulkEmailDestination.h:136
Aws::SES::Model::Destination
Definition: Destination.h:42
Aws::SES::Model::BulkEmailDestination::SetReplacementTemplateData
void SetReplacementTemplateData(Aws::String &&value)
Definition: BulkEmailDestination.h:157
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSStreamFwd.h
AWSVector.h
Aws::SES::Model::BulkEmailDestination::SetReplacementTags
void SetReplacementTags(const Aws::Vector< MessageTag > &value)
Definition: BulkEmailDestination.h:88
Aws::SES::Model::BulkEmailDestination::WithReplacementTemplateData
BulkEmailDestination & WithReplacementTemplateData(const char *value)
Definition: BulkEmailDestination.h:185
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SES::Model::BulkEmailDestination::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::SES::Model::BulkEmailDestination::GetReplacementTags
const Aws::Vector< MessageTag > & GetReplacementTags() const
Definition: BulkEmailDestination.h:72
Destination.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::BulkEmailDestination
Definition: BulkEmailDestination.h:37
MessageTag.h
AWSString.h
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::BulkEmailDestination::DestinationHasBeenSet
bool DestinationHasBeenSet() const
Definition: BulkEmailDestination.h:51
Aws::SES::Model::BulkEmailDestination::GetDestination
const Destination & GetDestination() const
Definition: BulkEmailDestination.h:48
Aws::SES::Model::BulkEmailDestination::WithReplacementTags
BulkEmailDestination & WithReplacementTags(const Aws::Vector< MessageTag > &value)
Definition: BulkEmailDestination.h:104
Aws::SES::Model::BulkEmailDestination::WithReplacementTags
BulkEmailDestination & WithReplacementTags(Aws::Vector< MessageTag > &&value)
Definition: BulkEmailDestination.h:112
Aws::SES::Model::BulkEmailDestination::WithReplacementTemplateData
BulkEmailDestination & WithReplacementTemplateData(const Aws::String &value)
Definition: BulkEmailDestination.h:171
Aws::SES::Model::BulkEmailDestination::AddReplacementTags
BulkEmailDestination & AddReplacementTags(MessageTag &&value)
Definition: BulkEmailDestination.h:128
Aws::SES::Model::BulkEmailDestination::WithReplacementTemplateData
BulkEmailDestination & WithReplacementTemplateData(Aws::String &&value)
Definition: BulkEmailDestination.h:178
Aws::SES::Model::BulkEmailDestination::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::SES::Model::BulkEmailDestination::WithDestination
BulkEmailDestination & WithDestination(const Destination &value)
Definition: BulkEmailDestination.h:60
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::BulkEmailDestination::WithDestination
BulkEmailDestination & WithDestination(Destination &&value)
Definition: BulkEmailDestination.h:63
Aws::SES::Model::BulkEmailDestination::AddReplacementTags
BulkEmailDestination & AddReplacementTags(const MessageTag &value)
Definition: BulkEmailDestination.h:120
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::BulkEmailDestination::ReplacementTemplateDataHasBeenSet
bool ReplacementTemplateDataHasBeenSet() const
Definition: BulkEmailDestination.h:143
index
int index
Definition: cJSON.h:171
Aws::SES::Model::BulkEmailDestination::SetReplacementTemplateData
void SetReplacementTemplateData(const char *value)
Definition: BulkEmailDestination.h:164
Aws::SES::Model::BulkEmailDestination::SetDestination
void SetDestination(const Destination &value)
Definition: BulkEmailDestination.h:54
Aws::SES::Model::BulkEmailDestination::BulkEmailDestination
BulkEmailDestination()
Aws::SES::Model::BulkEmailDestination::SetDestination
void SetDestination(Destination &&value)
Definition: BulkEmailDestination.h:57
Aws::SES::Model::BulkEmailDestination::ReplacementTagsHasBeenSet
bool ReplacementTagsHasBeenSet() const
Definition: BulkEmailDestination.h:80