AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DescribeAttachmentResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/support/Support_EXPORTS.h>
9#include <aws/support/model/Attachment.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace Support {
23namespace Model {
31 public:
32 AWS_SUPPORT_API DescribeAttachmentResult() = default;
35
37
44 inline const Attachment& GetAttachment() const { return m_attachment; }
45 template <typename AttachmentT = Attachment>
46 void SetAttachment(AttachmentT&& value) {
47 m_attachmentHasBeenSet = true;
48 m_attachment = std::forward<AttachmentT>(value);
49 }
50 template <typename AttachmentT = Attachment>
52 SetAttachment(std::forward<AttachmentT>(value));
53 return *this;
54 }
56
58
59 inline const Aws::String& GetRequestId() const { return m_requestId; }
60 template <typename RequestIdT = Aws::String>
61 void SetRequestId(RequestIdT&& value) {
62 m_requestIdHasBeenSet = true;
63 m_requestId = std::forward<RequestIdT>(value);
64 }
65 template <typename RequestIdT = Aws::String>
67 SetRequestId(std::forward<RequestIdT>(value));
68 return *this;
69 }
71 private:
72 Attachment m_attachment;
73
74 Aws::String m_requestId;
75 bool m_attachmentHasBeenSet = false;
76 bool m_requestIdHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Support
81} // 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_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