AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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