AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetArchiveMessageResult.h
1
6#pragma once
7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mailmanager/model/Metadata.h>
10#include <aws/mailmanager/model/Envelope.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() = default;
41
42
44
47 inline const Aws::String& GetMessageDownloadLink() const { return m_messageDownloadLink; }
48 template<typename MessageDownloadLinkT = Aws::String>
49 void SetMessageDownloadLink(MessageDownloadLinkT&& value) { m_messageDownloadLinkHasBeenSet = true; m_messageDownloadLink = std::forward<MessageDownloadLinkT>(value); }
50 template<typename MessageDownloadLinkT = Aws::String>
51 GetArchiveMessageResult& WithMessageDownloadLink(MessageDownloadLinkT&& value) { SetMessageDownloadLink(std::forward<MessageDownloadLinkT>(value)); return *this;}
53
55
58 inline const Metadata& GetMetadata() const { return m_metadata; }
59 template<typename MetadataT = Metadata>
60 void SetMetadata(MetadataT&& value) { m_metadataHasBeenSet = true; m_metadata = std::forward<MetadataT>(value); }
61 template<typename MetadataT = Metadata>
62 GetArchiveMessageResult& WithMetadata(MetadataT&& value) { SetMetadata(std::forward<MetadataT>(value)); return *this;}
64
66
69 inline const Envelope& GetEnvelope() const { return m_envelope; }
70 template<typename EnvelopeT = Envelope>
71 void SetEnvelope(EnvelopeT&& value) { m_envelopeHasBeenSet = true; m_envelope = std::forward<EnvelopeT>(value); }
72 template<typename EnvelopeT = Envelope>
73 GetArchiveMessageResult& WithEnvelope(EnvelopeT&& value) { SetEnvelope(std::forward<EnvelopeT>(value)); return *this;}
75
77
78 inline const Aws::String& GetRequestId() const { return m_requestId; }
79 template<typename RequestIdT = Aws::String>
80 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
81 template<typename RequestIdT = Aws::String>
82 GetArchiveMessageResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
84 private:
85
86 Aws::String m_messageDownloadLink;
87 bool m_messageDownloadLinkHasBeenSet = false;
88
89 Metadata m_metadata;
90 bool m_metadataHasBeenSet = false;
91
92 Envelope m_envelope;
93 bool m_envelopeHasBeenSet = false;
94
95 Aws::String m_requestId;
96 bool m_requestIdHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace MailManager
101} // namespace Aws
GetArchiveMessageResult & WithEnvelope(EnvelopeT &&value)
AWS_MAILMANAGER_API GetArchiveMessageResult()=default
void SetMessageDownloadLink(MessageDownloadLinkT &&value)
AWS_MAILMANAGER_API GetArchiveMessageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetArchiveMessageResult & WithMessageDownloadLink(MessageDownloadLinkT &&value)
GetArchiveMessageResult & WithRequestId(RequestIdT &&value)
GetArchiveMessageResult & WithMetadata(MetadataT &&value)
AWS_MAILMANAGER_API GetArchiveMessageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue