AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetAttachmentResult.h
1
6#pragma once
7#include <aws/connectparticipant/ConnectParticipant_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 ConnectParticipant
24{
25namespace Model
26{
28 {
29 public:
30 AWS_CONNECTPARTICIPANT_API GetAttachmentResult() = default;
33
34
36
41 inline const Aws::String& GetUrl() const { return m_url; }
42 template<typename UrlT = Aws::String>
43 void SetUrl(UrlT&& value) { m_urlHasBeenSet = true; m_url = std::forward<UrlT>(value); }
44 template<typename UrlT = Aws::String>
45 GetAttachmentResult& WithUrl(UrlT&& value) { SetUrl(std::forward<UrlT>(value)); return *this;}
47
49
53 inline const Aws::String& GetUrlExpiry() const { return m_urlExpiry; }
54 template<typename UrlExpiryT = Aws::String>
55 void SetUrlExpiry(UrlExpiryT&& value) { m_urlExpiryHasBeenSet = true; m_urlExpiry = std::forward<UrlExpiryT>(value); }
56 template<typename UrlExpiryT = Aws::String>
57 GetAttachmentResult& WithUrlExpiry(UrlExpiryT&& value) { SetUrlExpiry(std::forward<UrlExpiryT>(value)); return *this;}
59
61
64 inline long long GetAttachmentSizeInBytes() const { return m_attachmentSizeInBytes; }
65 inline void SetAttachmentSizeInBytes(long long value) { m_attachmentSizeInBytesHasBeenSet = true; m_attachmentSizeInBytes = value; }
66 inline GetAttachmentResult& WithAttachmentSizeInBytes(long long value) { SetAttachmentSizeInBytes(value); return *this;}
68
70
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template<typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
74 template<typename RequestIdT = Aws::String>
75 GetAttachmentResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
77 private:
78
79 Aws::String m_url;
80 bool m_urlHasBeenSet = false;
81
82 Aws::String m_urlExpiry;
83 bool m_urlExpiryHasBeenSet = false;
84
85 long long m_attachmentSizeInBytes{0};
86 bool m_attachmentSizeInBytesHasBeenSet = false;
87
88 Aws::String m_requestId;
89 bool m_requestIdHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace ConnectParticipant
94} // namespace Aws
AWS_CONNECTPARTICIPANT_API GetAttachmentResult()=default
AWS_CONNECTPARTICIPANT_API GetAttachmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAttachmentResult & WithRequestId(RequestIdT &&value)
GetAttachmentResult & WithAttachmentSizeInBytes(long long value)
AWS_CONNECTPARTICIPANT_API GetAttachmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAttachmentResult & WithUrlExpiry(UrlExpiryT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue