AWS SDK for C++  1.9.153
AWS SDK for C++
Destination.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SESV2
23 {
24 namespace Model
25 {
26 
42  {
43  public:
48 
49 
54  inline const Aws::Vector<Aws::String>& GetToAddresses() const{ return m_toAddresses; }
55 
60  inline bool ToAddressesHasBeenSet() const { return m_toAddressesHasBeenSet; }
61 
66  inline void SetToAddresses(const Aws::Vector<Aws::String>& value) { m_toAddressesHasBeenSet = true; m_toAddresses = value; }
67 
72  inline void SetToAddresses(Aws::Vector<Aws::String>&& value) { m_toAddressesHasBeenSet = true; m_toAddresses = std::move(value); }
73 
78  inline Destination& WithToAddresses(const Aws::Vector<Aws::String>& value) { SetToAddresses(value); return *this;}
79 
84  inline Destination& WithToAddresses(Aws::Vector<Aws::String>&& value) { SetToAddresses(std::move(value)); return *this;}
85 
90  inline Destination& AddToAddresses(const Aws::String& value) { m_toAddressesHasBeenSet = true; m_toAddresses.push_back(value); return *this; }
91 
96  inline Destination& AddToAddresses(Aws::String&& value) { m_toAddressesHasBeenSet = true; m_toAddresses.push_back(std::move(value)); return *this; }
97 
102  inline Destination& AddToAddresses(const char* value) { m_toAddressesHasBeenSet = true; m_toAddresses.push_back(value); return *this; }
103 
104 
109  inline const Aws::Vector<Aws::String>& GetCcAddresses() const{ return m_ccAddresses; }
110 
115  inline bool CcAddressesHasBeenSet() const { return m_ccAddressesHasBeenSet; }
116 
121  inline void SetCcAddresses(const Aws::Vector<Aws::String>& value) { m_ccAddressesHasBeenSet = true; m_ccAddresses = value; }
122 
127  inline void SetCcAddresses(Aws::Vector<Aws::String>&& value) { m_ccAddressesHasBeenSet = true; m_ccAddresses = std::move(value); }
128 
133  inline Destination& WithCcAddresses(const Aws::Vector<Aws::String>& value) { SetCcAddresses(value); return *this;}
134 
139  inline Destination& WithCcAddresses(Aws::Vector<Aws::String>&& value) { SetCcAddresses(std::move(value)); return *this;}
140 
145  inline Destination& AddCcAddresses(const Aws::String& value) { m_ccAddressesHasBeenSet = true; m_ccAddresses.push_back(value); return *this; }
146 
151  inline Destination& AddCcAddresses(Aws::String&& value) { m_ccAddressesHasBeenSet = true; m_ccAddresses.push_back(std::move(value)); return *this; }
152 
157  inline Destination& AddCcAddresses(const char* value) { m_ccAddressesHasBeenSet = true; m_ccAddresses.push_back(value); return *this; }
158 
159 
164  inline const Aws::Vector<Aws::String>& GetBccAddresses() const{ return m_bccAddresses; }
165 
170  inline bool BccAddressesHasBeenSet() const { return m_bccAddressesHasBeenSet; }
171 
176  inline void SetBccAddresses(const Aws::Vector<Aws::String>& value) { m_bccAddressesHasBeenSet = true; m_bccAddresses = value; }
177 
182  inline void SetBccAddresses(Aws::Vector<Aws::String>&& value) { m_bccAddressesHasBeenSet = true; m_bccAddresses = std::move(value); }
183 
188  inline Destination& WithBccAddresses(const Aws::Vector<Aws::String>& value) { SetBccAddresses(value); return *this;}
189 
194  inline Destination& WithBccAddresses(Aws::Vector<Aws::String>&& value) { SetBccAddresses(std::move(value)); return *this;}
195 
200  inline Destination& AddBccAddresses(const Aws::String& value) { m_bccAddressesHasBeenSet = true; m_bccAddresses.push_back(value); return *this; }
201 
206  inline Destination& AddBccAddresses(Aws::String&& value) { m_bccAddressesHasBeenSet = true; m_bccAddresses.push_back(std::move(value)); return *this; }
207 
212  inline Destination& AddBccAddresses(const char* value) { m_bccAddressesHasBeenSet = true; m_bccAddresses.push_back(value); return *this; }
213 
214  private:
215 
216  Aws::Vector<Aws::String> m_toAddresses;
217  bool m_toAddressesHasBeenSet;
218 
219  Aws::Vector<Aws::String> m_ccAddresses;
220  bool m_ccAddressesHasBeenSet;
221 
222  Aws::Vector<Aws::String> m_bccAddresses;
223  bool m_bccAddressesHasBeenSet;
224  };
225 
226 } // namespace Model
227 } // namespace SESV2
228 } // namespace Aws
Aws::SESV2::Model::Destination::BccAddressesHasBeenSet
bool BccAddressesHasBeenSet() const
Definition: Destination.h:170
Aws::SESV2::Model::Destination::AddToAddresses
Destination & AddToAddresses(const Aws::String &value)
Definition: Destination.h:90
Aws::SESV2::Model::Destination::AddBccAddresses
Destination & AddBccAddresses(Aws::String &&value)
Definition: Destination.h:206
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::Destination::AddCcAddresses
Destination & AddCcAddresses(Aws::String &&value)
Definition: Destination.h:151
Aws::SESV2::Model::Destination::Destination
Destination(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::Destination::AddCcAddresses
Destination & AddCcAddresses(const Aws::String &value)
Definition: Destination.h:145
Aws::SESV2::Model::Destination::AddCcAddresses
Destination & AddCcAddresses(const char *value)
Definition: Destination.h:157
Aws::SESV2::Model::Destination::CcAddressesHasBeenSet
bool CcAddressesHasBeenSet() const
Definition: Destination.h:115
Aws::SESV2::Model::Destination::WithBccAddresses
Destination & WithBccAddresses(Aws::Vector< Aws::String > &&value)
Definition: Destination.h:194
Aws::SESV2::Model::Destination::SetBccAddresses
void SetBccAddresses(const Aws::Vector< Aws::String > &value)
Definition: Destination.h:176
Aws::SESV2::Model::Destination::AddToAddresses
Destination & AddToAddresses(Aws::String &&value)
Definition: Destination.h:96
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SESV2::Model::Destination::SetBccAddresses
void SetBccAddresses(Aws::Vector< Aws::String > &&value)
Definition: Destination.h:182
Aws::SESV2::Model::Destination::WithCcAddresses
Destination & WithCcAddresses(Aws::Vector< Aws::String > &&value)
Definition: Destination.h:139
Aws::SESV2::Model::Destination::SetToAddresses
void SetToAddresses(const Aws::Vector< Aws::String > &value)
Definition: Destination.h:66
Aws::SESV2::Model::Destination::GetToAddresses
const Aws::Vector< Aws::String > & GetToAddresses() const
Definition: Destination.h:54
Aws::SESV2::Model::Destination::AddBccAddresses
Destination & AddBccAddresses(const Aws::String &value)
Definition: Destination.h:200
Aws::SESV2::Model::Destination::operator=
Destination & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::Destination
Definition: Destination.h:42
Aws::SESV2::Model::Destination::SetCcAddresses
void SetCcAddresses(Aws::Vector< Aws::String > &&value)
Definition: Destination.h:127
Aws::SESV2::Model::Destination::AddBccAddresses
Destination & AddBccAddresses(const char *value)
Definition: Destination.h:212
Aws::SESV2::Model::Destination::SetToAddresses
void SetToAddresses(Aws::Vector< Aws::String > &&value)
Definition: Destination.h:72
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SESV2::Model::Destination::SetCcAddresses
void SetCcAddresses(const Aws::Vector< Aws::String > &value)
Definition: Destination.h:121
Aws::SESV2::Model::Destination::WithCcAddresses
Destination & WithCcAddresses(const Aws::Vector< Aws::String > &value)
Definition: Destination.h:133
Aws::SESV2::Model::Destination::WithToAddresses
Destination & WithToAddresses(const Aws::Vector< Aws::String > &value)
Definition: Destination.h:78
SESV2_EXPORTS.h
Aws::SESV2::Model::Destination::Destination
Destination()
Aws::SESV2::Model::Destination::WithToAddresses
Destination & WithToAddresses(Aws::Vector< Aws::String > &&value)
Definition: Destination.h:84
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::Destination::WithBccAddresses
Destination & WithBccAddresses(const Aws::Vector< Aws::String > &value)
Definition: Destination.h:188
Aws::SESV2::Model::Destination::AddToAddresses
Destination & AddToAddresses(const char *value)
Definition: Destination.h:102
Aws::SESV2::Model::Destination::ToAddressesHasBeenSet
bool ToAddressesHasBeenSet() const
Definition: Destination.h:60
Aws::SESV2::Model::Destination::GetCcAddresses
const Aws::Vector< Aws::String > & GetCcAddresses() const
Definition: Destination.h:109
Aws::SESV2::Model::Destination::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::Destination::GetBccAddresses
const Aws::Vector< Aws::String > & GetBccAddresses() const
Definition: Destination.h:164