AWS SDK for C++  1.9.155
AWS SDK for C++
BulkEmailEntryResult.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 
34  {
35  public:
40 
41 
71  inline const BulkEmailStatus& GetStatus() const{ return m_status; }
72 
102  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
103 
133  inline void SetStatus(const BulkEmailStatus& value) { m_statusHasBeenSet = true; m_status = value; }
134 
164  inline void SetStatus(BulkEmailStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
165 
195  inline BulkEmailEntryResult& WithStatus(const BulkEmailStatus& value) { SetStatus(value); return *this;}
196 
226  inline BulkEmailEntryResult& WithStatus(BulkEmailStatus&& value) { SetStatus(std::move(value)); return *this;}
227 
228 
233  inline const Aws::String& GetError() const{ return m_error; }
234 
239  inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
240 
245  inline void SetError(const Aws::String& value) { m_errorHasBeenSet = true; m_error = value; }
246 
251  inline void SetError(Aws::String&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
252 
257  inline void SetError(const char* value) { m_errorHasBeenSet = true; m_error.assign(value); }
258 
263  inline BulkEmailEntryResult& WithError(const Aws::String& value) { SetError(value); return *this;}
264 
269  inline BulkEmailEntryResult& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;}
270 
275  inline BulkEmailEntryResult& WithError(const char* value) { SetError(value); return *this;}
276 
277 
282  inline const Aws::String& GetMessageId() const{ return m_messageId; }
283 
288  inline bool MessageIdHasBeenSet() const { return m_messageIdHasBeenSet; }
289 
294  inline void SetMessageId(const Aws::String& value) { m_messageIdHasBeenSet = true; m_messageId = value; }
295 
300  inline void SetMessageId(Aws::String&& value) { m_messageIdHasBeenSet = true; m_messageId = std::move(value); }
301 
306  inline void SetMessageId(const char* value) { m_messageIdHasBeenSet = true; m_messageId.assign(value); }
307 
312  inline BulkEmailEntryResult& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
313 
318  inline BulkEmailEntryResult& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;}
319 
324  inline BulkEmailEntryResult& WithMessageId(const char* value) { SetMessageId(value); return *this;}
325 
326  private:
327 
328  BulkEmailStatus m_status;
329  bool m_statusHasBeenSet;
330 
331  Aws::String m_error;
332  bool m_errorHasBeenSet;
333 
334  Aws::String m_messageId;
335  bool m_messageIdHasBeenSet;
336  };
337 
338 } // namespace Model
339 } // namespace SESV2
340 } // namespace Aws
Aws::SESV2::Model::BulkEmailEntryResult::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: BulkEmailEntryResult.h:102
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::BulkEmailEntryResult::BulkEmailEntryResult
BulkEmailEntryResult()
Aws::SESV2::Model::BulkEmailEntryResult::WithStatus
BulkEmailEntryResult & WithStatus(const BulkEmailStatus &value)
Definition: BulkEmailEntryResult.h:195
Aws::SESV2::Model::BulkEmailEntryResult::WithError
BulkEmailEntryResult & WithError(Aws::String &&value)
Definition: BulkEmailEntryResult.h:269
Aws::SESV2::Model::BulkEmailEntryResult::MessageIdHasBeenSet
bool MessageIdHasBeenSet() const
Definition: BulkEmailEntryResult.h:288
Aws::SESV2::Model::BulkEmailEntryResult::SetError
void SetError(const char *value)
Definition: BulkEmailEntryResult.h:257
Aws::SESV2::Model::BulkEmailEntryResult::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SESV2::Model::BulkEmailEntryResult::GetStatus
const BulkEmailStatus & GetStatus() const
Definition: BulkEmailEntryResult.h:71
Aws::SESV2::Model::BulkEmailEntryResult::operator=
BulkEmailEntryResult & operator=(Aws::Utils::Json::JsonView jsonValue)
BulkEmailStatus.h
Aws::SESV2::Model::BulkEmailEntryResult::SetError
void SetError(const Aws::String &value)
Definition: BulkEmailEntryResult.h:245
Aws::SESV2::Model::BulkEmailEntryResult::BulkEmailEntryResult
BulkEmailEntryResult(Aws::Utils::Json::JsonView jsonValue)
Aws::SESV2::Model::BulkEmailEntryResult::WithMessageId
BulkEmailEntryResult & WithMessageId(const Aws::String &value)
Definition: BulkEmailEntryResult.h:312
Aws::SESV2::Model::BulkEmailEntryResult::SetError
void SetError(Aws::String &&value)
Definition: BulkEmailEntryResult.h:251
Aws::SESV2::Model::BulkEmailEntryResult::WithMessageId
BulkEmailEntryResult & WithMessageId(const char *value)
Definition: BulkEmailEntryResult.h:324
Aws::SESV2::Model::BulkEmailEntryResult::WithMessageId
BulkEmailEntryResult & WithMessageId(Aws::String &&value)
Definition: BulkEmailEntryResult.h:318
Aws::SESV2::Model::BulkEmailEntryResult::GetMessageId
const Aws::String & GetMessageId() const
Definition: BulkEmailEntryResult.h:282
Aws::SESV2::Model::BulkEmailEntryResult::SetMessageId
void SetMessageId(Aws::String &&value)
Definition: BulkEmailEntryResult.h:300
Aws::SESV2::Model::BulkEmailEntryResult::SetStatus
void SetStatus(BulkEmailStatus &&value)
Definition: BulkEmailEntryResult.h:164
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SESV2::Model::BulkEmailEntryResult::SetStatus
void SetStatus(const BulkEmailStatus &value)
Definition: BulkEmailEntryResult.h:133
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SESV2::Model::BulkEmailEntryResult::WithError
BulkEmailEntryResult & WithError(const Aws::String &value)
Definition: BulkEmailEntryResult.h:263
Aws::SESV2::Model::BulkEmailEntryResult::WithStatus
BulkEmailEntryResult & WithStatus(BulkEmailStatus &&value)
Definition: BulkEmailEntryResult.h:226
Aws::SESV2::Model::BulkEmailEntryResult::SetMessageId
void SetMessageId(const Aws::String &value)
Definition: BulkEmailEntryResult.h:294
Aws::SESV2::Model::BulkEmailEntryResult::GetError
const Aws::String & GetError() const
Definition: BulkEmailEntryResult.h:233
SESV2_EXPORTS.h
Aws::SESV2::Model::BulkEmailEntryResult::SetMessageId
void SetMessageId(const char *value)
Definition: BulkEmailEntryResult.h:306
Aws::SESV2::Model::BulkEmailEntryResult::ErrorHasBeenSet
bool ErrorHasBeenSet() const
Definition: BulkEmailEntryResult.h:239
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SESV2::Model::BulkEmailEntryResult
Definition: BulkEmailEntryResult.h:34
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::BulkEmailEntryResult::WithError
BulkEmailEntryResult & WithError(const char *value)
Definition: BulkEmailEntryResult.h:275
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::BulkEmailStatus
BulkEmailStatus
Definition: BulkEmailStatus.h:17