AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetWhatsAppMessageMediaResult.h
1
6#pragma once
7#include <aws/socialmessaging/SocialMessaging_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 SocialMessaging
24{
25namespace Model
26{
28 {
29 public:
30 AWS_SOCIALMESSAGING_API GetWhatsAppMessageMediaResult();
33
34
36
39 inline const Aws::String& GetMimeType() const{ return m_mimeType; }
40 inline void SetMimeType(const Aws::String& value) { m_mimeType = value; }
41 inline void SetMimeType(Aws::String&& value) { m_mimeType = std::move(value); }
42 inline void SetMimeType(const char* value) { m_mimeType.assign(value); }
43 inline GetWhatsAppMessageMediaResult& WithMimeType(const Aws::String& value) { SetMimeType(value); return *this;}
44 inline GetWhatsAppMessageMediaResult& WithMimeType(Aws::String&& value) { SetMimeType(std::move(value)); return *this;}
45 inline GetWhatsAppMessageMediaResult& WithMimeType(const char* value) { SetMimeType(value); return *this;}
47
49
52 inline long long GetFileSize() const{ return m_fileSize; }
53 inline void SetFileSize(long long value) { m_fileSize = value; }
54 inline GetWhatsAppMessageMediaResult& WithFileSize(long long value) { SetFileSize(value); return *this;}
56
58
59 inline const Aws::String& GetRequestId() const{ return m_requestId; }
60 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
61 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
62 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
63 inline GetWhatsAppMessageMediaResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
64 inline GetWhatsAppMessageMediaResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
65 inline GetWhatsAppMessageMediaResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
67 private:
68
69 Aws::String m_mimeType;
70
71 long long m_fileSize;
72
73 Aws::String m_requestId;
74 };
75
76} // namespace Model
77} // namespace SocialMessaging
78} // namespace Aws
GetWhatsAppMessageMediaResult & WithRequestId(const Aws::String &value)
GetWhatsAppMessageMediaResult & WithMimeType(Aws::String &&value)
GetWhatsAppMessageMediaResult & WithRequestId(const char *value)
GetWhatsAppMessageMediaResult & WithRequestId(Aws::String &&value)
AWS_SOCIALMESSAGING_API GetWhatsAppMessageMediaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWhatsAppMessageMediaResult & WithFileSize(long long value)
AWS_SOCIALMESSAGING_API GetWhatsAppMessageMediaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWhatsAppMessageMediaResult & WithMimeType(const char *value)
GetWhatsAppMessageMediaResult & WithMimeType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue