AWS SDK for C++  1.8.129
AWS SDK for C++
BulkEmailDestinationStatus.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 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
74  inline const BulkEmailStatus& GetStatus() const{ return m_status; }
75 
106  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
107 
138  inline void SetStatus(const BulkEmailStatus& value) { m_statusHasBeenSet = true; m_status = value; }
139 
170  inline void SetStatus(BulkEmailStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
171 
202  inline BulkEmailDestinationStatus& WithStatus(const BulkEmailStatus& value) { SetStatus(value); return *this;}
203 
234  inline BulkEmailDestinationStatus& WithStatus(BulkEmailStatus&& value) { SetStatus(std::move(value)); return *this;}
235 
236 
241  inline const Aws::String& GetError() const{ return m_error; }
242 
247  inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
248 
253  inline void SetError(const Aws::String& value) { m_errorHasBeenSet = true; m_error = value; }
254 
259  inline void SetError(Aws::String&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
260 
265  inline void SetError(const char* value) { m_errorHasBeenSet = true; m_error.assign(value); }
266 
271  inline BulkEmailDestinationStatus& WithError(const Aws::String& value) { SetError(value); return *this;}
272 
277  inline BulkEmailDestinationStatus& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;}
278 
283  inline BulkEmailDestinationStatus& WithError(const char* value) { SetError(value); return *this;}
284 
285 
290  inline const Aws::String& GetMessageId() const{ return m_messageId; }
291 
296  inline bool MessageIdHasBeenSet() const { return m_messageIdHasBeenSet; }
297 
302  inline void SetMessageId(const Aws::String& value) { m_messageIdHasBeenSet = true; m_messageId = value; }
303 
308  inline void SetMessageId(Aws::String&& value) { m_messageIdHasBeenSet = true; m_messageId = std::move(value); }
309 
314  inline void SetMessageId(const char* value) { m_messageIdHasBeenSet = true; m_messageId.assign(value); }
315 
320  inline BulkEmailDestinationStatus& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
321 
326  inline BulkEmailDestinationStatus& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;}
327 
332  inline BulkEmailDestinationStatus& WithMessageId(const char* value) { SetMessageId(value); return *this;}
333 
334  private:
335 
336  BulkEmailStatus m_status;
337  bool m_statusHasBeenSet;
338 
339  Aws::String m_error;
340  bool m_errorHasBeenSet;
341 
342  Aws::String m_messageId;
343  bool m_messageIdHasBeenSet;
344  };
345 
346 } // namespace Model
347 } // namespace SES
348 } // namespace Aws
Aws::SES::Model::BulkEmailDestinationStatus::ErrorHasBeenSet
bool ErrorHasBeenSet() const
Definition: BulkEmailDestinationStatus.h:247
Aws::SES::Model::BulkEmailDestinationStatus::SetError
void SetError(const Aws::String &value)
Definition: BulkEmailDestinationStatus.h:253
Aws::SES::Model::BulkEmailDestinationStatus::WithError
BulkEmailDestinationStatus & WithError(Aws::String &&value)
Definition: BulkEmailDestinationStatus.h:277
AWSStreamFwd.h
Aws::SES::Model::BulkEmailDestinationStatus::SetError
void SetError(Aws::String &&value)
Definition: BulkEmailDestinationStatus.h:259
Aws::SES::Model::BulkEmailDestinationStatus::WithError
BulkEmailDestinationStatus & WithError(const char *value)
Definition: BulkEmailDestinationStatus.h:283
Aws::SES::Model::BulkEmailDestinationStatus
Definition: BulkEmailDestinationStatus.h:34
Aws::SES::Model::BulkEmailDestinationStatus::SetStatus
void SetStatus(const BulkEmailStatus &value)
Definition: BulkEmailDestinationStatus.h:138
Aws::SES::Model::BulkEmailDestinationStatus::WithStatus
BulkEmailDestinationStatus & WithStatus(const BulkEmailStatus &value)
Definition: BulkEmailDestinationStatus.h:202
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SES::Model::BulkEmailDestinationStatus::SetStatus
void SetStatus(BulkEmailStatus &&value)
Definition: BulkEmailDestinationStatus.h:170
Aws::SES::Model::BulkEmailDestinationStatus::SetMessageId
void SetMessageId(const char *value)
Definition: BulkEmailDestinationStatus.h:314
Aws::SES::Model::BulkEmailDestinationStatus::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: BulkEmailDestinationStatus.h:106
Aws::SES::Model::BulkEmailDestinationStatus::MessageIdHasBeenSet
bool MessageIdHasBeenSet() const
Definition: BulkEmailDestinationStatus.h:296
Aws::SES::Model::BulkEmailDestinationStatus::WithMessageId
BulkEmailDestinationStatus & WithMessageId(const Aws::String &value)
Definition: BulkEmailDestinationStatus.h:320
Aws::SES::Model::BulkEmailDestinationStatus::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::BulkEmailDestinationStatus::WithMessageId
BulkEmailDestinationStatus & WithMessageId(Aws::String &&value)
Definition: BulkEmailDestinationStatus.h:326
Aws::SES::Model::BulkEmailDestinationStatus::BulkEmailDestinationStatus
BulkEmailDestinationStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSString.h
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::BulkEmailDestinationStatus::SetMessageId
void SetMessageId(const Aws::String &value)
Definition: BulkEmailDestinationStatus.h:302
Aws::SES::Model::BulkEmailDestinationStatus::SetMessageId
void SetMessageId(Aws::String &&value)
Definition: BulkEmailDestinationStatus.h:308
Aws::SES::Model::BulkEmailDestinationStatus::GetMessageId
const Aws::String & GetMessageId() const
Definition: BulkEmailDestinationStatus.h:290
Aws::SES::Model::BulkEmailDestinationStatus::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::BulkEmailDestinationStatus::SetError
void SetError(const char *value)
Definition: BulkEmailDestinationStatus.h:265
Aws::SES::Model::BulkEmailDestinationStatus::BulkEmailDestinationStatus
BulkEmailDestinationStatus()
Aws::SES::Model::BulkEmailDestinationStatus::WithMessageId
BulkEmailDestinationStatus & WithMessageId(const char *value)
Definition: BulkEmailDestinationStatus.h:332
BulkEmailStatus.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:171
Aws::SES::Model::BulkEmailDestinationStatus::GetStatus
const BulkEmailStatus & GetStatus() const
Definition: BulkEmailDestinationStatus.h:74
Aws::SES::Model::BulkEmailDestinationStatus::WithStatus
BulkEmailDestinationStatus & WithStatus(BulkEmailStatus &&value)
Definition: BulkEmailDestinationStatus.h:234
Aws::SES::Model::BulkEmailStatus
BulkEmailStatus
Definition: BulkEmailStatus.h:17
Aws::SES::Model::BulkEmailDestinationStatus::operator=
BulkEmailDestinationStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SES::Model::BulkEmailDestinationStatus::GetError
const Aws::String & GetError() const
Definition: BulkEmailDestinationStatus.h:241
Aws::SES::Model::BulkEmailDestinationStatus::WithError
BulkEmailDestinationStatus & WithError(const Aws::String &value)
Definition: BulkEmailDestinationStatus.h:271