AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BulkEmailDestinationStatus.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/BulkEmailStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace SES
23{
24namespace Model
25{
26
34 {
35 public:
39
40 AWS_SES_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_SES_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
75 inline const BulkEmailStatus& GetStatus() const{ return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 inline void SetStatus(const BulkEmailStatus& value) { m_statusHasBeenSet = true; m_status = value; }
78 inline void SetStatus(BulkEmailStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
79 inline BulkEmailDestinationStatus& WithStatus(const BulkEmailStatus& value) { SetStatus(value); return *this;}
80 inline BulkEmailDestinationStatus& WithStatus(BulkEmailStatus&& value) { SetStatus(std::move(value)); return *this;}
82
84
88 inline const Aws::String& GetError() const{ return m_error; }
89 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
90 inline void SetError(const Aws::String& value) { m_errorHasBeenSet = true; m_error = value; }
91 inline void SetError(Aws::String&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
92 inline void SetError(const char* value) { m_errorHasBeenSet = true; m_error.assign(value); }
93 inline BulkEmailDestinationStatus& WithError(const Aws::String& value) { SetError(value); return *this;}
94 inline BulkEmailDestinationStatus& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;}
95 inline BulkEmailDestinationStatus& WithError(const char* value) { SetError(value); return *this;}
97
99
103 inline const Aws::String& GetMessageId() const{ return m_messageId; }
104 inline bool MessageIdHasBeenSet() const { return m_messageIdHasBeenSet; }
105 inline void SetMessageId(const Aws::String& value) { m_messageIdHasBeenSet = true; m_messageId = value; }
106 inline void SetMessageId(Aws::String&& value) { m_messageIdHasBeenSet = true; m_messageId = std::move(value); }
107 inline void SetMessageId(const char* value) { m_messageIdHasBeenSet = true; m_messageId.assign(value); }
108 inline BulkEmailDestinationStatus& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
109 inline BulkEmailDestinationStatus& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;}
110 inline BulkEmailDestinationStatus& WithMessageId(const char* value) { SetMessageId(value); return *this;}
112 private:
113
114 BulkEmailStatus m_status;
115 bool m_statusHasBeenSet = false;
116
117 Aws::String m_error;
118 bool m_errorHasBeenSet = false;
119
120 Aws::String m_messageId;
121 bool m_messageIdHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace SES
126} // namespace Aws
BulkEmailDestinationStatus & WithMessageId(Aws::String &&value)
BulkEmailDestinationStatus & WithError(const char *value)
BulkEmailDestinationStatus & WithError(const Aws::String &value)
BulkEmailDestinationStatus & WithError(Aws::String &&value)
BulkEmailDestinationStatus & WithStatus(BulkEmailStatus &&value)
AWS_SES_API BulkEmailDestinationStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
BulkEmailDestinationStatus & WithMessageId(const Aws::String &value)
BulkEmailDestinationStatus & WithMessageId(const char *value)
AWS_SES_API BulkEmailDestinationStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SES_API void OutputToStream(Aws::OStream &oStream, const char *location) const
BulkEmailDestinationStatus & WithStatus(const BulkEmailStatus &value)
AWS_SES_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream