AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AttachmentDetails.h
1
6#pragma once
7#include <aws/support/Support_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Support
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_SUPPORT_API AttachmentDetails() = default;
39 AWS_SUPPORT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAttachmentId() const { return m_attachmentId; }
47 inline bool AttachmentIdHasBeenSet() const { return m_attachmentIdHasBeenSet; }
48 template<typename AttachmentIdT = Aws::String>
49 void SetAttachmentId(AttachmentIdT&& value) { m_attachmentIdHasBeenSet = true; m_attachmentId = std::forward<AttachmentIdT>(value); }
50 template<typename AttachmentIdT = Aws::String>
51 AttachmentDetails& WithAttachmentId(AttachmentIdT&& value) { SetAttachmentId(std::forward<AttachmentIdT>(value)); return *this;}
53
55
58 inline const Aws::String& GetFileName() const { return m_fileName; }
59 inline bool FileNameHasBeenSet() const { return m_fileNameHasBeenSet; }
60 template<typename FileNameT = Aws::String>
61 void SetFileName(FileNameT&& value) { m_fileNameHasBeenSet = true; m_fileName = std::forward<FileNameT>(value); }
62 template<typename FileNameT = Aws::String>
63 AttachmentDetails& WithFileName(FileNameT&& value) { SetFileName(std::forward<FileNameT>(value)); return *this;}
65 private:
66
67 Aws::String m_attachmentId;
68 bool m_attachmentIdHasBeenSet = false;
69
70 Aws::String m_fileName;
71 bool m_fileNameHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Support
76} // namespace Aws
const Aws::String & GetFileName() const
AttachmentDetails & WithFileName(FileNameT &&value)
void SetAttachmentId(AttachmentIdT &&value)
AWS_SUPPORT_API AttachmentDetails()=default
AWS_SUPPORT_API AttachmentDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SUPPORT_API Aws::Utils::Json::JsonValue Jsonize() const
AttachmentDetails & WithAttachmentId(AttachmentIdT &&value)
const Aws::String & GetAttachmentId() const
AWS_SUPPORT_API AttachmentDetails(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue