AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
50 inline const Attachment& GetAttachment() const{ return m_attachment; }
51 inline void SetAttachment(const Attachment& value) { m_attachment = value; }
52 inline void SetAttachment(Attachment&& value) { m_attachment = std::move(value); }
53 inline DescribeAttachmentResult& WithAttachment(const Attachment& value) { SetAttachment(value); return *this;}
54 inline DescribeAttachmentResult& WithAttachment(Attachment&& value) { SetAttachment(std::move(value)); return *this;}
56
58
59 inline const Aws::String& GetRequestId() const{ return m_requestId; }
60 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
61 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
62 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
63 inline DescribeAttachmentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
64 inline DescribeAttachmentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
65 inline DescribeAttachmentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
67 private:
68
69 Attachment m_attachment;
70
71 Aws::String m_requestId;
72 };
73
74} // namespace Model
75} // namespace Support
76} // namespace Aws
DescribeAttachmentResult & WithRequestId(const Aws::String &value)
DescribeAttachmentResult & WithRequestId(Aws::String &&value)
AWS_SUPPORT_API DescribeAttachmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAttachmentResult & WithAttachment(const Attachment &value)
DescribeAttachmentResult & WithAttachment(Attachment &&value)
AWS_SUPPORT_API DescribeAttachmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAttachmentResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue