AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BulkEmailEntryResult.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/sesv2/model/BulkEmailStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SESV2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SESV2_API BulkEmailEntryResult();
39 AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
72 inline const BulkEmailStatus& GetStatus() const{ return m_status; }
73 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
74 inline void SetStatus(const BulkEmailStatus& value) { m_statusHasBeenSet = true; m_status = value; }
75 inline void SetStatus(BulkEmailStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
76 inline BulkEmailEntryResult& WithStatus(const BulkEmailStatus& value) { SetStatus(value); return *this;}
77 inline BulkEmailEntryResult& WithStatus(BulkEmailStatus&& value) { SetStatus(std::move(value)); return *this;}
79
81
85 inline const Aws::String& GetError() const{ return m_error; }
86 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
87 inline void SetError(const Aws::String& value) { m_errorHasBeenSet = true; m_error = value; }
88 inline void SetError(Aws::String&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
89 inline void SetError(const char* value) { m_errorHasBeenSet = true; m_error.assign(value); }
90 inline BulkEmailEntryResult& WithError(const Aws::String& value) { SetError(value); return *this;}
91 inline BulkEmailEntryResult& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;}
92 inline BulkEmailEntryResult& WithError(const char* value) { SetError(value); return *this;}
94
96
100 inline const Aws::String& GetMessageId() const{ return m_messageId; }
101 inline bool MessageIdHasBeenSet() const { return m_messageIdHasBeenSet; }
102 inline void SetMessageId(const Aws::String& value) { m_messageIdHasBeenSet = true; m_messageId = value; }
103 inline void SetMessageId(Aws::String&& value) { m_messageIdHasBeenSet = true; m_messageId = std::move(value); }
104 inline void SetMessageId(const char* value) { m_messageIdHasBeenSet = true; m_messageId.assign(value); }
105 inline BulkEmailEntryResult& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
106 inline BulkEmailEntryResult& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;}
107 inline BulkEmailEntryResult& WithMessageId(const char* value) { SetMessageId(value); return *this;}
109 private:
110
111 BulkEmailStatus m_status;
112 bool m_statusHasBeenSet = false;
113
114 Aws::String m_error;
115 bool m_errorHasBeenSet = false;
116
117 Aws::String m_messageId;
118 bool m_messageIdHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace SESV2
123} // namespace Aws
BulkEmailEntryResult & WithMessageId(Aws::String &&value)
BulkEmailEntryResult & WithMessageId(const char *value)
AWS_SESV2_API BulkEmailEntryResult()
const BulkEmailStatus & GetStatus() const
AWS_SESV2_API BulkEmailEntryResult(Aws::Utils::Json::JsonView jsonValue)
AWS_SESV2_API BulkEmailEntryResult & operator=(Aws::Utils::Json::JsonView jsonValue)
BulkEmailEntryResult & WithStatus(BulkEmailStatus &&value)
void SetError(const Aws::String &value)
void SetMessageId(Aws::String &&value)
BulkEmailEntryResult & WithError(const char *value)
BulkEmailEntryResult & WithError(const Aws::String &value)
void SetError(Aws::String &&value)
void SetMessageId(const char *value)
AWS_SESV2_API Aws::Utils::Json::JsonValue Jsonize() const
BulkEmailEntryResult & WithMessageId(const Aws::String &value)
void SetMessageId(const Aws::String &value)
void SetStatus(const BulkEmailStatus &value)
BulkEmailEntryResult & WithStatus(const BulkEmailStatus &value)
const Aws::String & GetError() const
BulkEmailEntryResult & WithError(Aws::String &&value)
bool ErrorHasBeenSet() const
void SetStatus(BulkEmailStatus &&value)
bool StatusHasBeenSet() const
void SetError(const char *value)
bool MessageIdHasBeenSet() const
const Aws::String & GetMessageId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue