AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AttachmentDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/support/Support_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Support {
20namespace Model {
21
30 public:
31 AWS_SUPPORT_API AttachmentDetails() = default;
34 AWS_SUPPORT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetAttachmentId() const { return m_attachmentId; }
41 inline bool AttachmentIdHasBeenSet() const { return m_attachmentIdHasBeenSet; }
42 template <typename AttachmentIdT = Aws::String>
43 void SetAttachmentId(AttachmentIdT&& value) {
44 m_attachmentIdHasBeenSet = true;
45 m_attachmentId = std::forward<AttachmentIdT>(value);
46 }
47 template <typename AttachmentIdT = Aws::String>
48 AttachmentDetails& WithAttachmentId(AttachmentIdT&& value) {
49 SetAttachmentId(std::forward<AttachmentIdT>(value));
50 return *this;
51 }
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) {
62 m_fileNameHasBeenSet = true;
63 m_fileName = std::forward<FileNameT>(value);
64 }
65 template <typename FileNameT = Aws::String>
66 AttachmentDetails& WithFileName(FileNameT&& value) {
67 SetFileName(std::forward<FileNameT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_attachmentId;
73
74 Aws::String m_fileName;
75 bool m_attachmentIdHasBeenSet = false;
76 bool m_fileNameHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Support
81} // 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