AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
DescribeAttachmentResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/support/Support_EXPORTS.h>
10#include <aws/support/model/Attachment.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Support {
24namespace Model {
32 public:
33 AWS_SUPPORT_API DescribeAttachmentResult() = default;
36
38
45 inline const Attachment& GetAttachment() const { return m_attachment; }
46 template <typename AttachmentT = Attachment>
47 void SetAttachment(AttachmentT&& value) {
48 m_attachmentHasBeenSet = true;
49 m_attachment = std::forward<AttachmentT>(value);
50 }
51 template <typename AttachmentT = Attachment>
53 SetAttachment(std::forward<AttachmentT>(value));
54 return *this;
55 }
57
59
60 inline const Aws::String& GetRequestId() const { return m_requestId; }
61 template <typename RequestIdT = Aws::String>
62 void SetRequestId(RequestIdT&& value) {
63 m_requestIdHasBeenSet = true;
64 m_requestId = std::forward<RequestIdT>(value);
65 }
66 template <typename RequestIdT = Aws::String>
68 SetRequestId(std::forward<RequestIdT>(value));
69 return *this;
70 }
72 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
73
74 private:
75 Attachment m_attachment;
76
77 Aws::String m_requestId;
78 Aws::Http::HttpResponseCode m_HttpResponseCode;
79 bool m_attachmentHasBeenSet = false;
80 bool m_requestIdHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace Support
85} // namespace Aws
DescribeAttachmentResult & WithAttachment(AttachmentT &&value)
AWS_SUPPORT_API DescribeAttachmentResult()=default
AWS_SUPPORT_API DescribeAttachmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_SUPPORT_API DescribeAttachmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAttachmentResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue