AWS SDK for C++  1.9.155
AWS SDK for C++
SendEmailResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace SESV2
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
48  inline const Aws::String& GetMessageId() const{ return m_messageId; }
49 
57  inline void SetMessageId(const Aws::String& value) { m_messageId = value; }
58 
66  inline void SetMessageId(Aws::String&& value) { m_messageId = std::move(value); }
67 
75  inline void SetMessageId(const char* value) { m_messageId.assign(value); }
76 
84  inline SendEmailResult& WithMessageId(const Aws::String& value) { SetMessageId(value); return *this;}
85 
93  inline SendEmailResult& WithMessageId(Aws::String&& value) { SetMessageId(std::move(value)); return *this;}
94 
102  inline SendEmailResult& WithMessageId(const char* value) { SetMessageId(value); return *this;}
103 
104  private:
105 
106  Aws::String m_messageId;
107  };
108 
109 } // namespace Model
110 } // namespace SESV2
111 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::SendEmailResult::GetMessageId
const Aws::String & GetMessageId() const
Definition: SendEmailResult.h:48
Aws::SESV2::Model::SendEmailResult::WithMessageId
SendEmailResult & WithMessageId(const char *value)
Definition: SendEmailResult.h:102
Aws::SESV2::Model::SendEmailResult::operator=
SendEmailResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SESV2::Model::SendEmailResult::SendEmailResult
SendEmailResult()
Aws::SESV2::Model::SendEmailResult::WithMessageId
SendEmailResult & WithMessageId(Aws::String &&value)
Definition: SendEmailResult.h:93
Aws::SESV2::Model::SendEmailResult::SetMessageId
void SetMessageId(const Aws::String &value)
Definition: SendEmailResult.h:57
Aws::SESV2::Model::SendEmailResult::WithMessageId
SendEmailResult & WithMessageId(const Aws::String &value)
Definition: SendEmailResult.h:84
AWSString.h
SESV2_EXPORTS.h
Aws::SESV2::Model::SendEmailResult::SetMessageId
void SetMessageId(const char *value)
Definition: SendEmailResult.h:75
Aws::SESV2::Model::SendEmailResult::SendEmailResult
SendEmailResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SESV2::Model::SendEmailResult
Definition: SendEmailResult.h:34
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::SendEmailResult::SetMessageId
void SetMessageId(Aws::String &&value)
Definition: SendEmailResult.h:66