AWS SDK for C++  1.8.128
AWS SDK for C++
Destination.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace SES
23 {
24 namespace Model
25 {
26 
42  {
43  public:
47 
48  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
49  void OutputToStream(Aws::OStream& oStream, const char* location) const;
50 
51 
55  inline const Aws::Vector<Aws::String>& GetToAddresses() const{ return m_toAddresses; }
56 
60  inline bool ToAddressesHasBeenSet() const { return m_toAddressesHasBeenSet; }
61 
65  inline void SetToAddresses(const Aws::Vector<Aws::String>& value) { m_toAddressesHasBeenSet = true; m_toAddresses = value; }
66 
70  inline void SetToAddresses(Aws::Vector<Aws::String>&& value) { m_toAddressesHasBeenSet = true; m_toAddresses = std::move(value); }
71 
75  inline Destination& WithToAddresses(const Aws::Vector<Aws::String>& value) { SetToAddresses(value); return *this;}
76 
80  inline Destination& WithToAddresses(Aws::Vector<Aws::String>&& value) { SetToAddresses(std::move(value)); return *this;}
81 
85  inline Destination& AddToAddresses(const Aws::String& value) { m_toAddressesHasBeenSet = true; m_toAddresses.push_back(value); return *this; }
86 
90  inline Destination& AddToAddresses(Aws::String&& value) { m_toAddressesHasBeenSet = true; m_toAddresses.push_back(std::move(value)); return *this; }
91 
95  inline Destination& AddToAddresses(const char* value) { m_toAddressesHasBeenSet = true; m_toAddresses.push_back(value); return *this; }
96 
97 
101  inline const Aws::Vector<Aws::String>& GetCcAddresses() const{ return m_ccAddresses; }
102 
106  inline bool CcAddressesHasBeenSet() const { return m_ccAddressesHasBeenSet; }
107 
111  inline void SetCcAddresses(const Aws::Vector<Aws::String>& value) { m_ccAddressesHasBeenSet = true; m_ccAddresses = value; }
112 
116  inline void SetCcAddresses(Aws::Vector<Aws::String>&& value) { m_ccAddressesHasBeenSet = true; m_ccAddresses = std::move(value); }
117 
121  inline Destination& WithCcAddresses(const Aws::Vector<Aws::String>& value) { SetCcAddresses(value); return *this;}
122 
126  inline Destination& WithCcAddresses(Aws::Vector<Aws::String>&& value) { SetCcAddresses(std::move(value)); return *this;}
127 
131  inline Destination& AddCcAddresses(const Aws::String& value) { m_ccAddressesHasBeenSet = true; m_ccAddresses.push_back(value); return *this; }
132 
136  inline Destination& AddCcAddresses(Aws::String&& value) { m_ccAddressesHasBeenSet = true; m_ccAddresses.push_back(std::move(value)); return *this; }
137 
141  inline Destination& AddCcAddresses(const char* value) { m_ccAddressesHasBeenSet = true; m_ccAddresses.push_back(value); return *this; }
142 
143 
147  inline const Aws::Vector<Aws::String>& GetBccAddresses() const{ return m_bccAddresses; }
148 
152  inline bool BccAddressesHasBeenSet() const { return m_bccAddressesHasBeenSet; }
153 
157  inline void SetBccAddresses(const Aws::Vector<Aws::String>& value) { m_bccAddressesHasBeenSet = true; m_bccAddresses = value; }
158 
162  inline void SetBccAddresses(Aws::Vector<Aws::String>&& value) { m_bccAddressesHasBeenSet = true; m_bccAddresses = std::move(value); }
163 
167  inline Destination& WithBccAddresses(const Aws::Vector<Aws::String>& value) { SetBccAddresses(value); return *this;}
168 
172  inline Destination& WithBccAddresses(Aws::Vector<Aws::String>&& value) { SetBccAddresses(std::move(value)); return *this;}
173 
177  inline Destination& AddBccAddresses(const Aws::String& value) { m_bccAddressesHasBeenSet = true; m_bccAddresses.push_back(value); return *this; }
178 
182  inline Destination& AddBccAddresses(Aws::String&& value) { m_bccAddressesHasBeenSet = true; m_bccAddresses.push_back(std::move(value)); return *this; }
183 
187  inline Destination& AddBccAddresses(const char* value) { m_bccAddressesHasBeenSet = true; m_bccAddresses.push_back(value); return *this; }
188 
189  private:
190 
191  Aws::Vector<Aws::String> m_toAddresses;
192  bool m_toAddressesHasBeenSet;
193 
194  Aws::Vector<Aws::String> m_ccAddresses;
195  bool m_ccAddressesHasBeenSet;
196 
197  Aws::Vector<Aws::String> m_bccAddresses;
198  bool m_bccAddressesHasBeenSet;
199  };
200 
201 } // namespace Model
202 } // namespace SES
203 } // namespace Aws
Aws::SES::Model::Destination::Destination
Destination(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::Destination::AddBccAddresses
Destination & AddBccAddresses(const Aws::String &value)
Definition: Destination.h:177
Aws::SES::Model::Destination::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::SES::Model::Destination::BccAddressesHasBeenSet
bool BccAddressesHasBeenSet() const
Definition: Destination.h:152
Aws::SES::Model::Destination::AddCcAddresses
Destination & AddCcAddresses(const Aws::String &value)
Definition: Destination.h:131
Aws::SES::Model::Destination::SetCcAddresses
void SetCcAddresses(Aws::Vector< Aws::String > &&value)
Definition: Destination.h:116
Aws::SES::Model::Destination::Destination
Destination()
Aws::SES::Model::Destination
Definition: Destination.h:42
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSStreamFwd.h
Aws::SES::Model::Destination::SetBccAddresses
void SetBccAddresses(Aws::Vector< Aws::String > &&value)
Definition: Destination.h:162
Aws::SES::Model::Destination::CcAddressesHasBeenSet
bool CcAddressesHasBeenSet() const
Definition: Destination.h:106
Aws::SES::Model::Destination::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWSVector.h
Aws::SES::Model::Destination::ToAddressesHasBeenSet
bool ToAddressesHasBeenSet() const
Definition: Destination.h:60
Aws::SES::Model::Destination::SetToAddresses
void SetToAddresses(Aws::Vector< Aws::String > &&value)
Definition: Destination.h:70
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SES::Model::Destination::SetToAddresses
void SetToAddresses(const Aws::Vector< Aws::String > &value)
Definition: Destination.h:65
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::Destination::AddCcAddresses
Destination & AddCcAddresses(Aws::String &&value)
Definition: Destination.h:136
Aws::SES::Model::Destination::WithCcAddresses
Destination & WithCcAddresses(Aws::Vector< Aws::String > &&value)
Definition: Destination.h:126
Aws::SES::Model::Destination::WithToAddresses
Destination & WithToAddresses(Aws::Vector< Aws::String > &&value)
Definition: Destination.h:80
AWSString.h
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::Destination::AddToAddresses
Destination & AddToAddresses(const Aws::String &value)
Definition: Destination.h:85
Aws::SES::Model::Destination::AddToAddresses
Destination & AddToAddresses(Aws::String &&value)
Definition: Destination.h:90
Aws::SES::Model::Destination::SetBccAddresses
void SetBccAddresses(const Aws::Vector< Aws::String > &value)
Definition: Destination.h:157
Aws::SES::Model::Destination::WithToAddresses
Destination & WithToAddresses(const Aws::Vector< Aws::String > &value)
Definition: Destination.h:75
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::Destination::SetCcAddresses
void SetCcAddresses(const Aws::Vector< Aws::String > &value)
Definition: Destination.h:111
Aws::SES::Model::Destination::AddToAddresses
Destination & AddToAddresses(const char *value)
Definition: Destination.h:95
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::Destination::AddBccAddresses
Destination & AddBccAddresses(Aws::String &&value)
Definition: Destination.h:182
Aws::SES::Model::Destination::AddBccAddresses
Destination & AddBccAddresses(const char *value)
Definition: Destination.h:187
index
int index
Definition: cJSON.h:171
Aws::SES::Model::Destination::AddCcAddresses
Destination & AddCcAddresses(const char *value)
Definition: Destination.h:141
Aws::SES::Model::Destination::GetCcAddresses
const Aws::Vector< Aws::String > & GetCcAddresses() const
Definition: Destination.h:101
Aws::SES::Model::Destination::WithBccAddresses
Destination & WithBccAddresses(const Aws::Vector< Aws::String > &value)
Definition: Destination.h:167
Aws::SES::Model::Destination::GetToAddresses
const Aws::Vector< Aws::String > & GetToAddresses() const
Definition: Destination.h:55
Aws::SES::Model::Destination::operator=
Destination & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::Destination::GetBccAddresses
const Aws::Vector< Aws::String > & GetBccAddresses() const
Definition: Destination.h:147
Aws::SES::Model::Destination::WithCcAddresses
Destination & WithCcAddresses(const Aws::Vector< Aws::String > &value)
Definition: Destination.h:121
Aws::SES::Model::Destination::WithBccAddresses
Destination & WithBccAddresses(Aws::Vector< Aws::String > &&value)
Definition: Destination.h:172