AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
33
34
36
41 inline const Aws::String& GetUrl() const{ return m_url; }
42 inline void SetUrl(const Aws::String& value) { m_url = value; }
43 inline void SetUrl(Aws::String&& value) { m_url = std::move(value); }
44 inline void SetUrl(const char* value) { m_url.assign(value); }
45 inline GetAttachmentResult& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
46 inline GetAttachmentResult& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
47 inline GetAttachmentResult& WithUrl(const char* value) { SetUrl(value); return *this;}
49
51
55 inline const Aws::String& GetUrlExpiry() const{ return m_urlExpiry; }
56 inline void SetUrlExpiry(const Aws::String& value) { m_urlExpiry = value; }
57 inline void SetUrlExpiry(Aws::String&& value) { m_urlExpiry = std::move(value); }
58 inline void SetUrlExpiry(const char* value) { m_urlExpiry.assign(value); }
59 inline GetAttachmentResult& WithUrlExpiry(const Aws::String& value) { SetUrlExpiry(value); return *this;}
60 inline GetAttachmentResult& WithUrlExpiry(Aws::String&& value) { SetUrlExpiry(std::move(value)); return *this;}
61 inline GetAttachmentResult& WithUrlExpiry(const char* value) { SetUrlExpiry(value); return *this;}
63
65
66 inline const Aws::String& GetRequestId() const{ return m_requestId; }
67 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
68 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
69 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
70 inline GetAttachmentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline GetAttachmentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline GetAttachmentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
76 Aws::String m_url;
77
78 Aws::String m_urlExpiry;
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace ConnectParticipant
85} // namespace Aws
GetAttachmentResult & WithUrlExpiry(Aws::String &&value)
AWS_CONNECTPARTICIPANT_API GetAttachmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CONNECTPARTICIPANT_API GetAttachmentResult()
AWS_CONNECTPARTICIPANT_API GetAttachmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAttachmentResult & WithRequestId(Aws::String &&value)
GetAttachmentResult & WithUrlExpiry(const char *value)
GetAttachmentResult & WithUrl(Aws::String &&value)
GetAttachmentResult & WithUrl(const Aws::String &value)
GetAttachmentResult & WithUrl(const char *value)
GetAttachmentResult & WithRequestId(const Aws::String &value)
GetAttachmentResult & WithRequestId(const char *value)
GetAttachmentResult & WithUrlExpiry(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue