AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SendEmailResult.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace SESV2
24{
25namespace Model
26{
34 {
35 public:
36 AWS_SESV2_API SendEmailResult();
39
40
42
49 inline const Aws::String& GetMessageId() const{ return m_messageId; }
50 inline void SetMessageId(const Aws::String& value) { m_messageId = value; }
51 inline void SetMessageId(Aws::String&& value) { m_messageId = std::move(value); }
52 inline void SetMessageId(const char* value) { m_messageId.assign(value); }
53 inline SendEmailResult& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
54 inline SendEmailResult& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;}
55 inline SendEmailResult& WithMessageId(const char* value) { SetMessageId(value); return *this;}
57
59
60 inline const Aws::String& GetRequestId() const{ return m_requestId; }
61 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
62 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
63 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
64 inline SendEmailResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
65 inline SendEmailResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
66 inline SendEmailResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
68 private:
69
70 Aws::String m_messageId;
71
72 Aws::String m_requestId;
73 };
74
75} // namespace Model
76} // namespace SESV2
77} // namespace Aws
SendEmailResult & WithRequestId(Aws::String &&value)
SendEmailResult & WithMessageId(Aws::String &&value)
const Aws::String & GetRequestId() const
void SetRequestId(Aws::String &&value)
void SetMessageId(const char *value)
SendEmailResult & WithMessageId(const Aws::String &value)
const Aws::String & GetMessageId() const
void SetMessageId(const Aws::String &value)
AWS_SESV2_API SendEmailResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SendEmailResult & WithRequestId(const Aws::String &value)
SendEmailResult & WithMessageId(const char *value)
AWS_SESV2_API SendEmailResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SendEmailResult & WithRequestId(const char *value)
void SetRequestId(const char *value)
void SetMessageId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue