AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetArchiveMessageResult.h
1
6#pragma once
7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/mailmanager/model/Envelope.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mailmanager/model/Metadata.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace MailManager
26{
27namespace Model
28{
36 {
37 public:
38 AWS_MAILMANAGER_API GetArchiveMessageResult();
41
42
44
47 inline const Envelope& GetEnvelope() const{ return m_envelope; }
48 inline void SetEnvelope(const Envelope& value) { m_envelope = value; }
49 inline void SetEnvelope(Envelope&& value) { m_envelope = std::move(value); }
50 inline GetArchiveMessageResult& WithEnvelope(const Envelope& value) { SetEnvelope(value); return *this;}
51 inline GetArchiveMessageResult& WithEnvelope(Envelope&& value) { SetEnvelope(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetMessageDownloadLink() const{ return m_messageDownloadLink; }
59 inline void SetMessageDownloadLink(const Aws::String& value) { m_messageDownloadLink = value; }
60 inline void SetMessageDownloadLink(Aws::String&& value) { m_messageDownloadLink = std::move(value); }
61 inline void SetMessageDownloadLink(const char* value) { m_messageDownloadLink.assign(value); }
63 inline GetArchiveMessageResult& WithMessageDownloadLink(Aws::String&& value) { SetMessageDownloadLink(std::move(value)); return *this;}
64 inline GetArchiveMessageResult& WithMessageDownloadLink(const char* value) { SetMessageDownloadLink(value); return *this;}
66
68
71 inline const Metadata& GetMetadata() const{ return m_metadata; }
72 inline void SetMetadata(const Metadata& value) { m_metadata = value; }
73 inline void SetMetadata(Metadata&& value) { m_metadata = std::move(value); }
74 inline GetArchiveMessageResult& WithMetadata(const Metadata& value) { SetMetadata(value); return *this;}
75 inline GetArchiveMessageResult& WithMetadata(Metadata&& value) { SetMetadata(std::move(value)); return *this;}
77
79
80 inline const Aws::String& GetRequestId() const{ return m_requestId; }
81 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
82 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
83 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
84 inline GetArchiveMessageResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
85 inline GetArchiveMessageResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
86 inline GetArchiveMessageResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
88 private:
89
90 Envelope m_envelope;
91
92 Aws::String m_messageDownloadLink;
93
94 Metadata m_metadata;
95
96 Aws::String m_requestId;
97 };
98
99} // namespace Model
100} // namespace MailManager
101} // namespace Aws
GetArchiveMessageResult & WithMessageDownloadLink(const char *value)
GetArchiveMessageResult & WithMessageDownloadLink(const Aws::String &value)
AWS_MAILMANAGER_API GetArchiveMessageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetArchiveMessageResult & WithMetadata(Metadata &&value)
GetArchiveMessageResult & WithRequestId(const char *value)
GetArchiveMessageResult & WithMessageDownloadLink(Aws::String &&value)
GetArchiveMessageResult & WithRequestId(Aws::String &&value)
GetArchiveMessageResult & WithEnvelope(const Envelope &value)
AWS_MAILMANAGER_API GetArchiveMessageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetArchiveMessageResult & WithEnvelope(Envelope &&value)
GetArchiveMessageResult & WithRequestId(const Aws::String &value)
GetArchiveMessageResult & WithMetadata(const Metadata &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue